$(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: [[1338508800000,7.78353],[1338595200000,7.7109],[1338681600000,7.7109],[1338768000000,7.7109],[1338854400000,7.7109],[1338940800000,7.78395],[1339027200000,7.8814],[1339113600000,7.98109],[1339200000000,7.86818],[1339286400000,7.86818],[1339372800000,7.86818],[1339459200000,7.95571],[1339545600000,7.92336],[1339632000000,7.78395],[1339718400000,7.94502],[1339804800000,8.01286],[1339891200000,8.01286],[1339977600000,8.01286],[1340064000000,8.0557],[1340150400000,8.12318],[1340236800000,8.15163],[1340323200000,8.13766],[1340409600000,8.02386],[1340496000000,8.02386],[1340582400000,8.02386],[1340668800000,7.99762],[1340755200000,8.02014],[1340841600000,8.05317],[1340928000000,8.05317],[1341014400000,8.05317]], 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: [[1338508800000, 7.783525],[1338508800000, 7.783525],[1338595200000, 7.710898],[1338681600000, 7.710898],[1338768000000, 7.710898],[1338854400000, 7.710898],[1338940800000, 7.783951],[1339027200000, 7.881397],[1339113600000, 7.981094],[1339200000000, 7.868179],[1339286400000, 7.868179],[1339372800000, 7.868179],[1339459200000, 7.955715],[1339545600000, 7.923364],[1339632000000, 7.783951],[1339718400000, 7.945024],[1339804800000, 8.012857],[1339891200000, 8.012857],[1339977600000, 8.012857],[1340064000000, 8.055705],[1340150400000, 8.123176],[1340236800000, 8.151631],[1340323200000, 8.137655],[1340409600000, 8.023856],[1340496000000, 8.023856],[1340582400000, 8.023856],[1340668800000, 7.997623],[1340755200000, 8.020145],[1340841600000, 8.053167],[1340928000000, 8.053167],[1341014400000, 8.053167]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });