$(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: [[1220227200000,4.18427],[1220313600000,4.13562],[1220400000000,4.04761],[1220486400000,4.03903],[1220572800000,4.05535],[1220659200000,3.92488],[1220745600000,3.92488],[1220832000000,3.92488],[1220918400000,3.97518],[1221004800000,3.94652],[1221091200000,3.89829],[1221177600000,3.85825],[1221264000000,3.91287],[1221350400000,3.91287],[1221436800000,3.91287],[1221523200000,3.91338],[1221609600000,3.85403],[1221696000000,3.85379],[1221782400000,3.91686],[1221868800000,3.94509],[1221955200000,3.94509],[1222041600000,3.94509],[1222128000000,4.05349],[1222214400000,4.08432],[1222300800000,4.06623],[1222387200000,4.08593],[1222473600000,4.0289],[1222560000000,4.0289],[1222646400000,4.0289],[1222732800000,3.95972]], 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: [[1220227200000, 4.184270],[1220227200000, 4.184270],[1220313600000, 4.135620],[1220400000000, 4.047606],[1220486400000, 4.039034],[1220572800000, 4.055352],[1220659200000, 3.924883],[1220745600000, 3.924883],[1220832000000, 3.924883],[1220918400000, 3.975184],[1221004800000, 3.946523],[1221091200000, 3.898287],[1221177600000, 3.858249],[1221264000000, 3.912867],[1221350400000, 3.912867],[1221436800000, 3.912867],[1221523200000, 3.913384],[1221609600000, 3.854028],[1221696000000, 3.853786],[1221782400000, 3.916856],[1221868800000, 3.945092],[1221955200000, 3.945092],[1222041600000, 3.945092],[1222128000000, 4.053489],[1222214400000, 4.084317],[1222300800000, 4.066230],[1222387200000, 4.085929],[1222473600000, 4.028901],[1222560000000, 4.028901],[1222646400000, 4.028901],[1222732800000, 3.959721]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });