$(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: [ [moment.utc('2024-04-24 06:15:00').valueOf(), 731.2], [moment.utc('2024-04-24 06:20:00').valueOf(), 731.0], [moment.utc('2024-04-24 06:25:00').valueOf(), 731.0], [moment.utc('2024-04-24 06:30:00').valueOf(), 730.9], [moment.utc('2024-04-24 10:20:00').valueOf(), 730.3], [moment.utc('2024-04-24 10:25:00').valueOf(), 730.5], [moment.utc('2024-04-24 10:30:00').valueOf(), 730.4], [moment.utc('2024-04-24 10:35:00').valueOf(), 730.3], [moment.utc('2024-04-24 10:40:00').valueOf(), 730.3], [moment.utc('2024-04-24 10:45:00').valueOf(), 730.3], [moment.utc('2024-04-24 10:50:00').valueOf(), 730.2], [moment.utc('2024-04-24 10:55:00').valueOf(), 730.1], [moment.utc('2024-04-24 11:00:00').valueOf(), 730.1], [moment.utc('2024-04-24 11:05:00').valueOf(), 730.2], [moment.utc('2024-04-24 11:10:00').valueOf(), 730.2], [moment.utc('2024-04-24 11:15:00').valueOf(), 730.2], [moment.utc('2024-04-24 11:20:00').valueOf(), 730.0], [moment.utc('2024-04-24 11:25:00').valueOf(), 730.0], [moment.utc('2024-04-24 11:30:00').valueOf(), 730.0], [moment.utc('2024-04-24 11:35:00').valueOf(), 730.0], [moment.utc('2024-04-24 11:40:00').valueOf(), 730.0], [moment.utc('2024-04-24 11:45:00').valueOf(), 730.0], [moment.utc('2024-04-24 11:50:00').valueOf(), 729.9], [moment.utc('2024-04-24 11:55:00').valueOf(), 729.9], [moment.utc('2024-04-24 12:00:00').valueOf(), 730.0], [moment.utc('2024-04-24 12:05:00').valueOf(), 729.7], [moment.utc('2024-04-24 12:10:00').valueOf(), 729.7], [moment.utc('2024-04-24 12:15:00').valueOf(), 729.8], [moment.utc('2024-04-24 12:20:00').valueOf(), 729.9], [moment.utc('2024-04-24 12:25:00').valueOf(), 729.8], [moment.utc('2024-04-24 12:30:00').valueOf(), 729.7], [moment.utc('2024-04-24 12:35:00').valueOf(), 729.7], [moment.utc('2024-04-24 12:40:00').valueOf(), 729.7], [moment.utc('2024-04-24 12:45:00').valueOf(), 729.7], [moment.utc('2024-04-24 12:50:00').valueOf(), 729.7], [moment.utc('2024-04-24 12:55:00').valueOf(), 729.7], [moment.utc('2024-04-24 13:00:00').valueOf(), 729.6], [moment.utc('2024-04-24 13:05:00').valueOf(), 729.5], [moment.utc('2024-04-24 13:10:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:15:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:20:00').valueOf(), 729.5], [moment.utc('2024-04-24 13:25:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:30:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:35:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:40:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:45:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:50:00').valueOf(), 729.4], [moment.utc('2024-04-24 13:55:00').valueOf(), 729.4], [moment.utc('2024-04-24 14:00:00').valueOf(), 729.3], [moment.utc('2024-04-24 14:05:00').valueOf(), 729.4], [moment.utc('2024-04-24 14:10:00').valueOf(), 729.4], [moment.utc('2024-04-24 14:15:00').valueOf(), 729.2], [moment.utc('2024-04-24 14:20:00').valueOf(), 729.1], [moment.utc('2024-04-24 14:25:00').valueOf(), 729.1], [moment.utc('2024-04-24 14:30:00').valueOf(), 729.2], [moment.utc('2024-04-24 14:35:00').valueOf(), 729.1], [moment.utc('2024-04-24 14:40:00').valueOf(), 729.1], [moment.utc('2024-04-24 14:45:00').valueOf(), 729.0], [moment.utc('2024-04-24 14:50:00').valueOf(), 729.0], [moment.utc('2024-04-24 14:55:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:00:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:05:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:10:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:15:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:20:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:25:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:30:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:35:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:40:00').valueOf(), 728.8], [moment.utc('2024-04-24 15:45:00').valueOf(), 728.7], [moment.utc('2024-04-24 15:50:00').valueOf(), 728.5], [moment.utc('2024-04-24 15:55:00').valueOf(), 728.6], [moment.utc('2024-04-24 16:00:00').valueOf(), 728.5], [moment.utc('2024-04-24 16:05:00').valueOf(), 728.5], [moment.utc('2024-04-24 16:10:00').valueOf(), 728.5], [moment.utc('2024-04-24 16:15:00').valueOf(), 728.4], [moment.utc('2024-04-24 16:20:00').valueOf(), 728.5], [moment.utc('2024-04-24 16:25:00').valueOf(), 728.4], [moment.utc('2024-04-24 16:30:00').valueOf(), 728.5], [moment.utc('2024-04-24 16:35:00').valueOf(), 728.4], [moment.utc('2024-04-24 16:40:00').valueOf(), 728.4], [moment.utc('2024-04-24 16:45:00').valueOf(), 728.3], [moment.utc('2024-04-24 16:50:00').valueOf(), 728.2], [moment.utc('2024-04-24 16:55:00').valueOf(), 728.2], [moment.utc('2024-04-24 17:00:00').valueOf(), 728.2], [moment.utc('2024-04-24 17:05:00').valueOf(), 728.2], [moment.utc('2024-04-24 17:10:00').valueOf(), 728.2], [moment.utc('2024-04-24 17:15:00').valueOf(), 728.2], [moment.utc('2024-04-24 17:20:00').valueOf(), 728.1], [moment.utc('2024-04-24 17:25:00').valueOf(), 728.1], [moment.utc('2024-04-24 17:30:00').valueOf(), 728.0], [moment.utc('2024-04-24 17:50:00').valueOf(), null], [moment.utc('2024-04-24 17:55:00').valueOf(), 728.0], [moment.utc('2024-04-24 18:00:00').valueOf(), 728.0], [moment.utc('2024-04-24 18:05:00').valueOf(), 728.0], [moment.utc('2024-04-24 18:10:00').valueOf(), 728.1], [moment.utc('2024-04-24 18:15:00').valueOf(), 728.0], [moment.utc('2024-04-24 18:20:00').valueOf(), 727.9], [moment.utc('2024-04-24 18:25:00').valueOf(), 727.8], [moment.utc('2024-04-24 18:30:00').valueOf(), 727.9], [moment.utc('2024-04-24 18:35:00').valueOf(), 727.9], [moment.utc('2024-04-24 18:40:00').valueOf(), 727.9], [moment.utc('2024-04-24 18:50:00').valueOf(), 728.0], [moment.utc('2024-04-24 18:55:00').valueOf(), 728.0], [moment.utc('2024-04-24 19:55:00').valueOf(), null], [moment.utc('2024-04-24 20:00:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:05:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:10:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:15:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:20:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:25:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:30:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:35:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:40:00').valueOf(), 728.1], [moment.utc('2024-04-24 20:45:00').valueOf(), 728.2], [moment.utc('2024-04-24 20:50:00').valueOf(), 728.1], [moment.utc('2024-04-24 20:55:00').valueOf(), 728.2], [moment.utc('2024-04-24 21:00:00').valueOf(), 728.2], [moment.utc('2024-04-24 21:05:00').valueOf(), 728.2], [moment.utc('2024-04-24 21:10:00').valueOf(), 728.1], [moment.utc('2024-04-24 21:15:00').valueOf(), 728.1], [moment.utc('2024-04-24 21:20:00').valueOf(), 728.1], [moment.utc('2024-04-24 21:25:00').valueOf(), 728.1], [moment.utc('2024-04-24 21:30:00').valueOf(), 728.2], [moment.utc('2024-04-24 21:35:00').valueOf(), 728.2], [moment.utc('2024-04-24 21:40:00').valueOf(), 728.2], [moment.utc('2024-04-24 21:45:00').valueOf(), 728.2], [moment.utc('2024-04-24 21:50:00').valueOf(), 728.1], [moment.utc('2024-04-24 21:55:00').valueOf(), 728.0], [moment.utc('2024-04-24 22:00:00').valueOf(), 728.1], [moment.utc('2024-04-24 22:05:00').valueOf(), 728.0], [moment.utc('2024-04-24 22:10:00').valueOf(), 728.1], [moment.utc('2024-04-24 22:15:00').valueOf(), 728.0], [moment.utc('2024-04-24 22:20:00').valueOf(), 727.9], [moment.utc('2024-04-24 22:25:00').valueOf(), 728.0], [moment.utc('2024-04-24 22:30:00').valueOf(), 728.0], [moment.utc('2024-04-24 22:35:00').valueOf(), 728.0], ] } ] }); });