$(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: [[1146441600000,3.8142],[1146528000000,3.8142],[1146614400000,3.8142],[1146700800000,3.88263],[1146787200000,3.87907],[1146873600000,3.88754],[1146960000000,3.88754],[1147046400000,3.88754],[1147132800000,3.88754],[1147219200000,3.88754],[1147305600000,3.91518],[1147392000000,3.89564],[1147478400000,3.92653],[1147564800000,3.92653],[1147651200000,3.92653],[1147737600000,3.8575],[1147824000000,3.84769],[1147910400000,3.89312],[1147996800000,3.85259],[1148083200000,3.84067],[1148169600000,3.84067],[1148256000000,3.84067],[1148342400000,3.7904],[1148428800000,3.81543],[1148515200000,3.81235],[1148601600000,3.82],[1148688000000,3.82758],[1148774400000,3.82758],[1148860800000,3.82758],[1148947200000,3.83226],[1149033600000,3.84835]], 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: [[1146441600000, 3.814197],[1146441600000, 3.814197],[1146528000000, 3.814197],[1146614400000, 3.814197],[1146700800000, 3.882628],[1146787200000, 3.879070],[1146873600000, 3.887538],[1146960000000, 3.887538],[1147046400000, 3.887538],[1147132800000, 3.887538],[1147219200000, 3.887538],[1147305600000, 3.915182],[1147392000000, 3.895644],[1147478400000, 3.926528],[1147564800000, 3.926528],[1147651200000, 3.926528],[1147737600000, 3.857501],[1147824000000, 3.847691],[1147910400000, 3.893124],[1147996800000, 3.852590],[1148083200000, 3.840671],[1148169600000, 3.840671],[1148256000000, 3.840671],[1148342400000, 3.790398],[1148428800000, 3.815430],[1148515200000, 3.812345],[1148601600000, 3.819995],[1148688000000, 3.827579],[1148774400000, 3.827579],[1148860800000, 3.827579],[1148947200000, 3.832257],[1149033600000, 3.848347]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });