2👍
✅
Call chart.update()
after initializing the chart object. See the documentation for modifying chart data here: chartjs.org/docs/latest/developers/updates.html
0👍
In the component you are using the chart, add this to the component’s CSS:
:host {
display: block;
}
Source:stackexchange.com