$(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: 'Курс CHF, грн'}, 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, 4.437354],[1088640000000, 4.437354],[1120176000000, 4.117893],[1151712000000, 4.031498],[1183248000000, 4.213030],[1214870400000, 4.912780],[1246406400000, 7.204509],[1277942400000, 7.626668],[1309478400000, 8.626938],[1341100800000, 8.524590],[1372636800000, 8.625199],[1404172800000, 12.874747],[1435708800000, 22.721805],[1467331200000, 25.937865],[1498867200000, 27.016047],[1530403200000, 27.818808],[1561939200000, 26.630727]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });