$(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: [[1412121600000,11.2997],[1412208000000,11.2876],[1412294400000,11.2589],[1412380800000,11.3563],[1412467200000,11.3563],[1412553600000,11.3563],[1412640000000,11.333],[1412726400000,11.3289],[1412812800000,11.3939],[1412899200000,11.3423],[1412985600000,11.4715],[1413072000000,11.4715],[1413158400000,11.4715],[1413244800000,11.281],[1413331200000,11.3406],[1413417600000,11.3155],[1413504000000,11.2923],[1413590400000,11.2745],[1413676800000,11.2745],[1413763200000,11.2745],[1413849600000,11.3772],[1413936000000,11.3611],[1414022400000,11.4175],[1414108800000,11.3916],[1414195200000,11.3904],[1414281600000,11.3904],[1414368000000,11.3904],[1414454400000,11.3879],[1414540800000,11.3857],[1414627200000,11.4905],[1414713600000,11.5097]], 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: [[1412121600000, 11.299732],[1412121600000, 11.299732],[1412208000000, 11.287599],[1412294400000, 11.258894],[1412380800000, 11.356312],[1412467200000, 11.356312],[1412553600000, 11.356312],[1412640000000, 11.333000],[1412726400000, 11.328941],[1412812800000, 11.393903],[1412899200000, 11.342271],[1412985600000, 11.471484],[1413072000000, 11.471484],[1413158400000, 11.471484],[1413244800000, 11.280995],[1413331200000, 11.340577],[1413417600000, 11.315473],[1413504000000, 11.292283],[1413590400000, 11.274504],[1413676800000, 11.274504],[1413763200000, 11.274504],[1413849600000, 11.377187],[1413936000000, 11.361112],[1414022400000, 11.417539],[1414108800000, 11.391583],[1414195200000, 11.390449],[1414281600000, 11.390449],[1414368000000, 11.390449],[1414454400000, 11.387859],[1414540800000, 11.385732],[1414627200000, 11.490483],[1414713600000, 11.509674]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });