$(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: [[1443657600000,14.968],[1443744000000,14.9536],[1443830400000,14.8712],[1443916800000,14.8712],[1444003200000,14.8712],[1444089600000,15.0368],[1444176000000,15.1237],[1444262400000,15.3747],[1444348800000,15.3027],[1444435200000,15.7554],[1444521600000,15.7554],[1444608000000,15.7554],[1444694400000,16.0823],[1444780800000,16.0066],[1444867200000,16.0066],[1444953600000,15.8928],[1445040000000,15.4556],[1445126400000,15.4556],[1445212800000,15.4556],[1445299200000,15.7237],[1445385600000,16.0185],[1445472000000,16.3434],[1445558400000,16.063],[1445644800000,16.4077],[1445731200000,16.4077],[1445817600000,16.4077],[1445904000000,16.6129],[1445990400000,16.5299],[1446076800000,16.3265],[1446163200000,16.2075],[1446249600000,16.2971]], 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: [[1443657600000, 14.968004],[1443657600000, 14.968004],[1443744000000, 14.953593],[1443830400000, 14.871170],[1443916800000, 14.871170],[1444003200000, 14.871170],[1444089600000, 15.036834],[1444176000000, 15.123737],[1444262400000, 15.374676],[1444348800000, 15.302746],[1444435200000, 15.755381],[1444521600000, 15.755381],[1444608000000, 15.755381],[1444694400000, 16.082253],[1444780800000, 16.006640],[1444867200000, 16.006640],[1444953600000, 15.892838],[1445040000000, 15.455593],[1445126400000, 15.455593],[1445212800000, 15.455593],[1445299200000, 15.723736],[1445385600000, 16.018452],[1445472000000, 16.343397],[1445558400000, 16.062978],[1445644800000, 16.407719],[1445731200000, 16.407719],[1445817600000, 16.407719],[1445904000000, 16.612885],[1445990400000, 16.529871],[1446076800000, 16.326453],[1446163200000, 16.207468],[1446249600000, 16.297085]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });