$(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: [[1354320000000,8.32108],[1354406400000,8.32108],[1354492800000,8.32108],[1354579200000,8.33783],[1354665600000,8.37356],[1354752000000,8.36566],[1354838400000,8.38829],[1354924800000,8.3739],[1355011200000,8.3739],[1355097600000,8.3739],[1355184000000,8.39012],[1355270400000,8.3881],[1355356800000,8.43411],[1355443200000,8.43552],[1355529600000,8.4123],[1355616000000,8.4123],[1355702400000,8.4123],[1355788800000,8.41907],[1355875200000,8.41846],[1355961600000,8.39369],[1356048000000,8.38151],[1356134400000,8.3383],[1356220800000,8.3383],[1356307200000,8.3383],[1356393600000,8.3092],[1356480000000,8.3092],[1356566400000,8.3092],[1356652800000,8.29566],[1356739200000,8.30222],[1356825600000,8.30222],[1356912000000,8.30222]], 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: [[1354320000000, 8.321076],[1354320000000, 8.321076],[1354406400000, 8.321076],[1354492800000, 8.321076],[1354579200000, 8.337829],[1354665600000, 8.373558],[1354752000000, 8.365661],[1354838400000, 8.388286],[1354924800000, 8.373897],[1355011200000, 8.373897],[1355097600000, 8.373897],[1355184000000, 8.390119],[1355270400000, 8.388099],[1355356800000, 8.434109],[1355443200000, 8.435515],[1355529600000, 8.412296],[1355616000000, 8.412296],[1355702400000, 8.412296],[1355788800000, 8.419072],[1355875200000, 8.418459],[1355961600000, 8.393691],[1356048000000, 8.381513],[1356134400000, 8.338299],[1356220800000, 8.338299],[1356307200000, 8.338299],[1356393600000, 8.309200],[1356480000000, 8.309200],[1356566400000, 8.309200],[1356652800000, 8.295661],[1356739200000, 8.302215],[1356825600000, 8.302215],[1356912000000, 8.302215]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });