$(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: 'Курс DKK, грн'}, 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.916271],[1088640000000, 0.916271],[1120176000000, 0.855668],[1151712000000, 0.850528],[1183248000000, 0.928998],[1214870400000, 1.035796],[1246406400000, 1.461930],[1277942400000, 1.412987],[1309478400000, 1.483113],[1341100800000, 1.379760],[1372636800000, 1.423041],[1404172800000, 2.094646],[1435708800000, 3.247564],[1467331200000, 3.797086],[1498867200000, 4.034064],[1530403200000, 4.309912],[1561939200000, 4.000471]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });