$(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: [[1177977600000,4.19516],[1178064000000,4.19516],[1178150400000,4.19516],[1178236800000,4.16741],[1178323200000,4.13495],[1178409600000,4.13495],[1178496000000,4.13495],[1178582400000,4.17131],[1178668800000,4.18636],[1178755200000,4.18636],[1178841600000,4.20171],[1178928000000,4.19362],[1179014400000,4.19362],[1179100800000,4.19362],[1179187200000,4.20389],[1179273600000,4.1997],[1179360000000,4.19002],[1179446400000,4.15662],[1179532800000,4.14968],[1179619200000,4.14968],[1179705600000,4.14968],[1179792000000,4.13775],[1179878400000,4.15221],[1179964800000,4.17021],[1180051200000,4.15341],[1180137600000,4.1391],[1180224000000,4.1391],[1180310400000,4.1391],[1180396800000,4.1391],[1180483200000,4.14135],[1180569600000,4.1349]], 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: [[1177977600000, 4.195162],[1177977600000, 4.195162],[1178064000000, 4.195162],[1178150400000, 4.195162],[1178236800000, 4.167413],[1178323200000, 4.134950],[1178409600000, 4.134950],[1178496000000, 4.134950],[1178582400000, 4.171313],[1178668800000, 4.186359],[1178755200000, 4.186359],[1178841600000, 4.201707],[1178928000000, 4.193615],[1179014400000, 4.193615],[1179100800000, 4.193615],[1179187200000, 4.203886],[1179273600000, 4.199699],[1179360000000, 4.190018],[1179446400000, 4.156617],[1179532800000, 4.149677],[1179619200000, 4.149677],[1179705600000, 4.149677],[1179792000000, 4.137750],[1179878400000, 4.152215],[1179964800000, 4.170207],[1180051200000, 4.153410],[1180137600000, 4.139097],[1180224000000, 4.139097],[1180310400000, 4.139097],[1180396800000, 4.139097],[1180483200000, 4.141349],[1180569600000, 4.134899]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });