$(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: 'Курс SEK, грн'}, 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.755372],[1088640000000, 0.755372],[1120176000000, 0.687662],[1151712000000, 0.685910],[1183248000000, 0.748226],[1214870400000, 0.786143],[1246406400000, 1.028042],[1277942400000, 1.103498],[1309478400000, 1.238457],[1341100800000, 1.181101],[1372636800000, 1.227150],[1404172800000, 1.711020],[1435708800000, 2.589415],[1467331200000, 2.987995],[1498867200000, 3.112280],[1530403200000, 3.133819],[1561939200000, 2.832533]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });