$(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: [[1372636800000,7.443],[1372723200000,7.34353],[1372809600000,7.31577],[1372896000000,7.25461],[1372982400000,7.28851],[1373068800000,7.32962],[1373155200000,7.32962],[1373241600000,7.32962],[1373328000000,7.26123],[1373414400000,7.32787],[1373500800000,7.34943],[1373587200000,7.362],[1373673600000,7.21673],[1373760000000,7.21673],[1373846400000,7.21673],[1373932800000,7.23261],[1374019200000,7.37098],[1374105600000,7.35627],[1374192000000,7.32347],[1374278400000,7.36602],[1374364800000,7.36602],[1374451200000,null],[1374537600000,7.37359],[1374624000000,7.3835],[1374710400000,7.37242],[1374796800000,7.33414],[1374883200000,7.39102],[1374969600000,7.39102],[1375056000000,7.39102],[1375142400000,7.38423],[1375228800000,7.26358]], 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: [[1372636800000, 7.442999],[1372636800000, 7.442999],[1372723200000, 7.343534],[1372809600000, 7.315770],[1372896000000, 7.254608],[1372982400000, 7.288511],[1373068800000, 7.329619],[1373155200000, 7.329619],[1373241600000, 7.329619],[1373328000000, 7.261227],[1373414400000, 7.327867],[1373500800000, 7.349430],[1373587200000, 7.362003],[1373673600000, 7.216733],[1373760000000, 7.216733],[1373846400000, 7.216733],[1373932800000, 7.232609],[1374019200000, 7.370979],[1374105600000, 7.356270],[1374192000000, 7.323467],[1374278400000, 7.366021],[1374364800000, 7.366021],[1374537600000, 7.373587],[1374624000000, 7.383497],[1374710400000, 7.372417],[1374796800000, 7.334139],[1374883200000, 7.391017],[1374969600000, 7.391017],[1375056000000, 7.391017],[1375142400000, 7.384232],[1375228800000, 7.263580]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });