$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1377993600000,7.13815],[1378080000000,7.13815],[1378166400000,7.19098],[1378252800000,7.21962],[1378339200000,7.32455],[1378425600000,7.30216],[1378512000000,7.32715],[1378598400000,7.32715],[1378684800000,7.32715],[1378771200000,7.35525],[1378857600000,7.42387],[1378944000000,7.42239],[1379030400000,7.39382],[1379116800000,7.38991],[1379203200000,7.38991],[1379289600000,7.38991],[1379376000000,7.49316],[1379462400000,7.47633],[1379548800000,7.47304],[1379635200000,7.5917],[1379721600000,7.52525],[1379808000000,7.52525],[1379894400000,7.52525],[1379980800000,7.54345],[1380067200000,7.50608],[1380153600000,7.48007],[1380240000000,7.49809],[1380326400000,7.4406],[1380412800000,7.4406],[1380499200000,7.4406]], 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, 7.138148],[1377993600000, 7.138148],[1378080000000, 7.138148],[1378166400000, 7.190978],[1378252800000, 7.219625],[1378339200000, 7.324553],[1378425600000, 7.302165],[1378512000000, 7.327149],[1378598400000, 7.327149],[1378684800000, 7.327149],[1378771200000, 7.355255],[1378857600000, 7.423874],[1378944000000, 7.422391],[1379030400000, 7.393817],[1379116800000, 7.389912],[1379203200000, 7.389912],[1379289600000, 7.389912],[1379376000000, 7.493157],[1379462400000, 7.476329],[1379548800000, 7.473044],[1379635200000, 7.591697],[1379721600000, 7.525247],[1379808000000, 7.525247],[1379894400000, 7.525247],[1379980800000, 7.543453],[1380067200000, 7.506077],[1380153600000, 7.480074],[1380240000000, 7.498089],[1380326400000, 7.440602],[1380412800000, 7.440602],[1380499200000, 7.440602]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });