$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1425168000000,1.1419],[1425254400000,1.1419],[1425340800000,1.10024],[1425427200000,1.01376],[1425513600000,0.967025],[1425600000000,0.935259],[1425686400000,0.924248],[1425772800000,0.924248],[1425859200000,0.924248],[1425945600000,0.924248],[1426032000000,0.866206],[1426118400000,0.848215],[1426204800000,0.83537],[1426291200000,0.840242],[1426377600000,0.840242],[1426464000000,0.840242],[1426550400000,0.842601],[1426636800000,0.860042],[1426723200000,0.911457],[1426809600000,0.907056],[1426896000000,0.902848],[1426982400000,0.902848],[1427068800000,0.902848],[1427155200000,0.907832],[1427241600000,0.928315],[1427328000000,0.941765],[1427414400000,0.942933],[1427500800000,0.942462],[1427587200000,0.942462],[1427673600000,0.942462],[1427760000000,0.924656]], 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: [[1425168000000, 1.141905],[1425168000000, 1.141905],[1425254400000, 1.141905],[1425340800000, 1.100245],[1425427200000, 1.013757],[1425513600000, 0.967025],[1425600000000, 0.935259],[1425686400000, 0.924248],[1425772800000, 0.924248],[1425859200000, 0.924248],[1425945600000, 0.924248],[1426032000000, 0.866206],[1426118400000, 0.848215],[1426204800000, 0.835370],[1426291200000, 0.840242],[1426377600000, 0.840242],[1426464000000, 0.840242],[1426550400000, 0.842601],[1426636800000, 0.860042],[1426723200000, 0.911457],[1426809600000, 0.907056],[1426896000000, 0.902848],[1426982400000, 0.902848],[1427068800000, 0.902848],[1427155200000, 0.907832],[1427241600000, 0.928315],[1427328000000, 0.941765],[1427414400000, 0.942933],[1427500800000, 0.942462],[1427587200000, 0.942462],[1427673600000, 0.942462],[1427760000000, 0.924656]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });