$(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: [[1375315200000,0.410361],[1375401600000,0.407611],[1375488000000,0.406532],[1375574400000,null],[1375660800000,0.406532],[1375747200000,0.408541],[1375833600000,0.409518],[1375920000000,0.409373],[1376006400000,0.413645],[1376092800000,0.412306],[1376179200000,0.412306],[1376265600000,0.412306],[1376352000000,0.410151],[1376438400000,0.410555],[1376524800000,0.409927],[1376611200000,0.41171],[1376697600000,0.413281],[1376784000000,0.413281],[1376870400000,0.413281],[1376956800000,0.412526],[1377043200000,0.415327],[1377129600000,0.415047],[1377216000000,0.413749],[1377302400000,0.415923],[1377388800000,0.415923],[1377475200000,0.415923],[1377561600000,0.415923],[1377648000000,0.413893],[1377734400000,0.414897],[1377820800000,0.412942],[1377907200000,0.411064]], 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: [[1375315200000, 0.410361],[1375315200000, 0.410361],[1375401600000, 0.407611],[1375488000000, 0.406532],[1375660800000, 0.406532],[1375747200000, 0.408541],[1375833600000, 0.409518],[1375920000000, 0.409373],[1376006400000, 0.413645],[1376092800000, 0.412306],[1376179200000, 0.412306],[1376265600000, 0.412306],[1376352000000, 0.410151],[1376438400000, 0.410555],[1376524800000, 0.409927],[1376611200000, 0.411710],[1376697600000, 0.413281],[1376784000000, 0.413281],[1376870400000, 0.413281],[1376956800000, 0.412526],[1377043200000, 0.415327],[1377129600000, 0.415047],[1377216000000, 0.413749],[1377302400000, 0.415923],[1377388800000, 0.415923],[1377475200000, 0.415923],[1377561600000, 0.415923],[1377648000000, 0.413893],[1377734400000, 0.414897],[1377820800000, 0.412942],[1377907200000, 0.411064]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });