$(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: 'Курс USD, грн'}, 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: 'Среднее за период', data: [[962409600000, 5.437945],[962409600000, 5.437945],[993945600000, 5.371487],[1025481600000, 5.326679],[1057017600000, 5.332678],[1088640000000, 5.319475],[1120176000000, 5.121923],[1151712000000, 5.050000],[1183248000000, 5.050000],[1214870400000, 5.446250],[1246406400000, 7.794292],[1277942400000, 7.934767],[1309478400000, 7.954358],[1341100800000, 7.991130],[1372636800000, 7.993000],[1404172800000, 11.889897],[1435708800000, 21.856101],[1467331200000, 25.553164],[1498867200000, 26.616671],[1530403200000, 27.204379],[1561939200000, 26.512239]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });