$(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: [[1168041600000,3.95725],[1168128000000,3.95725],[1168214400000,3.95725],[1168300800000,3.95725],[1168387200000,3.94248],[1168473600000,3.93599],[1168560000000,3.95639],[1168646400000,3.93554],[1168732800000,3.93554],[1168819200000,3.93554],[1168905600000,3.96001],[1168992000000,3.96176],[1169078400000,3.96801],[1169164800000,3.97346],[1169251200000,3.97726],[1169337600000,3.97726],[1169424000000,3.97726],[1169510400000,3.98772],[1169596800000,4.00657],[1169683200000,3.94897],[1169769600000,3.93887],[1169856000000,3.90494],[1169942400000,3.90494],[1170028800000,3.90494],[1170115200000,3.90071],[1170201600000,3.90164]], 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: [[1168041600000, 3.957250],[1168041600000, 3.957250],[1168128000000, 3.957250],[1168214400000, 3.957250],[1168300800000, 3.957250],[1168387200000, 3.942483],[1168473600000, 3.935994],[1168560000000, 3.956387],[1168646400000, 3.935545],[1168732800000, 3.935545],[1168819200000, 3.935545],[1168905600000, 3.960010],[1168992000000, 3.961762],[1169078400000, 3.968011],[1169164800000, 3.973458],[1169251200000, 3.977263],[1169337600000, 3.977263],[1169424000000, 3.977263],[1169510400000, 3.987718],[1169596800000, 4.006571],[1169683200000, 3.948966],[1169769600000, 3.938873],[1169856000000, 3.904942],[1169942400000, 3.904942],[1170028800000, 3.904942],[1170115200000, 3.900708],[1170201600000, 3.901644]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });