$(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: 'Курс PLN, грн'}, 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.602158],[1088640000000, 1.602158],[1120176000000, 1.585047],[1151712000000, 1.628694],[1183248000000, 1.832017],[1214870400000, 2.186767],[1246406400000, 2.525966],[1277942400000, 2.636490],[1309478400000, 2.758476],[1341100800000, 2.463608],[1372636800000, 2.529502],[1404172800000, 3.723952],[1435708800000, 5.796960],[1467331200000, 6.483241],[1498867200000, 7.051870],[1530403200000, 7.544380],[1561939200000, 6.954020]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });