fix timestamp, graph spacing

This commit is contained in:
Nick Krecklow 2020-05-11 02:35:11 -05:00
parent 19a7ce7d91
commit 19190f8d79
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94
2 changed files with 5 additions and 1 deletions

View File

@ -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%;
}

View File

@ -141,7 +141,7 @@ export class GraphDisplayManager {
uPlotTooltipPlugin((pos, id, plot) => {
if (pos) {
// FIXME
let text = '<strong>' + formatTimestamp(this._graphTimestamps[id]) + '</strong><br><br>'
let text = '<strong>' + formatTimestamp(this._graphTimestamps[id] * 1000) + '</strong><br><br>'
for (let i = 1; i < plot.series.length; i++) {
const serverRegistration = this._app.serverRegistry.getServerRegistration(i - 1)