$(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: [[1433116800000,16.132],[1433203200000,16.132],[1433289600000,16.2035],[1433376000000,16.3313],[1433462400000,16.2684],[1433548800000,16.2287],[1433635200000,16.2287],[1433721600000,16.2287],[1433808000000,16.1167],[1433894400000,16.3038],[1433980800000,16.3742],[1434067200000,16.2513],[1434153600000,16.228],[1434240000000,16.228],[1434326400000,16.228],[1434412800000,16.633],[1434499200000,17.1514],[1434585600000,16.6186],[1434672000000,16.6944],[1434758400000,16.7541],[1434844800000,16.7541],[1434931200000,16.7541],[1435017600000,16.897],[1435104000000,16.5892],[1435190400000,16.4077],[1435276800000,16.4069],[1435363200000,16.0901],[1435449600000,16.0901],[1435536000000,16.0901],[1435622400000,16.0901]], 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: [[1433116800000, 16.132042],[1433116800000, 16.132042],[1433203200000, 16.132042],[1433289600000, 16.203462],[1433376000000, 16.331288],[1433462400000, 16.268449],[1433548800000, 16.228670],[1433635200000, 16.228670],[1433721600000, 16.228670],[1433808000000, 16.116694],[1433894400000, 16.303810],[1433980800000, 16.374196],[1434067200000, 16.251347],[1434153600000, 16.228026],[1434240000000, 16.228026],[1434326400000, 16.228026],[1434412800000, 16.632984],[1434499200000, 17.151422],[1434585600000, 16.618552],[1434672000000, 16.694418],[1434758400000, 16.754074],[1434844800000, 16.754074],[1434931200000, 16.754074],[1435017600000, 16.896955],[1435104000000, 16.589226],[1435190400000, 16.407734],[1435276800000, 16.406932],[1435363200000, 16.090085],[1435449600000, 16.090085],[1435536000000, 16.090085],[1435622400000, 16.090085]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });