$(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: [[1420070400000,0.693903],[1420156800000,0.693903],[1420243200000,0.693903],[1420329600000,0.693903],[1420416000000,0.693903],[1420502400000,0.693903],[1420588800000,0.679338],[1420675200000,0.679338],[1420761600000,null],[1420848000000,0.66514],[1420934400000,0.66514],[1421020800000,0.66514],[1421107200000,0.663348],[1421193600000,0.657986],[1421280000000,null],[1421366400000,0.658059],[1421452800000,0.664353],[1421539200000,0.661903],[1421625600000,0.661903],[1421712000000,0.65904],[1421798400000,0.656492],[1421884800000,0.656295],[1421971200000,null],[1422057600000,0.657606],[1422144000000,0.657606],[1422230400000,0.657606],[1422316800000,0.636127],[1422403200000,0.644141],[1422489600000,0.643728],[1422576000000,0.649953],[1422662400000,0.657836]], 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: [[1420070400000, 0.693903],[1420070400000, 0.693903],[1420156800000, 0.693903],[1420243200000, 0.693903],[1420329600000, 0.693903],[1420416000000, 0.693903],[1420502400000, 0.693903],[1420588800000, 0.679338],[1420675200000, 0.679338],[1420848000000, 0.665140],[1420934400000, 0.665140],[1421020800000, 0.665140],[1421107200000, 0.663348],[1421193600000, 0.657986],[1421366400000, 0.658059],[1421452800000, 0.664353],[1421539200000, 0.661903],[1421625600000, 0.661903],[1421712000000, 0.659040],[1421798400000, 0.656492],[1421884800000, 0.656295],[1422057600000, 0.657606],[1422144000000, 0.657606],[1422230400000, 0.657606],[1422316800000, 0.636127],[1422403200000, 0.644141],[1422489600000, 0.643728],[1422576000000, 0.649953],[1422662400000, 0.657836]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });