From a8f7c7c999a32a17b1866937773ac4b8ce8ce529 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Mon, 18 Dec 2023 02:55:50 -0800 Subject: [PATCH] Fix hide legend toggle in stats graph editor (#19021) --- src/components/chart/statistics-chart.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/chart/statistics-chart.ts b/src/components/chart/statistics-chart.ts index 1914849be4..a0fc6ca53b 100644 --- a/src/components/chart/statistics-chart.ts +++ b/src/components/chart/statistics-chart.ts @@ -101,7 +101,8 @@ export class StatisticsChart extends LitElement { changedProps.has("unit") || changedProps.has("period") || changedProps.has("chartType") || - changedProps.has("logarithmicScale") + changedProps.has("logarithmicScale") || + changedProps.has("hideLegend") ) { this._createOptions(); }