$(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: [[1193875200000,4.65943],[1193961600000,4.66122],[1194048000000,4.65845],[1194134400000,4.65845],[1194220800000,4.65845],[1194307200000,4.64094],[1194393600000,4.68062],[1194480000000,4.73452],[1194566400000,4.6926],[1194652800000,4.63635],[1194739200000,4.63635],[1194825600000,4.63635],[1194912000000,4.45773],[1194998400000,4.52715],[1195084800000,4.55206],[1195171200000,4.50088],[1195257600000,4.51171],[1195344000000,4.51171],[1195430400000,4.51171],[1195516800000,4.497],[1195603200000,4.48245],[1195689600000,4.41309],[1195776000000,4.40224],[1195862400000,4.40744],[1195948800000,4.40744],[1196035200000,4.40744],[1196121600000,4.45174],[1196208000000,4.40705],[1196294400000,4.45435],[1196380800000,4.45217]], 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: [[1193875200000, 4.659430],[1193875200000, 4.659430],[1193961600000, 4.661215],[1194048000000, 4.658445],[1194134400000, 4.658445],[1194220800000, 4.658445],[1194307200000, 4.640939],[1194393600000, 4.680621],[1194480000000, 4.734516],[1194566400000, 4.692600],[1194652800000, 4.636350],[1194739200000, 4.636350],[1194825600000, 4.636350],[1194912000000, 4.457735],[1194998400000, 4.527148],[1195084800000, 4.552060],[1195171200000, 4.500880],[1195257600000, 4.511711],[1195344000000, 4.511711],[1195430400000, 4.511711],[1195516800000, 4.497004],[1195603200000, 4.482455],[1195689600000, 4.413090],[1195776000000, 4.402237],[1195862400000, 4.407440],[1195948800000, 4.407440],[1196035200000, 4.407440],[1196121600000, 4.451737],[1196208000000, 4.407046],[1196294400000, 4.454354],[1196380800000, 4.452168]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });