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(); }