$(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: [[1380585600000,7.45171],[1380672000000,7.52969],[1380758400000,7.47167],[1380844800000,7.49357],[1380931200000,7.54035],[1381017600000,7.54035],[1381104000000,7.54035],[1381190400000,7.52243],[1381276800000,7.57984],[1381363200000,7.55475],[1381449600000,7.55475],[1381536000000,7.5732],[1381622400000,7.5732],[1381708800000,7.5732],[1381795200000,7.57473],[1381881600000,7.61273],[1381968000000,7.61883],[1382054400000,7.69179],[1382140800000,7.71722],[1382227200000,7.71722],[1382313600000,7.71722],[1382400000000,7.72617],[1382486400000,7.72794],[1382572800000,7.68777],[1382659200000,7.68729],[1382745600000,7.66369],[1382832000000,7.66369],[1382918400000,7.66369],[1383004800000,7.65799],[1383091200000,7.58688],[1383177600000,7.59752]], 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: [[1380585600000, 7.451710],[1380585600000, 7.451710],[1380672000000, 7.529686],[1380758400000, 7.471669],[1380844800000, 7.493575],[1380931200000, 7.540346],[1381017600000, 7.540346],[1381104000000, 7.540346],[1381190400000, 7.522432],[1381276800000, 7.579839],[1381363200000, 7.554752],[1381449600000, 7.554752],[1381536000000, 7.573197],[1381622400000, 7.573197],[1381708800000, 7.573197],[1381795200000, 7.574726],[1381881600000, 7.612730],[1381968000000, 7.618828],[1382054400000, 7.691792],[1382140800000, 7.717224],[1382227200000, 7.717224],[1382313600000, 7.717224],[1382400000000, 7.726171],[1382486400000, 7.727942],[1382572800000, 7.687770],[1382659200000, 7.687290],[1382745600000, 7.663690],[1382832000000, 7.663690],[1382918400000, 7.663690],[1383004800000, 7.657991],[1383091200000, 7.586875],[1383177600000, 7.597520]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });