symfony / ux

Symfony UX initiative: a JavaScript ecosystem for Symfony
https://ux.symfony.com/
MIT License
781 stars 274 forks source link

[LiveComponent][ChartJS] Bug re rendering ChartJS chart #1684

Open ag-erwan opened 2 months ago

ag-erwan commented 2 months ago

Hello everyone,

I hope you're doing well ?

I'm currently making a chart with ChartJS. It is necessary that when I choose a piece of data from a select input, it changes the values ​​of the Chart with LiveComponent. I've tried a lot of things and it doesn't work. The data goes well in the graph, I dumped the data to see and they are well updated. But the graph does not return.

Erwanou77 commented 2 months ago

Hi team, This is my personal GitHub account. I finally understood where the problem was coming from. I had no options. So the graph didn't go back. I don't know why the options are mandatory but I put them and now it works.