$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1367366400000,10.4484],[1367452800000,10.4484],[1367539200000,10.4484],[1367625600000,10.4484],[1367712000000,10.4484],[1367798400000,10.4484],[1367884800000,10.4484],[1367971200000,10.4764],[1368057600000,10.4988],[1368144000000,10.4988],[1368230400000,10.4988],[1368316800000,10.4988],[1368403200000,10.4988],[1368489600000,10.3693],[1368576000000,10.3725],[1368662400000,10.2822],[1368748800000,10.303],[1368835200000,10.2862],[1368921600000,10.2862],[1369008000000,10.2862],[1369094400000,10.2734],[1369180800000,10.2838],[1369267200000,10.3294],[1369353600000,10.3014],[1369440000000,10.3421],[1369526400000,10.3421],[1369612800000,10.3421],[1369699200000,10.3421],[1369785600000,10.3413],[1369872000000,10.3525],[1369958400000,10.3461]], 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: [[1367366400000, 10.448450],[1367366400000, 10.448450],[1367452800000, 10.448450],[1367539200000, 10.448450],[1367625600000, 10.448450],[1367712000000, 10.448450],[1367798400000, 10.448450],[1367884800000, 10.448450],[1367971200000, 10.476425],[1368057600000, 10.498805],[1368144000000, 10.498805],[1368230400000, 10.498805],[1368316800000, 10.498805],[1368403200000, 10.498805],[1368489600000, 10.369319],[1368576000000, 10.372516],[1368662400000, 10.282195],[1368748800000, 10.302977],[1368835200000, 10.286192],[1368921600000, 10.286192],[1369008000000, 10.286192],[1369094400000, 10.273403],[1369180800000, 10.283794],[1369267200000, 10.329354],[1369353600000, 10.301378],[1369440000000, 10.342143],[1369526400000, 10.342143],[1369612800000, 10.342143],[1369699200000, 10.342143],[1369785600000, 10.341343],[1369872000000, 10.352534],[1369958400000, 10.346139]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });