$(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: 'Курс EEK, грн'}, 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: 'Курс EEK', data: [[1291161600000,0.659428],[1291248000000,0.665364],[1291334400000,0.667562],[1291420800000,0.672349],[1291507200000,0.672349],[1291593600000,0.672349],[1291680000000,0.675501],[1291766400000,0.679142],[1291852800000,0.670807],[1291939200000,0.671518],[1292025600000,0.673187],[1292112000000,0.673187],[1292198400000,0.673187],[1292284800000,0.674356],[1292371200000,0.683754],[1292457600000,0.679937],[1292544000000,0.673762],[1292630400000,0.674882],[1292716800000,0.674882],[1292803200000,0.674882],[1292889600000,0.66913],[1292976000000,0.669537],[1293062400000,0.667349],[1293148800000,0.664906],[1293235200000,0.66652],[1293321600000,0.66652],[1293408000000,0.66652],[1293494400000,0.668369],[1293580800000,0.671371],[1293667200000,0.668243],[1293753600000,0.675747]], 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: [[1291161600000, 0.659428],[1291161600000, 0.659428],[1291248000000, 0.665364],[1291334400000, 0.667562],[1291420800000, 0.672349],[1291507200000, 0.672349],[1291593600000, 0.672349],[1291680000000, 0.675501],[1291766400000, 0.679142],[1291852800000, 0.670807],[1291939200000, 0.671518],[1292025600000, 0.673187],[1292112000000, 0.673187],[1292198400000, 0.673187],[1292284800000, 0.674356],[1292371200000, 0.683754],[1292457600000, 0.679937],[1292544000000, 0.673762],[1292630400000, 0.674882],[1292716800000, 0.674882],[1292803200000, 0.674882],[1292889600000, 0.669130],[1292976000000, 0.669537],[1293062400000, 0.667349],[1293148800000, 0.664906],[1293235200000, 0.666520],[1293321600000, 0.666520],[1293408000000, 0.666520],[1293494400000, 0.668369],[1293580800000, 0.671371],[1293667200000, 0.668243],[1293753600000, 0.675747]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });