Skip to content

Commit

Permalink
[FIX] chart: wrong line dot size
Browse files Browse the repository at this point in the history
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: #4156
  • Loading branch information
hokolomopo committed Apr 29, 2024
1 parent 64d67ce commit c9d1e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/figures/chart/chartJs/chartjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ export class ChartJsComponent extends Component<Props, SpreadsheetChildEnv> {
this.chart!.data.datasets = [];
}
this.chart!.config.options = chartData.options;
this.chart!.update("active");
this.chart!.update();
}
}

0 comments on commit c9d1e5d

Please sign in to comment.