Compare commits

...

1 Commits

Author SHA1 Message Date
Paul Bottein
4fa1b60cb1 Only use opacity for bar graph 2025-01-31 09:54:16 +01:00

View File

@@ -455,7 +455,11 @@ export class StatisticsChart extends LitElement {
borderWidth: 1.5,
}
: undefined,
color: band ? color + "3F" : color + "7F",
color: band
? color + "3F"
: this.chartType === "bar"
? color + "7F"
: color,
};
if (band && this.chartType === "line") {
series.stack = `band-${statistic_id}`;