$(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: [[1362096000000,8.19269],[1362182400000,8.15548],[1362268800000,8.15548],[1362355200000,8.15548],[1362441600000,8.10896],[1362528000000,8.18066],[1362614400000,8.22326],[1362700800000,8.19779],[1362787200000,8.19779],[1362873600000,8.19779],[1362960000000,8.19779],[1363046400000,8.17675],[1363132800000,8.25874],[1363219200000,8.25238],[1363305600000,8.27575],[1363392000000,8.29538],[1363478400000,8.29538],[1363564800000,8.29538],[1363651200000,8.30319],[1363737600000,8.2935],[1363824000000,8.29813],[1363910400000,8.33856],[1363996800000,8.33817],[1364083200000,8.33817],[1364169600000,8.33817],[1364256000000,8.36755],[1364342400000,8.38278],[1364428800000,8.34188],[1364515200000,8.31576],[1364601600000,8.31576],[1364688000000,8.31576]], 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: [[1362096000000, 8.192685],[1362096000000, 8.192685],[1362182400000, 8.155482],[1362268800000, 8.155482],[1362355200000, 8.155482],[1362441600000, 8.108958],[1362528000000, 8.180664],[1362614400000, 8.223264],[1362700800000, 8.197787],[1362787200000, 8.197787],[1362873600000, 8.197787],[1362960000000, 8.197787],[1363046400000, 8.176747],[1363132800000, 8.258737],[1363219200000, 8.252377],[1363305600000, 8.275746],[1363392000000, 8.295376],[1363478400000, 8.295376],[1363564800000, 8.295376],[1363651200000, 8.303190],[1363737600000, 8.293498],[1363824000000, 8.298130],[1363910400000, 8.338556],[1363996800000, 8.338170],[1364083200000, 8.338170],[1364169600000, 8.338170],[1364256000000, 8.367551],[1364342400000, 8.382775],[1364428800000, 8.341885],[1364515200000, 8.315759],[1364601600000, 8.315759],[1364688000000, 8.315759]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });