From c9d1e5d6354944511bab4e84f528c4710706d2e0 Mon Sep 17 00:00:00 2001 From: "Adrien Minne (adrm)" Date: Mon, 15 Apr 2024 08:44:09 +0200 Subject: [PATCH] [FIX] chart: wrong line dot size There was a problem that the doz sizes in the line charts were at their "hover" size by default. This was caused by the "active" parameters given to window.chart.update(), which updated the chart animations to be in "active" state. Task: 3697660 Part-of: odoo/o-spreadsheet#4156 --- src/components/figures/chart/chartJs/chartjs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/figures/chart/chartJs/chartjs.ts b/src/components/figures/chart/chartJs/chartjs.ts index a53705bad..8406c4e66 100644 --- a/src/components/figures/chart/chartJs/chartjs.ts +++ b/src/components/figures/chart/chartJs/chartjs.ts @@ -65,6 +65,6 @@ export class ChartJsComponent extends Component { this.chart!.data.datasets = []; } this.chart!.config.options = chartData.options; - this.chart!.update("active"); + this.chart!.update(); } }