$(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: [[1446336000000,0.935112],[1446422400000,0.935112],[1446508800000,0.937018],[1446595200000,0.932329],[1446681600000,0.932243],[1446768000000,0.922565],[1446854400000,0.910451],[1446940800000,0.910451],[1447027200000,0.910451],[1447113600000,0.906764],[1447200000000,0.901482],[1447286400000,0.902461],[1447372800000,0.909364],[1447459200000,0.918228],[1447545600000,0.918228],[1447632000000,0.918228],[1447718400000,0.920606],[1447804800000,0.93832],[1447891200000,0.943662],[1447977600000,0.942716],[1448064000000,0.948345],[1448150400000,0.948345],[1448236800000,0.948345],[1448323200000,0.946606],[1448409600000,0.9436],[1448496000000,0.931162],[1448582400000,0.926363],[1448668800000,0.935093],[1448755200000,0.935093],[1448841600000,0.935093]], 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: [[1446336000000, 0.935112],[1446336000000, 0.935112],[1446422400000, 0.935112],[1446508800000, 0.937018],[1446595200000, 0.932329],[1446681600000, 0.932243],[1446768000000, 0.922565],[1446854400000, 0.910451],[1446940800000, 0.910451],[1447027200000, 0.910451],[1447113600000, 0.906764],[1447200000000, 0.901482],[1447286400000, 0.902461],[1447372800000, 0.909364],[1447459200000, 0.918228],[1447545600000, 0.918228],[1447632000000, 0.918228],[1447718400000, 0.920606],[1447804800000, 0.938320],[1447891200000, 0.943662],[1447977600000, 0.942716],[1448064000000, 0.948345],[1448150400000, 0.948345],[1448236800000, 0.948345],[1448323200000, 0.946606],[1448409600000, 0.943600],[1448496000000, 0.931162],[1448582400000, 0.926363],[1448668800000, 0.935093],[1448755200000, 0.935093],[1448841600000, 0.935093]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });