From 19190f8d7901f1f6bb51d6d5610ab92f32147116 Mon Sep 17 00:00:00 2001 From: Nick Krecklow Date: Mon, 11 May 2020 02:35:11 -0500 Subject: [PATCH] fix timestamp, graph spacing --- assets/css/main.css | 4 ++++ assets/js/graph.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/main.css b/assets/css/main.css index 6a1c874..9a9fb62 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -343,6 +343,10 @@ footer a:hover { color: var(--text-color); } +#big-graph { + padding-right: 60px; +} + #big-graph, #big-graph-controls, #big-graph-checkboxes { width: 90%; } diff --git a/assets/js/graph.js b/assets/js/graph.js index f64fefa..5449aa0 100644 --- a/assets/js/graph.js +++ b/assets/js/graph.js @@ -141,7 +141,7 @@ export class GraphDisplayManager { uPlotTooltipPlugin((pos, id, plot) => { if (pos) { // FIXME - let text = '' + formatTimestamp(this._graphTimestamps[id]) + '

' + let text = '' + formatTimestamp(this._graphTimestamps[id] * 1000) + '

' for (let i = 1; i < plot.series.length; i++) { const serverRegistration = this._app.serverRegistry.getServerRegistration(i - 1)