$(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: [[1388534400000,7.12081],[1388620800000,7.12081],[1388707200000,7.12081],[1388793600000,7.19032],[1388880000000,7.19032],[1388966400000,7.19032],[1389052800000,7.19032],[1389139200000,7.19032],[1389225600000,7.14284],[1389312000000,7.09123],[1389398400000,7.11437],[1389484800000,7.11437],[1389571200000,7.11437],[1389657600000,7.24389],[1389744000000,7.19207],[1389830400000,7.12525],[1389916800000,7.03117],[1390003200000,7.02536],[1390089600000,7.02536],[1390176000000,7.02536],[1390262400000,7.0466],[1390348800000,7.01898],[1390435200000,7.0913],[1390521600000,7.01522],[1390608000000,6.96151],[1390694400000,6.96151],[1390780800000,6.96151],[1390867200000,6.98991],[1390953600000,7.03168],[1391040000000,7.00153],[1391126400000,7.01837]], 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: [[1388534400000, 7.120811],[1388534400000, 7.120811],[1388620800000, 7.120811],[1388707200000, 7.120811],[1388793600000, 7.190325],[1388880000000, 7.190325],[1388966400000, 7.190325],[1389052800000, 7.190325],[1389139200000, 7.190325],[1389225600000, 7.142837],[1389312000000, 7.091228],[1389398400000, 7.114372],[1389484800000, 7.114372],[1389571200000, 7.114372],[1389657600000, 7.243888],[1389744000000, 7.192069],[1389830400000, 7.125254],[1389916800000, 7.031172],[1390003200000, 7.025358],[1390089600000, 7.025358],[1390176000000, 7.025358],[1390262400000, 7.046597],[1390348800000, 7.018978],[1390435200000, 7.091298],[1390521600000, 7.015221],[1390608000000, 6.961514],[1390694400000, 6.961514],[1390780800000, 6.961514],[1390867200000, 6.989909],[1390953600000, 7.031676],[1391040000000, 7.001528],[1391126400000, 7.018370]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });