$(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: [[1222819200000,0.931916],[1222905600000,0.917575],[1222992000000,0.907565],[1223078400000,0.902866],[1223164800000,0.902866],[1223251200000,0.902866],[1223337600000,0.88998],[1223424000000,0.893479],[1223510400000,0.907473],[1223596800000,0.904454],[1223683200000,0.896936],[1223769600000,0.896936],[1223856000000,0.896936],[1223942400000,0.900427],[1224028800000,0.907784],[1224115200000,0.89962],[1224201600000,0.899609],[1224288000000,0.892683],[1224374400000,0.892683],[1224460800000,0.892683],[1224547200000,0.897869],[1224633600000,0.886102],[1224720000000,0.877061],[1224806400000,0.884621],[1224892800000,0.881796],[1224979200000,0.881796],[1225065600000,0.881796],[1225152000000,0.894478],[1225238400000,0.92413],[1225324800000,0.987334],[1225411200000,1.00817]], 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: [[1222819200000, 0.931916],[1222819200000, 0.931916],[1222905600000, 0.917575],[1222992000000, 0.907565],[1223078400000, 0.902866],[1223164800000, 0.902866],[1223251200000, 0.902866],[1223337600000, 0.889980],[1223424000000, 0.893479],[1223510400000, 0.907473],[1223596800000, 0.904454],[1223683200000, 0.896936],[1223769600000, 0.896936],[1223856000000, 0.896936],[1223942400000, 0.900427],[1224028800000, 0.907784],[1224115200000, 0.899620],[1224201600000, 0.899609],[1224288000000, 0.892683],[1224374400000, 0.892683],[1224460800000, 0.892683],[1224547200000, 0.897869],[1224633600000, 0.886102],[1224720000000, 0.877061],[1224806400000, 0.884621],[1224892800000, 0.881796],[1224979200000, 0.881796],[1225065600000, 0.881796],[1225152000000, 0.894478],[1225238400000, 0.924130],[1225324800000, 0.987334],[1225411200000, 1.008174]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });