$(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: [[1375315200000,7.20591],[1375401600000,7.18084],[1375488000000,7.11273],[1375574400000,null],[1375660800000,7.11273],[1375747200000,7.10686],[1375833600000,7.16387],[1375920000000,7.14793],[1376006400000,7.25156],[1376092800000,7.32778],[1376179200000,7.32778],[1376265600000,7.32778],[1376352000000,7.32251],[1376438400000,7.30132],[1376524800000,7.28803],[1376611200000,7.31724],[1376697600000,7.33333],[1376784000000,7.33333],[1376870400000,7.33333],[1376956800000,7.30939],[1377043200000,7.25169],[1377129600000,7.2229],[1377216000000,7.18901],[1377302400000,7.17431],[1377388800000,7.17431],[1377475200000,7.17431],[1377561600000,7.17431],[1377648000000,7.16614],[1377734400000,7.12404],[1377820800000,7.14571],[1377907200000,7.13815]], 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: [[1375315200000, 7.205913],[1375315200000, 7.205913],[1375401600000, 7.180842],[1375488000000, 7.112730],[1375660800000, 7.112730],[1375747200000, 7.106855],[1375833600000, 7.163869],[1375920000000, 7.147927],[1376006400000, 7.251561],[1376092800000, 7.327784],[1376179200000, 7.327784],[1376265600000, 7.327784],[1376352000000, 7.322506],[1376438400000, 7.301324],[1376524800000, 7.288027],[1376611200000, 7.317241],[1376697600000, 7.333330],[1376784000000, 7.333330],[1376870400000, 7.333330],[1376956800000, 7.309388],[1377043200000, 7.251694],[1377129600000, 7.222896],[1377216000000, 7.189006],[1377302400000, 7.174307],[1377388800000, 7.174307],[1377475200000, 7.174307],[1377561600000, 7.174307],[1377648000000, 7.166138],[1377734400000, 7.124045],[1377820800000, 7.145706],[1377907200000, 7.138148]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });