$(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: [[1375315200000,1.4234],[1375401600000,1.4191],[1375488000000,1.41564],[1375574400000,null],[1375660800000,1.41564],[1375747200000,1.42129],[1375833600000,1.42351],[1375920000000,1.42612],[1376006400000,1.43195],[1376092800000,1.43308],[1376179200000,1.43308],[1376265600000,1.43308],[1376352000000,1.42304],[1376438400000,1.42411],[1376524800000,1.41924],[1376611200000,1.42507],[1376697600000,1.42979],[1376784000000,1.42979],[1376870400000,1.42979],[1376956800000,1.4303],[1377043200000,1.43529],[1377129600000,1.43431],[1377216000000,1.4277],[1377302400000,1.43115],[1377388800000,1.43115],[1377475200000,1.43115],[1377561600000,1.43115],[1377648000000,1.42915],[1377734400000,1.43012],[1377820800000,1.4215],[1377907200000,1.41817]], 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: [[1375315200000, 1.423396],[1375315200000, 1.423396],[1375401600000, 1.419100],[1375488000000, 1.415638],[1375660800000, 1.415638],[1375747200000, 1.421295],[1375833600000, 1.423512],[1375920000000, 1.426116],[1376006400000, 1.431953],[1376092800000, 1.433078],[1376179200000, 1.433078],[1376265600000, 1.433078],[1376352000000, 1.423035],[1376438400000, 1.424107],[1376524800000, 1.419242],[1376611200000, 1.425067],[1376697600000, 1.429790],[1376784000000, 1.429790],[1376870400000, 1.429790],[1376956800000, 1.430296],[1377043200000, 1.435287],[1377129600000, 1.434314],[1377216000000, 1.427700],[1377302400000, 1.431149],[1377388800000, 1.431149],[1377475200000, 1.431149],[1377561600000, 1.431149],[1377648000000, 1.429154],[1377734400000, 1.430119],[1377820800000, 1.421497],[1377907200000, 1.418175]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });