$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1333238400000,0.431405],[1333324800000,0.431405],[1333411200000,0.429463],[1333497600000,0.431984],[1333584000000,0.426822],[1333670400000,0.422525],[1333756800000,0.422525],[1333843200000,null],[1333929600000,0.422525],[1334016000000,0.422393],[1334102400000,0.422324],[1334188800000,0.422395],[1334275200000,0.423444],[1334361600000,0.424189],[1334448000000,0.424189],[1334534400000,0.424189],[1334620800000,0.424189],[1334707200000,0.422836],[1334793600000,0.421291],[1334880000000,0.420662],[1334966400000,0.422759],[1335052800000,0.422759],[1335139200000,0.422759],[1335225600000,0.418826],[1335312000000,0.420555],[1335398400000,0.425276],[1335484800000,0.426357],[1335571200000,0.425004],[1335657600000,0.425004],[1335744000000,0.425004]], 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, 0.431405],[1333238400000, 0.431405],[1333324800000, 0.431405],[1333411200000, 0.429463],[1333497600000, 0.431984],[1333584000000, 0.426822],[1333670400000, 0.422525],[1333756800000, 0.422525],[1333929600000, 0.422525],[1334016000000, 0.422393],[1334102400000, 0.422324],[1334188800000, 0.422395],[1334275200000, 0.423444],[1334361600000, 0.424189],[1334448000000, 0.424189],[1334534400000, 0.424189],[1334620800000, 0.424189],[1334707200000, 0.422836],[1334793600000, 0.421291],[1334880000000, 0.420662],[1334966400000, 0.422759],[1335052800000, 0.422759],[1335139200000, 0.422759],[1335225600000, 0.418826],[1335312000000, 0.420555],[1335398400000, 0.425276],[1335484800000, 0.426357],[1335571200000, 0.425004],[1335657600000, 0.425004],[1335744000000, 0.425004]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });