$(function () { $('#graph_press').highcharts( { title: { text: 'Атмосферное давление, мм рт.ст.' }, legend: { enabled: false }, xAxis: { title: false, type: 'datetime', minorTickPosition: 'inside', gridLineWidth: 1, gridLineDashStyle: 'Dot', }, yAxis: { title: false, minRange: 10, 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: [ ] } ] }); });