$(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: 'Курс EUR, грн'}, 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, 4.834168],[962409600000, 4.834168],[993945600000, 4.815207],[1025481600000, 5.035126],[1057017600000, 6.027807],[1088640000000, 6.603740],[1120176000000, 6.376128],[1151712000000, 6.344060],[1183248000000, 6.921726],[1214870400000, 7.721902],[1246406400000, 10.885544],[1277942400000, 10.522959],[1309478400000, 11.055274],[1341100800000, 10.271174],[1372636800000, 10.612971],[1404172800000, 15.610504],[1435708800000, 24.223293],[1467331200000, 28.271312],[1498867200000, 30.007985],[1530403200000, 32.122517],[1561939200000, 29.861842]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });