$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1191196800000,5.9328],[1191283200000,5.93419],[1191369600000,5.93489],[1191456000000,5.93559],[1191542400000,5.93629],[1191628800000,5.93629],[1191715200000,5.93629],[1191801600000,5.93629],[1191888000000,5.93699],[1191974400000,5.93699],[1192060800000,5.93768],[1192147200000,5.93838],[1192233600000,5.93838],[1192320000000,5.93838],[1192406400000,5.93838],[1192492800000,5.93838],[1192579200000,5.93908],[1192665600000,5.93908],[1192752000000,5.94048],[1192838400000,5.94118],[1192924800000,5.94118],[1193011200000,5.94118],[1193097600000,5.94188],[1193184000000,5.94188],[1193270400000,5.94257],[1193356800000,5.94327],[1193443200000,5.94327],[1193529600000,5.94327],[1193616000000,5.94327],[1193702400000,5.94467],[1193788800000,5.94607]], 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: [[1191196800000, 5.932801],[1191196800000, 5.932801],[1191283200000, 5.934195],[1191369600000, 5.934892],[1191456000000, 5.935590],[1191542400000, 5.936288],[1191628800000, 5.936288],[1191715200000, 5.936288],[1191801600000, 5.936288],[1191888000000, 5.936986],[1191974400000, 5.936986],[1192060800000, 5.937684],[1192147200000, 5.938382],[1192233600000, 5.938382],[1192320000000, 5.938382],[1192406400000, 5.938382],[1192492800000, 5.938382],[1192579200000, 5.939080],[1192665600000, 5.939080],[1192752000000, 5.940478],[1192838400000, 5.941176],[1192924800000, 5.941176],[1193011200000, 5.941176],[1193097600000, 5.941876],[1193184000000, 5.941876],[1193270400000, 5.942575],[1193356800000, 5.943274],[1193443200000, 5.943274],[1193529600000, 5.943274],[1193616000000, 5.943274],[1193702400000, 5.944673],[1193788800000, 5.946073]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });