$(document).ready(function () { chart = new Highcharts.StockChart({ chart: { renderTo: 'chart', type: 'line', animation: false, showAxes: true, height: 500 }, xAxis: { ordinal: false, type: 'datetime', showEmpty: true, gridLineWidth: 1, gridLineDashStyle: 'dot', ordinal: false }, yAxis: { title: {text: 'Курс DKK, грн'}, lineWidth: 3, gridLineWidth: 1, gridLineDashStyle: 'dash', ordinal: false }, plotOptions: { series: {connectNulls: true, shadow: false}, spline: {marker: {enabled: true}} }, tooltip: {valueDecimals: 8, xDateFormat: '%d %b %Y', shared: true}, series: [ { name: 'Курс DKK', data: [[1377993600000,1.41817],[1378080000000,1.41817],[1378166400000,1.41519],[1378252800000,1.41148],[1378339200000,1.41154],[1378425600000,1.41483],[1378512000000,1.40564],[1378598400000,1.40564],[1378684800000,1.40564],[1378771200000,1.41388],[1378857600000,1.41888],[1378944000000,1.42185],[1379030400000,1.42436],[1379116800000,1.42501],[1379203200000,1.42501],[1379289600000,1.42501],[1379376000000,1.43179],[1379462400000,1.43156],[1379548800000,1.431],[1379635200000,1.45172],[1379721600000,1.44858],[1379808000000,1.44858],[1379894400000,1.44858],[1379980800000,1.44778],[1380067200000,1.44412],[1380153600000,1.44733],[1380240000000,1.44679],[1380326400000,1.45094],[1380412800000,1.45094],[1380499200000,1.45094]], tooltip: {valueSuffix: ' грн'}, type: 'area', step: true, color: '#888888', fillColor: { linearGradient: {x1: 0, y1: 0, x2: 0, y2: 1}, stops: [[0, '#CCCCCC'], [1, 'rgba(50,50,50,0)']] }, threshold: null }, { name: 'Среднее за период', data: [[1377993600000, 1.418175],[1377993600000, 1.418175],[1378080000000, 1.418175],[1378166400000, 1.415194],[1378252800000, 1.411481],[1378339200000, 1.411544],[1378425600000, 1.414829],[1378512000000, 1.405644],[1378598400000, 1.405644],[1378684800000, 1.405644],[1378771200000, 1.413877],[1378857600000, 1.418882],[1378944000000, 1.421845],[1379030400000, 1.424355],[1379116800000, 1.425005],[1379203200000, 1.425005],[1379289600000, 1.425005],[1379376000000, 1.431785],[1379462400000, 1.431563],[1379548800000, 1.431000],[1379635200000, 1.451724],[1379721600000, 1.448576],[1379808000000, 1.448576],[1379894400000, 1.448576],[1379980800000, 1.447777],[1380067200000, 1.444123],[1380153600000, 1.447329],[1380240000000, 1.446793],[1380326400000, 1.450944],[1380412800000, 1.450944],[1380499200000, 1.450944]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });