$(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: [[1117584000000,0.836725],[1117670400000,0.830769],[1117756800000,0.833136],[1117843200000,0.834969],[1117929600000,0.834969],[1118016000000,0.834969],[1118102400000,0.833859],[1118188800000,0.834384],[1118275200000,0.836819],[1118361600000,0.830924],[1118448000000,0.830346],[1118534400000,0.830346],[1118620800000,0.830346],[1118707200000,0.819403],[1118793600000,0.822719],[1118880000000,0.819592],[1118966400000,null],[1119052800000,0.826771],[1119139200000,0.826771],[1119225600000,0.826771],[1119312000000,null],[1119398400000,0.820812],[1119484800000,0.822102],[1119571200000,0.818893],[1119657600000,0.820012],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.817991]], 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: [[1117584000000, 0.836725],[1117584000000, 0.836725],[1117670400000, 0.830769],[1117756800000, 0.833136],[1117843200000, 0.834969],[1117929600000, 0.834969],[1118016000000, 0.834969],[1118102400000, 0.833859],[1118188800000, 0.834384],[1118275200000, 0.836819],[1118361600000, 0.830924],[1118448000000, 0.830346],[1118534400000, 0.830346],[1118620800000, 0.830346],[1118707200000, 0.819403],[1118793600000, 0.822719],[1118880000000, 0.819592],[1119052800000, 0.826771],[1119139200000, 0.826771],[1119225600000, 0.826771],[1119398400000, 0.820812],[1119484800000, 0.822102],[1119571200000, 0.818893],[1119657600000, 0.820012],[1120089600000, 0.817991]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });