$(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: [[1383264000000,7.5965],[1383350400000,null],[1383436800000,7.56715],[1383523200000,7.56715],[1383609600000,7.59433],[1383696000000,7.61867],[1383782400000,7.61606],[1383868800000,7.5828],[1383955200000,7.56387],[1384041600000,7.56387],[1384128000000,7.56387],[1384214400000,7.47927],[1384300800000,7.45517],[1384387200000,7.44161],[1384473600000,7.43005],[1384560000000,7.45984],[1384646400000,7.45984],[1384732800000,7.45984],[1384819200000,7.51435],[1384905600000,7.52538],[1384992000000,7.49905],[1385078400000,7.40793],[1385164800000,7.32737],[1385251200000,7.32737],[1385337600000,7.32737],[1385424000000,7.32123],[1385510400000,7.28626],[1385596800000,7.26811],[1385683200000,7.284],[1385769600000,7.2849]], 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: [[1383264000000, 7.596496],[1383264000000, 7.596496],[1383436800000, 7.567155],[1383523200000, 7.567155],[1383609600000, 7.594334],[1383696000000, 7.618672],[1383782400000, 7.616057],[1383868800000, 7.582797],[1383955200000, 7.563868],[1384041600000, 7.563868],[1384128000000, 7.563868],[1384214400000, 7.479268],[1384300800000, 7.455175],[1384387200000, 7.441606],[1384473600000, 7.430050],[1384560000000, 7.459838],[1384646400000, 7.459838],[1384732800000, 7.459838],[1384819200000, 7.514354],[1384905600000, 7.525381],[1384992000000, 7.499051],[1385078400000, 7.407932],[1385164800000, 7.327368],[1385251200000, 7.327368],[1385337600000, 7.327368],[1385424000000, 7.321228],[1385510400000, 7.286264],[1385596800000, 7.268113],[1385683200000, 7.284000],[1385769600000, 7.284902]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });