$(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: 'Курс BYN, грн'}, 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.002444],[1088640000000, 0.002444],[1120176000000, 0.002379],[1151712000000, 0.002356],[1183248000000, 0.002352],[1214870400000, 0.002550],[1246406400000, 0.002790],[1277942400000, 0.002663],[1309478400000, 0.002413],[1341100800000, 0.000959],[1372636800000, 0.000901],[1404172800000, 0.001154],[1435708800000, 0.001390],[1467331200000, 0.001260],[1561939200000, 11.453930]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });