From d61de4d2df96c08b58b4ee01525bdf8c44e8c04a Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Wed, 11 Mar 2026 10:01:37 +0100 Subject: [PATCH] Disable `smoothMonotone` in line graphs (#30093) --- src/components/chart/statistics-chart.ts | 1 - src/panels/lovelace/cards/energy/hui-power-sources-graph-card.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/chart/statistics-chart.ts b/src/components/chart/statistics-chart.ts index 4caaa5f8dd..280021742a 100644 --- a/src/components/chart/statistics-chart.ts +++ b/src/components/chart/statistics-chart.ts @@ -507,7 +507,6 @@ export class StatisticsChart extends LitElement { id: `${statistic_id}-${type}`, type: this.chartType, smooth: this.chartType === "line" ? 0.4 : false, - smoothMonotone: "x", cursor: "default", data: [], name: name diff --git a/src/panels/lovelace/cards/energy/hui-power-sources-graph-card.ts b/src/panels/lovelace/cards/energy/hui-power-sources-graph-card.ts index b0af822033..34efa07a3c 100644 --- a/src/panels/lovelace/cards/energy/hui-power-sources-graph-card.ts +++ b/src/panels/lovelace/cards/energy/hui-power-sources-graph-card.ts @@ -198,7 +198,6 @@ export class HuiPowerSourcesGraphCard const commonSeriesOptions: LineSeriesOption = { type: "line", smooth: 0.4, - smoothMonotone: "x", lineStyle: { width: 1, },