$(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: [[1254355200000,7.0621],[1254441600000,7.0405],[1254528000000,6.91539],[1254614400000,6.91539],[1254700800000,6.91539],[1254787200000,7.00498],[1254873600000,7.11495],[1254960000000,7.12808],[1255046400000,7.23428],[1255132800000,7.25365],[1255219200000,7.25365],[1255305600000,7.25365],[1255392000000,7.26058],[1255478400000,7.28255],[1255564800000,7.2901],[1255651200000,7.31557],[1255737600000,7.30931],[1255824000000,7.30931],[1255910400000,7.30931],[1255996800000,7.33657],[1256083200000,7.41074],[1256169600000,7.37333],[1256256000000,7.39606],[1256342400000,7.39944],[1256428800000,7.39944],[1256515200000,7.39944],[1256601600000,7.3915],[1256688000000,7.35262],[1256774400000,7.25132],[1256860800000,7.26862],[1256947200000,7.26904]], 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: [[1254355200000, 7.062098],[1254355200000, 7.062098],[1254441600000, 7.040501],[1254528000000, 6.915392],[1254614400000, 6.915392],[1254700800000, 6.915392],[1254787200000, 7.004976],[1254873600000, 7.114952],[1254960000000, 7.128085],[1255046400000, 7.234285],[1255132800000, 7.253653],[1255219200000, 7.253653],[1255305600000, 7.253653],[1255392000000, 7.260584],[1255478400000, 7.282550],[1255564800000, 7.290104],[1255651200000, 7.315574],[1255737600000, 7.309315],[1255824000000, 7.309315],[1255910400000, 7.309315],[1255996800000, 7.336570],[1256083200000, 7.410743],[1256169600000, 7.373326],[1256256000000, 7.396058],[1256342400000, 7.399443],[1256428800000, 7.399443],[1256515200000, 7.399443],[1256601600000, 7.391496],[1256688000000, 7.352617],[1256774400000, 7.251324],[1256860800000, 7.268616],[1256947200000, 7.269043]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });