$(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: 'Курс GBP, грн'}, 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: [[962409600000, 7.958876],[962409600000, 7.958876],[993945600000, 7.740201],[1025481600000, 8.004122],[1057017600000, 8.714312],[1088640000000, 9.736407],[1120176000000, 9.320824],[1151712000000, 9.307269],[1183248000000, 10.109561],[1214870400000, 9.478068],[1246406400000, 12.231931],[1277942400000, 12.256440],[1309478400000, 12.791267],[1341100800000, 12.679268],[1372636800000, 12.506901],[1404172800000, 19.421726],[1435708800000, 33.417605],[1467331200000, 34.642281],[1498867200000, 34.241688],[1530403200000, 36.312512],[1561939200000, 33.876348]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });