$(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: 'Курс LTL, грн'}, 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, 1.971630],[1088640000000, 1.971630],[1120176000000, 1.847839],[1151712000000, 1.837767],[1183248000000, 2.004670],[1214870400000, 2.236417],[1246406400000, 3.152671],[1277942400000, 3.047660],[1309478400000, 3.201829],[1341100800000, 2.974738],[1372636800000, 3.073729],[1404172800000, 4.521115],[1435708800000, 5.570235]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });