$(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: 'Курс NOK, грн'}, 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: 'Курс NOK', data: [[1159660800000,0.776357],[1159747200000,0.776357],[1159833600000,0.767866],[1159920000000,0.76816],[1160006400000,0.762595],[1160092800000,0.766783],[1160179200000,0.758503],[1160265600000,0.758503],[1160352000000,0.758503],[1160438400000,0.755881],[1160524800000,0.757289],[1160611200000,0.752461],[1160697600000,0.748628],[1160784000000,0.751943],[1160870400000,0.751943],[1160956800000,0.751943],[1161043200000,0.746965],[1161129600000,0.74662],[1161216000000,0.747753],[1161302400000,0.748384],[1161388800000,0.757365],[1161475200000,0.757365],[1161561600000,0.757365],[1161648000000,0.752526],[1161734400000,0.755257],[1161820800000,0.761921],[1161907200000,0.771012],[1161993600000,0.770655],[1162080000000,0.770655],[1162166400000,0.770655],[1162252800000,0.770635]], 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: [[1159660800000, 0.776357],[1159660800000, 0.776357],[1159747200000, 0.776357],[1159833600000, 0.767866],[1159920000000, 0.768160],[1160006400000, 0.762595],[1160092800000, 0.766783],[1160179200000, 0.758503],[1160265600000, 0.758503],[1160352000000, 0.758503],[1160438400000, 0.755881],[1160524800000, 0.757289],[1160611200000, 0.752461],[1160697600000, 0.748628],[1160784000000, 0.751943],[1160870400000, 0.751943],[1160956800000, 0.751943],[1161043200000, 0.746965],[1161129600000, 0.746620],[1161216000000, 0.747753],[1161302400000, 0.748384],[1161388800000, 0.757365],[1161475200000, 0.757365],[1161561600000, 0.757365],[1161648000000, 0.752526],[1161734400000, 0.755257],[1161820800000, 0.761921],[1161907200000, 0.771012],[1161993600000, 0.770655],[1162080000000, 0.770655],[1162166400000, 0.770655],[1162252800000, 0.770635]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });