$(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: 'Курс JPY, грн'}, 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.049832],[1088640000000, 0.049832],[1120176000000, 0.046577],[1151712000000, 0.043422],[1183248000000, 0.042943],[1214870400000, 0.053895],[1246406400000, 0.083439],[1277942400000, 0.090601],[1309478400000, 0.097546],[1341100800000, 0.100033],[1372636800000, 0.082111],[1404172800000, 0.110967],[1435708800000, 0.180433],[1467331200000, 0.235477],[1498867200000, 0.237281],[1530403200000, 0.246338],[1561939200000, 0.242528]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });