$(function () { $('#graph_hum').highcharts( { title: { text: 'Относительная влажность воздуха, %' }, legend: { enabled: false }, xAxis: { title: false, type: 'datetime', minorTickPosition: 'inside', gridLineWidth: 1, gridLineDashStyle: 'Dot', }, yAxis: { title: false, min: 0, max: 100, tickInterval: 20, allowDecimals: false, showEmpty: false, gridLineDashStyle: 'Dot', plotLines: [{ value: 0, color: '#f00', width: 2, dashStyle: 'ShortDot'}] }, tooltip: { formatter: function() { return '' + this.y + ' % в ' + moment.utc(this.x).format("HH:mm
DD.MM.YYYY"); } }, credits: { enabled: false }, series: [ { type: 'spline', marker: { radius: 1 }, data: [ ] } ] }); });