$(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: [[1333238400000,1.40303],[1333324800000,1.40303],[1333411200000,1.40906],[1333497600000,1.40686],[1333584000000,1.3862],[1333670400000,1.37902],[1333756800000,1.37902],[1333843200000,null],[1333929600000,1.37902],[1334016000000,1.37859],[1334102400000,1.38119],[1334188800000,1.37889],[1334275200000,1.38011],[1334361600000,1.38159],[1334448000000,1.38159],[1334534400000,1.38159],[1334620800000,1.38159],[1334707200000,1.38932],[1334793600000,1.38428],[1334880000000,1.38439],[1334966400000,1.39588],[1335052800000,1.39588],[1335139200000,1.39588],[1335225600000,1.38757],[1335312000000,1.3912],[1335398400000,1.39485],[1335484800000,1.39322],[1335571200000,1.39297],[1335657600000,1.39297],[1335744000000,1.39297]], 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: [[1333238400000, 1.403030],[1333238400000, 1.403030],[1333324800000, 1.403030],[1333411200000, 1.409057],[1333497600000, 1.406864],[1333584000000, 1.386201],[1333670400000, 1.379018],[1333756800000, 1.379018],[1333929600000, 1.379018],[1334016000000, 1.378587],[1334102400000, 1.381195],[1334188800000, 1.378893],[1334275200000, 1.380114],[1334361600000, 1.381587],[1334448000000, 1.381587],[1334534400000, 1.381587],[1334620800000, 1.381587],[1334707200000, 1.389321],[1334793600000, 1.384278],[1334880000000, 1.384393],[1334966400000, 1.395884],[1335052800000, 1.395884],[1335139200000, 1.395884],[1335225600000, 1.387571],[1335312000000, 1.391201],[1335398400000, 1.394850],[1335484800000, 1.393222],[1335571200000, 1.392968],[1335657600000, 1.392968],[1335744000000, 1.392968]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });