$(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: [[1162339200000,3.88363],[1162425600000,3.90915],[1162512000000,3.90487],[1162598400000,3.89895],[1162684800000,3.89895],[1162771200000,3.89895],[1162857600000,3.88593],[1162944000000,3.9038],[1163030400000,3.88644],[1163116800000,3.872],[1163203200000,3.87724],[1163289600000,3.87724],[1163376000000,3.87724],[1163462400000,3.85756],[1163548800000,3.86288],[1163635200000,3.86061],[1163721600000,3.87651],[1163808000000,3.86141],[1163894400000,3.86141],[1163980800000,3.86141],[1164067200000,3.88608],[1164153600000,3.88746],[1164240000000,3.90391],[1164326400000,3.91107],[1164412800000,3.92721],[1164499200000,3.92721],[1164585600000,3.92721],[1164672000000,3.93078],[1164758400000,3.93763],[1164844800000,3.95493]], 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: [[1162339200000, 3.883627],[1162339200000, 3.883627],[1162425600000, 3.909154],[1162512000000, 3.904873],[1162598400000, 3.898953],[1162684800000, 3.898953],[1162771200000, 3.898953],[1162857600000, 3.885933],[1162944000000, 3.903803],[1163030400000, 3.886441],[1163116800000, 3.872000],[1163203200000, 3.877243],[1163289600000, 3.877243],[1163376000000, 3.877243],[1163462400000, 3.857555],[1163548800000, 3.862881],[1163635200000, 3.860611],[1163721600000, 3.876511],[1163808000000, 3.861409],[1163894400000, 3.861409],[1163980800000, 3.861409],[1164067200000, 3.886082],[1164153600000, 3.887462],[1164240000000, 3.903911],[1164326400000, 3.911070],[1164412800000, 3.927211],[1164499200000, 3.927211],[1164585600000, 3.927211],[1164672000000, 3.930775],[1164758400000, 3.937628],[1164844800000, 3.954932]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });