$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1146441600000,0.848593],[1146528000000,0.848593],[1146614400000,0.848593],[1146700800000,0.854771],[1146787200000,0.852739],[1146873600000,0.859252],[1146960000000,0.859252],[1147046400000,0.859252],[1147132800000,0.859252],[1147219200000,0.859252],[1147305600000,0.865322],[1147392000000,0.861136],[1147478400000,0.874744],[1147564800000,0.874744],[1147651200000,0.874744],[1147737600000,0.868912],[1147824000000,0.868127],[1147910400000,0.872577],[1147996800000,0.865292],[1148083200000,0.864799],[1148169600000,0.864799],[1148256000000,0.864799],[1148342400000,0.863793],[1148428800000,0.869788],[1148515200000,0.870372],[1148601600000,0.863696],[1148688000000,0.866517],[1148774400000,0.866517],[1148860800000,0.866517],[1148947200000,0.863934],[1149033600000,0.869443]], 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: [[1146441600000, 0.848593],[1146441600000, 0.848593],[1146528000000, 0.848593],[1146614400000, 0.848593],[1146700800000, 0.854771],[1146787200000, 0.852739],[1146873600000, 0.859252],[1146960000000, 0.859252],[1147046400000, 0.859252],[1147132800000, 0.859252],[1147219200000, 0.859252],[1147305600000, 0.865322],[1147392000000, 0.861136],[1147478400000, 0.874744],[1147564800000, 0.874744],[1147651200000, 0.874744],[1147737600000, 0.868912],[1147824000000, 0.868127],[1147910400000, 0.872577],[1147996800000, 0.865292],[1148083200000, 0.864799],[1148169600000, 0.864799],[1148256000000, 0.864799],[1148342400000, 0.863793],[1148428800000, 0.869788],[1148515200000, 0.870372],[1148601600000, 0.863696],[1148688000000, 0.866517],[1148774400000, 0.866517],[1148860800000, 0.866517],[1148947200000, 0.863934],[1149033600000, 0.869443]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });