$(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: [[1475280000000,19.7504],[1475366400000,19.7504],[1475452800000,19.7504],[1475539200000,19.8964],[1475625600000,19.821],[1475712000000,19.7219],[1475798400000,19.6157],[1475884800000,19.5881],[1475971200000,19.5881],[1476057600000,19.5881],[1476144000000,19.6209],[1476230400000,19.5116],[1476316800000,19.5422],[1476403200000,19.4932],[1476489600000,19.4932],[1476576000000,19.4932],[1476662400000,19.4932],[1476748800000,19.6357],[1476835200000,19.6842],[1476921600000,19.7291],[1477008000000,19.7167],[1477094400000,19.5798],[1477180800000,19.5798],[1477267200000,19.5798],[1477353600000,19.5526],[1477440000000,19.5567],[1477526400000,19.6538],[1477612800000,19.4572],[1477699200000,19.3058],[1477785600000,19.3058],[1477872000000,19.3058]], 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: [[1475280000000, 19.750403],[1475280000000, 19.750403],[1475366400000, 19.750403],[1475452800000, 19.750403],[1475539200000, 19.896442],[1475625600000, 19.820979],[1475712000000, 19.721928],[1475798400000, 19.615748],[1475884800000, 19.588150],[1475971200000, 19.588150],[1476057600000, 19.588150],[1476144000000, 19.620913],[1476230400000, 19.511624],[1476316800000, 19.542194],[1476403200000, 19.493203],[1476489600000, 19.493203],[1476576000000, 19.493203],[1476662400000, 19.493203],[1476748800000, 19.635661],[1476835200000, 19.684196],[1476921600000, 19.729058],[1477008000000, 19.716728],[1477094400000, 19.579847],[1477180800000, 19.579847],[1477267200000, 19.579847],[1477353600000, 19.552616],[1477440000000, 19.556698],[1477526400000, 19.653758],[1477612800000, 19.457198],[1477699200000, 19.305794],[1477785600000, 19.305794],[1477872000000, 19.305794]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });