$(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: 'Курс SGD, грн'}, 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, 3.192344],[1088640000000, 3.192344],[1120176000000, 3.077401],[1151712000000, 3.180390],[1183248000000, 3.354009],[1214870400000, 3.788427],[1246406400000, 5.371408],[1277942400000, 5.827049],[1309478400000, 6.271760],[1341100800000, 6.406221],[1372636800000, 6.390482],[1404172800000, 9.347897],[1435708800000, 15.920480],[1467331200000, 18.513003],[1498867200000, 19.266513],[1530403200000, 20.167668],[1561939200000, 19.457062]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });