$(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: 'Курс UZS, грн'}, 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: 'Курс UZS', data: [[1422748800000,0.006632],[1422835200000,0.006632],[1422921600000,0.006628],[1423008000000,0.006651],[1423094400000,0.00685],[1423180800000,0.007371],[1423267200000,null],[1423353600000,0.009471],[1423440000000,0.009471],[1423526400000,0.010219],[1423612800000,0.010147],[1423699200000,0.01044],[1423785600000,0.010252],[1423872000000,0.010587],[1423958400000,0.010587],[1424044800000,0.010587],[1424131200000,0.010641],[1424217600000,0.01074],[1424304000000,0.010919],[1424390400000,0.011147],[1424476800000,0.011351],[1424563200000,0.011351],[1424649600000,0.011351],[1424736000000,0.01155],[1424822400000,0.011499],[1424908800000,0.011399],[1424995200000,0.012198],[1425081600000,0.011284]], 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: [[1422748800000, 0.006632],[1422748800000, 0.006632],[1422835200000, 0.006632],[1422921600000, 0.006628],[1423008000000, 0.006651],[1423094400000, 0.006850],[1423180800000, 0.007371],[1423353600000, 0.009471],[1423440000000, 0.009471],[1423526400000, 0.010219],[1423612800000, 0.010147],[1423699200000, 0.010440],[1423785600000, 0.010252],[1423872000000, 0.010587],[1423958400000, 0.010587],[1424044800000, 0.010587],[1424131200000, 0.010641],[1424217600000, 0.010740],[1424304000000, 0.010919],[1424390400000, 0.011147],[1424476800000, 0.011351],[1424563200000, 0.011351],[1424649600000, 0.011351],[1424736000000, 0.011550],[1424822400000, 0.011499],[1424908800000, 0.011399],[1424995200000, 0.012198],[1425081600000, 0.011284]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });