fix timestamp, graph spacing
This commit is contained in:
parent
19a7ce7d91
commit
19190f8d79
@ -343,6 +343,10 @@ footer a:hover {
|
|||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#big-graph {
|
||||||
|
padding-right: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
#big-graph, #big-graph-controls, #big-graph-checkboxes {
|
#big-graph, #big-graph-controls, #big-graph-checkboxes {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
}
|
}
|
||||||
|
@ -141,7 +141,7 @@ export class GraphDisplayManager {
|
|||||||
uPlotTooltipPlugin((pos, id, plot) => {
|
uPlotTooltipPlugin((pos, id, plot) => {
|
||||||
if (pos) {
|
if (pos) {
|
||||||
// FIXME
|
// 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++) {
|
for (let i = 1; i < plot.series.length; i++) {
|
||||||
const serverRegistration = this._app.serverRegistry.getServerRegistration(i - 1)
|
const serverRegistration = this._app.serverRegistry.getServerRegistration(i - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user