$(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: [[1233446400000,0.353932],[1233532800000,0.353932],[1233619200000,0.349254],[1233705600000,0.348395],[1233792000000,0.347775],[1233878400000,0.3497],[1233964800000,0.351639],[1234051200000,0.351639],[1234137600000,0.351639],[1234224000000,0.360306],[1234310400000,0.356338],[1234396800000,0.348636],[1234483200000,0.345262],[1234569600000,null],[1234656000000,null],[1234742400000,0.345718],[1234828800000,0.337189],[1234915200000,0.329881],[1235001600000,0.336219],[1235088000000,0.342213],[1235174400000,0.336518],[1235260800000,0.336518],[1235347200000,0.336518],[1235433600000,0.346366],[1235520000000,0.34649],[1235606400000,0.347519],[1235692800000,0.347374],[1235779200000,0.346596]], 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: [[1233446400000, 0.353932],[1233446400000, 0.353932],[1233532800000, 0.353932],[1233619200000, 0.349254],[1233705600000, 0.348395],[1233792000000, 0.347775],[1233878400000, 0.349700],[1233964800000, 0.351639],[1234051200000, 0.351639],[1234137600000, 0.351639],[1234224000000, 0.360306],[1234310400000, 0.356338],[1234396800000, 0.348636],[1234483200000, 0.345262],[1234742400000, 0.345718],[1234828800000, 0.337189],[1234915200000, 0.329881],[1235001600000, 0.336219],[1235088000000, 0.342213],[1235174400000, 0.336518],[1235260800000, 0.336518],[1235347200000, 0.336518],[1235433600000, 0.346366],[1235520000000, 0.346490],[1235606400000, 0.347519],[1235692800000, 0.347374],[1235779200000, 0.346596]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });