$(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: 'Курс CNY, грн'}, 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.641119],[1088640000000, 0.641119],[1120176000000, 0.625223],[1151712000000, 0.633509],[1183248000000, 0.664152],[1214870400000, 0.793726],[1246406400000, 1.141018],[1277942400000, 1.172448],[1309478400000, 1.217538],[1341100800000, 1.266681],[1372636800000, 1.299932],[1404172800000, 1.933276],[1435708800000, 3.479353],[1467331200000, 3.847940],[1498867200000, 3.936448],[1530403200000, 4.114885],[1561939200000, 3.880835]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });