mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 04:29:48 -04:00
fix: header field was mistakenly plural
This commit is contained in:
parent
4427cd414f
commit
1b0547d93c
@ -48,7 +48,7 @@
|
|||||||
* @property {string=} name
|
* @property {string=} name
|
||||||
* @property {string} type
|
* @property {string} type
|
||||||
* @property {string=} mode
|
* @property {string=} mode
|
||||||
* @property {HeaderOrCell} headers
|
* @property {HeaderOrCell} header
|
||||||
* @property {HeaderOrCell} cells - An Array of columns for the table.
|
* @property {HeaderOrCell} cells - An Array of columns for the table.
|
||||||
* @property {string=} xaxis
|
* @property {string=} xaxis
|
||||||
* @property {string=} yaxis
|
* @property {string=} yaxis
|
||||||
@ -519,14 +519,15 @@ export class GraphPlot extends HTMLElement {
|
|||||||
traces.push(trace);
|
traces.push(trace);
|
||||||
}
|
}
|
||||||
} else if (subplot.Stream) {
|
} else if (subplot.Stream) {
|
||||||
|
// TODO(jwall): It would be nice if scroll behavior would handle replots better.
|
||||||
// TODO(jwall): It's possible that this should actually be a separate custom
|
// TODO(jwall): It's possible that this should actually be a separate custom
|
||||||
// element.
|
// element.
|
||||||
const trace = /** @type TableTrace */({
|
const trace = /** @type TableTrace */({
|
||||||
type: "table",
|
type: "table",
|
||||||
columnwidth: [15, 20, 70],
|
columnwidth: [15, 20, 70],
|
||||||
headers: {
|
header: {
|
||||||
align: "left",
|
align: "left",
|
||||||
values: ["Timestamp","Label", "Log"],
|
values: ["Timestamp","Labels", "Log"],
|
||||||
fill: { color: layout.xaxis.paper_bgcolor },
|
fill: { color: layout.xaxis.paper_bgcolor },
|
||||||
font: { color: getCssVariableValue('--text-color').trim() }
|
font: { color: getCssVariableValue('--text-color').trim() }
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user