$(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: 'Курс HUF, грн'}, 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.027682],[1088640000000, 0.027682],[1120176000000, 0.025709],[1151712000000, 0.024011],[1183248000000, 0.027548],[1214870400000, 0.030947],[1246406400000, 0.038983],[1277942400000, 0.038261],[1309478400000, 0.040407],[1341100800000, 0.035659],[1372636800000, 0.035738],[1404172800000, 0.050454],[1435708800000, 0.078288],[1467331200000, 0.090803],[1498867200000, 0.097032],[1530403200000, 0.100848],[1561939200000, 0.092774]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });