$(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: 'Курс UZS, грн'}, 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.005068],[1088640000000, 0.005068],[1120176000000, 0.004605],[1151712000000, 0.004141],[1183248000000, 0.003997],[1214870400000, 0.004073],[1246406400000, 0.005313],[1277942400000, 0.005002],[1309478400000, 0.004731],[1341100800000, 0.004221],[1372636800000, 0.003819],[1404172800000, 0.005115],[1435708800000, 0.008512],[1467331200000, 0.008712],[1498867200000, 0.008293]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });