$(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: 'Курс AZN, грн'}, 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: [[1088640000000, 0.001082],[1088640000000, 0.001082],[1120176000000, 0.001084],[1151712000000, 5.610178],[1183248000000, 5.885991],[1214870400000, 6.714269],[1246406400000, 9.697226],[1277942400000, 9.885889],[1309478400000, 10.029329],[1341100800000, 10.171955],[1372636800000, 10.188003],[1404172800000, 11.505001],[1561939200000, 13.955542]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });