$(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: [[1291161600000,7.58942],[1291248000000,7.64648],[1291334400000,7.6723],[1291420800000,7.78796],[1291507200000,7.78796],[1291593600000,7.78796],[1291680000000,7.85587],[1291766400000,7.91882],[1291852800000,7.78624],[1291939200000,7.82235],[1292025600000,7.8611],[1292112000000,7.8611],[1292198400000,7.8611],[1292284800000,7.88004],[1292371200000,7.96429],[1292457600000,7.91806],[1292544000000,7.88311],[1292630400000,7.86387],[1292716800000,7.86387],[1292803200000,7.86387],[1292889600000,7.91234],[1292976000000,7.94659],[1293062400000,7.94472],[1293148800000,7.97265],[1293235200000,7.99017],[1293321600000,7.99017],[1293408000000,7.99017],[1293494400000,7.97506],[1293580800000,8.05696],[1293667200000,8.05837],[1293753600000,8.08406]], 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: [[1291161600000, 7.589417],[1291161600000, 7.589417],[1291248000000, 7.646483],[1291334400000, 7.672301],[1291420800000, 7.787958],[1291507200000, 7.787958],[1291593600000, 7.787958],[1291680000000, 7.855869],[1291766400000, 7.918815],[1291852800000, 7.786237],[1291939200000, 7.822350],[1292025600000, 7.861098],[1292112000000, 7.861098],[1292198400000, 7.861098],[1292284800000, 7.880043],[1292371200000, 7.964286],[1292457600000, 7.918057],[1292544000000, 7.883109],[1292630400000, 7.863867],[1292716800000, 7.863867],[1292803200000, 7.863867],[1292889600000, 7.912344],[1292976000000, 7.946586],[1293062400000, 7.944717],[1293148800000, 7.972654],[1293235200000, 7.990169],[1293321600000, 7.990169],[1293408000000, 7.990169],[1293494400000, 7.975064],[1293580800000, 8.056965],[1293667200000, 8.058367],[1293753600000, 8.084057]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });