$(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: [[1172707200000,3.9804],[1172793600000,3.97206],[1172880000000,3.95532],[1172966400000,3.95532],[1173052800000,3.95532],[1173139200000,3.91011],[1173225600000,3.90272],[1173312000000,3.93263],[1173398400000,3.93263],[1173484800000,3.93263],[1173571200000,3.93263],[1173657600000,3.93263],[1173744000000,3.94688],[1173830400000,3.97492],[1173916800000,3.9538],[1174003200000,3.97804],[1174089600000,4.01571],[1174176000000,4.01571],[1174262400000,4.01571],[1174348800000,4.03897],[1174435200000,4.04],[1174521600000,4.04639],[1174608000000,4.07584],[1174694400000,4.07418],[1174780800000,4.07418],[1174867200000,4.07418],[1174953600000,4.07075],[1175040000000,4.08747],[1175126400000,4.07739],[1175212800000,4.08504],[1175299200000,4.08007]], 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: [[1172707200000, 3.980404],[1172707200000, 3.980404],[1172793600000, 3.972062],[1172880000000, 3.955323],[1172966400000, 3.955323],[1173052800000, 3.955323],[1173139200000, 3.910111],[1173225600000, 3.902720],[1173312000000, 3.932635],[1173398400000, 3.932635],[1173484800000, 3.932635],[1173571200000, 3.932635],[1173657600000, 3.932635],[1173744000000, 3.946878],[1173830400000, 3.974924],[1173916800000, 3.953804],[1174003200000, 3.978041],[1174089600000, 4.015710],[1174176000000, 4.015710],[1174262400000, 4.015710],[1174348800000, 4.038968],[1174435200000, 4.040000],[1174521600000, 4.046392],[1174608000000, 4.075840],[1174694400000, 4.074178],[1174780800000, 4.074178],[1174867200000, 4.074178],[1174953600000, 4.070749],[1175040000000, 4.087468],[1175126400000, 4.077389],[1175212800000, 4.085036],[1175299200000, 4.080072]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });