$(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: [[1114905600000,3.95007],[1114992000000,3.95007],[1115078400000,3.95007],[1115164800000,3.95007],[1115251200000,3.92822],[1115337600000,3.94344],[1115424000000,3.93348],[1115510400000,3.93348],[1115596800000,3.93348],[1115683200000,3.93348],[1115769600000,3.90687],[1115856000000,3.93242],[1115942400000,3.89336],[1116028800000,3.84818],[1116115200000,3.84818],[1116201600000,3.84818],[1116288000000,3.81548],[1116374400000,3.82084],[1116460800000,3.81882],[1116547200000,3.82999],[1116633600000,3.82696],[1116720000000,3.82696],[1116806400000,3.82696],[1116892800000,3.81754],[1116979200000,3.85526],[1117065600000,3.83883],[1117152000000,3.83908],[1117238400000,3.8472],[1117324800000,3.8472],[1117411200000,3.8472],[1117497600000,3.84375]], 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: [[1114905600000, 3.950066],[1114905600000, 3.950066],[1114992000000, 3.950066],[1115078400000, 3.950066],[1115164800000, 3.950066],[1115251200000, 3.928216],[1115337600000, 3.943438],[1115424000000, 3.933483],[1115510400000, 3.933483],[1115596800000, 3.933483],[1115683200000, 3.933483],[1115769600000, 3.906873],[1115856000000, 3.932425],[1115942400000, 3.893363],[1116028800000, 3.848185],[1116115200000, 3.848185],[1116201600000, 3.848185],[1116288000000, 3.815475],[1116374400000, 3.820837],[1116460800000, 3.818817],[1116547200000, 3.829990],[1116633600000, 3.826963],[1116720000000, 3.826963],[1116806400000, 3.826963],[1116892800000, 3.817543],[1116979200000, 3.855258],[1117065600000, 3.838831],[1117152000000, 3.839079],[1117238400000, 3.847196],[1117324800000, 3.847196],[1117411200000, 3.847196],[1117497600000, 3.843745]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });