$(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: [[1467331200000,0.008435],[1467417600000,0.008433],[1467504000000,0.008433],[1467590400000,0.008433],[1467676800000,0.008416],[1467763200000,0.008426],[1467849600000,0.008425],[1467936000000,0.008416],[1468022400000,0.008423],[1468108800000,0.008423],[1468195200000,0.008423],[1468281600000,0.008413],[1468368000000,0.00841],[1468454400000,0.008403],[1468540800000,0.008395],[1468627200000,0.008398],[1468713600000,0.008398],[1468800000000,0.008398],[1468886400000,0.008401],[1468972800000,0.008386],[1469059200000,0.008385],[1469145600000,0.008387],[1469232000000,0.008386],[1469318400000,0.008386],[1469404800000,0.008386],[1469491200000,0.008363],[1469577600000,0.008362],[1469664000000,0.008372],[1469750400000,null],[1469836800000,0.008369],[1469923200000,0.008369]], 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: [[1467331200000, 0.008435],[1467331200000, 0.008435],[1467417600000, 0.008433],[1467504000000, 0.008433],[1467590400000, 0.008433],[1467676800000, 0.008416],[1467763200000, 0.008426],[1467849600000, 0.008425],[1467936000000, 0.008416],[1468022400000, 0.008423],[1468108800000, 0.008423],[1468195200000, 0.008423],[1468281600000, 0.008413],[1468368000000, 0.008410],[1468454400000, 0.008403],[1468540800000, 0.008395],[1468627200000, 0.008398],[1468713600000, 0.008398],[1468800000000, 0.008398],[1468886400000, 0.008401],[1468972800000, 0.008386],[1469059200000, 0.008385],[1469145600000, 0.008387],[1469232000000, 0.008386],[1469318400000, 0.008386],[1469404800000, 0.008386],[1469491200000, 0.008363],[1469577600000, 0.008362],[1469664000000, 0.008372],[1469836800000, 0.008369],[1469923200000, 0.008369]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });