$(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: [[1298937600000,8.07063],[1299024000000,8.08526],[1299110400000,8.04773],[1299196800000,8.07756],[1299283200000,8.03061],[1299369600000,8.03061],[1299456000000,8.03061],[1299542400000,8.03061],[1299628800000,8.03061],[1299715200000,8.03257],[1299801600000,7.95525],[1299888000000,7.93798],[1299974400000,7.93798],[1300060800000,7.93798],[1300147200000,7.99356],[1300233600000,7.81628],[1300320000000,7.87895],[1300406400000,7.82543],[1300492800000,7.88631],[1300579200000,7.88631],[1300665600000,7.88631],[1300752000000,7.99275],[1300838400000,8.04507],[1300924800000,8.0245],[1301011200000,8.09522],[1301097600000,8.13757],[1301184000000,8.13757],[1301270400000,8.13757],[1301356800000,8.16601],[1301443200000,8.13761],[1301529600000,8.20576]], 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: [[1298937600000, 8.070630],[1298937600000, 8.070630],[1299024000000, 8.085262],[1299110400000, 8.047730],[1299196800000, 8.077555],[1299283200000, 8.030613],[1299369600000, 8.030613],[1299456000000, 8.030613],[1299542400000, 8.030613],[1299628800000, 8.030613],[1299715200000, 8.032566],[1299801600000, 7.955252],[1299888000000, 7.937982],[1299974400000, 7.937982],[1300060800000, 7.937982],[1300147200000, 7.993556],[1300233600000, 7.816284],[1300320000000, 7.878953],[1300406400000, 7.825434],[1300492800000, 7.886306],[1300579200000, 7.886306],[1300665600000, 7.886306],[1300752000000, 7.992749],[1300838400000, 8.045072],[1300924800000, 8.024496],[1301011200000, 8.095218],[1301097600000, 8.137568],[1301184000000, 8.137568],[1301270400000, 8.137568],[1301356800000, 8.166013],[1301443200000, 8.137609],[1301529600000, 8.205765]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });