$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1120262400000,3.82831],[1120348800000,3.82831],[1120435200000,3.82831],[1120521600000,3.78711],[1120608000000,3.74516],[1120694400000,3.75204],[1120780800000,3.7556],[1120867200000,3.74012],[1120953600000,3.74012],[1121040000000,3.74012],[1121126400000,3.76281],[1121212800000,3.80965],[1121299200000,3.8075],[1121385600000,3.7977],[1121472000000,3.79368],[1121558400000,3.79368],[1121644800000,3.79368],[1121731200000,3.78278],[1121817600000,3.78374],[1121904000000,3.80691],[1121990400000,3.86052],[1122076800000,3.86671],[1122163200000,3.86671],[1122249600000,3.86671],[1122336000000,3.84236],[1122422400000,3.8279],[1122508800000,3.81078],[1122595200000,3.8248],[1122681600000,3.83989],[1122768000000,3.83989]], 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: [[1120262400000, 3.828307],[1120262400000, 3.828307],[1120348800000, 3.828307],[1120435200000, 3.828307],[1120521600000, 3.787111],[1120608000000, 3.745156],[1120694400000, 3.752038],[1120780800000, 3.755601],[1120867200000, 3.740116],[1120953600000, 3.740116],[1121040000000, 3.740116],[1121126400000, 3.762808],[1121212800000, 3.809647],[1121299200000, 3.807500],[1121385600000, 3.797702],[1121472000000, 3.793685],[1121558400000, 3.793685],[1121644800000, 3.793685],[1121731200000, 3.782777],[1121817600000, 3.783739],[1121904000000, 3.806909],[1121990400000, 3.860516],[1122076800000, 3.866710],[1122163200000, 3.866710],[1122249600000, 3.866710],[1122336000000, 3.842357],[1122422400000, 3.827896],[1122508800000, 3.810781],[1122595200000, 3.824800],[1122681600000, 3.839892],[1122768000000, 3.839892]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });