From 381c9f97d671c3117fc74814738a61893214ee96 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Tue, 27 Jun 2023 08:21:23 -0700 Subject: [PATCH] Bar chart should start from zero (#16815) --- src/components/chart/statistics-chart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chart/statistics-chart.ts b/src/components/chart/statistics-chart.ts index d9f30d9d67..d3edd154f7 100644 --- a/src/components/chart/statistics-chart.ts +++ b/src/components/chart/statistics-chart.ts @@ -166,7 +166,7 @@ class StatisticsChart extends LitElement { }, }, y: { - beginAtZero: false, + beginAtZero: this.chartType === "bar", ticks: { maxTicksLimit: 7, },