$(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: [[1249084800000,6.38042],[1249171200000,6.38042],[1249257600000,6.38042],[1249344000000,6.45946],[1249430400000,6.4554],[1249516800000,6.48197],[1249603200000,6.48153],[1249689600000,6.44505],[1249776000000,6.44505],[1249862400000,6.44505],[1249948800000,6.48105],[1250035200000,6.45332],[1250121600000,6.37563],[1250208000000,6.54164],[1250294400000,6.55445],[1250380800000,6.55445],[1250467200000,6.55445],[1250553600000,6.38302],[1250640000000,6.45041],[1250726400000,6.42444],[1250812800000,6.5579],[1250899200000,6.61628],[1250985600000,6.61628],[1251072000000,6.61628],[1251158400000,6.61628],[1251244800000,6.68854],[1251331200000,6.64237],[1251417600000,6.66552],[1251504000000,6.75222],[1251590400000,6.75222],[1251676800000,6.75222]], 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: [[1249084800000, 6.380415],[1249084800000, 6.380415],[1249171200000, 6.380415],[1249257600000, 6.380415],[1249344000000, 6.459460],[1249430400000, 6.455404],[1249516800000, 6.481969],[1249603200000, 6.481529],[1249689600000, 6.445047],[1249776000000, 6.445047],[1249862400000, 6.445047],[1249948800000, 6.481055],[1250035200000, 6.453316],[1250121600000, 6.375635],[1250208000000, 6.541637],[1250294400000, 6.554447],[1250380800000, 6.554447],[1250467200000, 6.554447],[1250553600000, 6.383019],[1250640000000, 6.450408],[1250726400000, 6.424443],[1250812800000, 6.557902],[1250899200000, 6.616282],[1250985600000, 6.616282],[1251072000000, 6.616282],[1251158400000, 6.616282],[1251244800000, 6.688537],[1251331200000, 6.642372],[1251417600000, 6.665520],[1251504000000, 6.752221],[1251590400000, 6.752221],[1251676800000, 6.752221]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });