$(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: [[1414800000000,11.4005],[1414886400000,11.4005],[1414972800000,11.4005],[1415059200000,11.3829],[1415145600000,11.28],[1415232000000,11.7767],[1415318400000,12.0165],[1415404800000,12.4659],[1415491200000,12.4659],[1415577600000,12.4659],[1415664000000,12.725],[1415750400000,13.6694],[1415836800000,13.6016],[1415923200000,13.5484],[1416009600000,13.4683],[1416096000000,13.4683],[1416182400000,13.4683],[1416268800000,null],[1416355200000,13.3239],[1416441600000,13.2627],[1416528000000,13.0827],[1416614400000,12.9963],[1416700800000,12.9963],[1416787200000,12.9963],[1416873600000,13.1223],[1416960000000,12.9456],[1417046400000,12.7738],[1417132800000,12.7301],[1417219200000,12.8308],[1417305600000,12.8308]], 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: [[1414800000000, 11.400511],[1414800000000, 11.400511],[1414886400000, 11.400511],[1414972800000, 11.400511],[1415059200000, 11.382914],[1415145600000, 11.279970],[1415232000000, 11.776712],[1415318400000, 12.016475],[1415404800000, 12.465881],[1415491200000, 12.465881],[1415577600000, 12.465881],[1415664000000, 12.724980],[1415750400000, 13.669390],[1415836800000, 13.601649],[1415923200000, 13.548437],[1416009600000, 13.468294],[1416096000000, 13.468294],[1416182400000, 13.468294],[1416355200000, 13.323869],[1416441600000, 13.262737],[1416528000000, 13.082687],[1416614400000, 12.996344],[1416700800000, 12.996344],[1416787200000, 12.996344],[1416873600000, 13.122339],[1416960000000, 12.945606],[1417046400000, 12.773832],[1417132800000, 12.730067],[1417219200000, 12.830802],[1417305600000, 12.830802]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });