$(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: 'Курс HUF, грн'}, 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: 'Курс HUF', data: [[1288569600000,0.0403381],[1288656000000,0.0407246],[1288742400000,0.0409988],[1288828800000,0.0408039],[1288915200000,0.0414138],[1289001600000,0.0407258],[1289088000000,0.0407258],[1289174400000,0.0407258],[1289260800000,0.0401226],[1289347200000,0.0402388],[1289433600000,0.0398393],[1289520000000,0.0392397],[1289606400000,0.0393914],[1289692800000,0.0393914],[1289779200000,0.0393914],[1289865600000,0.0390954],[1289952000000,0.0390037],[1290038400000,0.0384769],[1290124800000,0.0393783],[1290211200000,0.0395771],[1290297600000,0.0395771],[1290384000000,0.0395771],[1290470400000,0.0396638],[1290556800000,0.0389129],[1290643200000,0.038426],[1290729600000,0.0381292],[1290816000000,0.0375063],[1290902400000,0.0375063],[1290988800000,0.0375063],[1291075200000,0.0371919]], 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: [[1288569600000, 0.040338],[1288569600000, 0.040338],[1288656000000, 0.040725],[1288742400000, 0.040999],[1288828800000, 0.040804],[1288915200000, 0.041414],[1289001600000, 0.040726],[1289088000000, 0.040726],[1289174400000, 0.040726],[1289260800000, 0.040123],[1289347200000, 0.040239],[1289433600000, 0.039839],[1289520000000, 0.039240],[1289606400000, 0.039391],[1289692800000, 0.039391],[1289779200000, 0.039391],[1289865600000, 0.039095],[1289952000000, 0.039004],[1290038400000, 0.038477],[1290124800000, 0.039378],[1290211200000, 0.039577],[1290297600000, 0.039577],[1290384000000, 0.039577],[1290470400000, 0.039664],[1290556800000, 0.038913],[1290643200000, 0.038426],[1290729600000, 0.038129],[1290816000000, 0.037506],[1290902400000, 0.037506],[1290988800000, 0.037506],[1291075200000, 0.037192]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });