$(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: [[1183248000000,4.25067],[1183334400000,4.25067],[1183420800000,4.32684],[1183507200000,4.31927],[1183593600000,4.33202],[1183680000000,4.34477],[1183766400000,4.32503],[1183852800000,4.32503],[1183939200000,4.32503],[1184025600000,4.34475],[1184112000000,4.34702],[1184198400000,4.35085],[1184284800000,4.36083],[1184371200000,4.38309],[1184457600000,4.38309],[1184544000000,4.38309],[1184630400000,4.41195],[1184716800000,4.41406],[1184803200000,4.43153],[1184889600000,4.43907],[1184976000000,4.44662],[1185062400000,4.44662],[1185148800000,4.44662],[1185235200000,4.46124],[1185321600000,4.46911],[1185408000000,4.46718],[1185494400000,4.45319],[1185580800000,4.35239],[1185667200000,4.35239],[1185753600000,4.35239]], 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: [[1183248000000, 4.250667],[1183248000000, 4.250667],[1183334400000, 4.250667],[1183420800000, 4.326843],[1183507200000, 4.319271],[1183593600000, 4.332025],[1183680000000, 4.344771],[1183766400000, 4.325027],[1183852800000, 4.325027],[1183939200000, 4.325027],[1184025600000, 4.344748],[1184112000000, 4.347021],[1184198400000, 4.350852],[1184284800000, 4.360832],[1184371200000, 4.383091],[1184457600000, 4.383091],[1184544000000, 4.383091],[1184630400000, 4.411947],[1184716800000, 4.414062],[1184803200000, 4.431534],[1184889600000, 4.439066],[1184976000000, 4.446616],[1185062400000, 4.446616],[1185148800000, 4.446616],[1185235200000, 4.461237],[1185321600000, 4.469109],[1185408000000, 4.467183],[1185494400000, 4.453191],[1185580800000, 4.352393],[1185667200000, 4.352393],[1185753600000, 4.352393]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });