$(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: [[1188604800000,0.249622],[1188691200000,0.249622],[1188777600000,0.249622],[1188864000000,0.248795],[1188950400000,0.24807],[1189036800000,0.248261],[1189123200000,0.250031],[1189209600000,0.250316],[1189296000000,0.250316],[1189382400000,0.250316],[1189468800000,0.252409],[1189555200000,0.252664],[1189641600000,0.25484],[1189728000000,0.255357],[1189814400000,0.254446],[1189900800000,0.254446],[1189987200000,0.254446],[1190073600000,0.254823],[1190160000000,0.254658],[1190246400000,0.255027],[1190332800000,0.257764],[1190419200000,0.257775],[1190505600000,0.257775],[1190592000000,0.257775],[1190678400000,0.258527],[1190764800000,0.25853],[1190851200000,null],[1190937600000,null],[1191024000000,0.260075],[1191110400000,0.260075]], 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: [[1188604800000, 0.249622],[1188604800000, 0.249622],[1188691200000, 0.249622],[1188777600000, 0.249622],[1188864000000, 0.248795],[1188950400000, 0.248070],[1189036800000, 0.248261],[1189123200000, 0.250031],[1189209600000, 0.250316],[1189296000000, 0.250316],[1189382400000, 0.250316],[1189468800000, 0.252409],[1189555200000, 0.252664],[1189641600000, 0.254840],[1189728000000, 0.255357],[1189814400000, 0.254446],[1189900800000, 0.254446],[1189987200000, 0.254446],[1190073600000, 0.254823],[1190160000000, 0.254658],[1190246400000, 0.255027],[1190332800000, 0.257764],[1190419200000, 0.257775],[1190505600000, 0.257775],[1190592000000, 0.257775],[1190678400000, 0.258527],[1190764800000, 0.258530],[1191024000000, 0.260075],[1191110400000, 0.260075]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });