mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 04:29:48 -04:00
fix: actually do the filtering for scalar graphs
This commit is contained in:
parent
7b350a6612
commit
ef070f18d3
@ -290,8 +290,14 @@ class TimeseriesGraph extends HTMLElement {
|
|||||||
layout["yaxis"] = {
|
layout["yaxis"] = {
|
||||||
tickformat: this.#d3TickFormat
|
tickformat: this.#d3TickFormat
|
||||||
};
|
};
|
||||||
for (const triple of subplot.Scalar) {
|
loopScalar: for (const triple of subplot.Scalar) {
|
||||||
const labels = triple[0];
|
const labels = triple[0];
|
||||||
|
for (var label in labels) {
|
||||||
|
var show = this.#filteredLabelSets[label];
|
||||||
|
if (show && !show.includes(labels[label])) {
|
||||||
|
continue loopScalar;
|
||||||
|
}
|
||||||
|
}
|
||||||
const meta = triple[1];
|
const meta = triple[1];
|
||||||
const series = triple[2];
|
const series = triple[2];
|
||||||
var trace = {
|
var trace = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user