$(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: [[1107216000000,4.10874],[1107302400000,4.08898],[1107388800000,4.10619],[1107475200000,4.10251],[1107561600000,4.08021],[1107648000000,4.08021],[1107734400000,4.08021],[1107820800000,4.09773],[1107907200000,4.04899],[1107993600000,4.06296],[1108080000000,4.10962],[1108166400000,4.14429],[1108252800000,4.14429],[1108339200000,4.14429],[1108425600000,4.17202],[1108512000000,4.16176],[1108598400000,4.15616],[1108684800000,4.16374],[1108771200000,4.16486],[1108857600000,4.16486],[1108944000000,4.16486],[1109030400000,4.17803],[1109116800000,4.20164],[1109203200000,4.19072],[1109289600000,4.17845],[1109376000000,4.14654],[1109462400000,4.14654],[1109548800000,4.14654]], 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: [[1107216000000, 4.108744],[1107216000000, 4.108744],[1107302400000, 4.088979],[1107388800000, 4.106191],[1107475200000, 4.102512],[1107561600000, 4.080211],[1107648000000, 4.080211],[1107734400000, 4.080211],[1107820800000, 4.097726],[1107907200000, 4.048987],[1107993600000, 4.062957],[1108080000000, 4.109624],[1108166400000, 4.144287],[1108252800000, 4.144287],[1108339200000, 4.144287],[1108425600000, 4.172019],[1108512000000, 4.161759],[1108598400000, 4.156157],[1108684800000, 4.163738],[1108771200000, 4.164856],[1108857600000, 4.164856],[1108944000000, 4.164856],[1109030400000, 4.178026],[1109116800000, 4.201636],[1109203200000, 4.190717],[1109289600000, 4.178446],[1109376000000, 4.146537],[1109462400000, 4.146537],[1109548800000, 4.146537]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });