$(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: 'Курс RUB, грн'}, 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, 0.195327],[962409600000, 0.195327],[993945600000, 0.184223],[1025481600000, 0.169942],[1057017600000, 0.173862],[1088640000000, 0.185713],[1120176000000, 0.181119],[1151712000000, 0.185998],[1183248000000, 0.197626],[1214870400000, 0.212538],[1246406400000, 0.246916],[1277942400000, 0.261374],[1309478400000, 0.272737],[1341100800000, 0.257721],[1372636800000, 0.251281],[1404172800000, 0.304020],[1435708800000, 0.363993],[1467331200000, 0.383104],[1498867200000, 0.456291],[1530403200000, 0.435353],[1561939200000, 0.407364]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });