$(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: [[1288569600000,7.71122],[1288656000000,7.82332],[1288742400000,7.91701],[1288828800000,7.89491],[1288915200000,8.02583],[1289001600000,8.03971],[1289088000000,8.03971],[1289174400000,8.03971],[1289260800000,8.00121],[1289347200000,8.03692],[1289433600000,7.9123],[1289520000000,7.93112],[1289606400000,7.85863],[1289692800000,7.85863],[1289779200000,7.85863],[1289865600000,7.82021],[1289952000000,7.78584],[1290038400000,7.75365],[1290124800000,7.84288],[1290211200000,7.80696],[1290297600000,7.80696],[1290384000000,7.80696],[1290470400000,7.84004],[1290556800000,7.76903],[1290643200000,7.76807],[1290729600000,7.7787],[1290816000000,7.6544],[1290902400000,7.6544],[1290988800000,7.6544],[1291075200000,7.63819]], 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, 7.711222],[1288569600000, 7.711222],[1288656000000, 7.823321],[1288742400000, 7.917006],[1288828800000, 7.894912],[1288915200000, 8.025829],[1289001600000, 8.039714],[1289088000000, 8.039714],[1289174400000, 8.039714],[1289260800000, 8.001214],[1289347200000, 8.036916],[1289433600000, 7.912298],[1289520000000, 7.931120],[1289606400000, 7.858628],[1289692800000, 7.858628],[1289779200000, 7.858628],[1289865600000, 7.820212],[1289952000000, 7.785840],[1290038400000, 7.753651],[1290124800000, 7.842875],[1290211200000, 7.806956],[1290297600000, 7.806956],[1290384000000, 7.806956],[1290470400000, 7.840037],[1290556800000, 7.769033],[1290643200000, 7.768069],[1290729600000, 7.778700],[1290816000000, 7.654397],[1290902400000, 7.654397],[1290988800000, 7.654397],[1291075200000, 7.638190]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });