vendredi 19 novembre 2021

Update Chart using react

I really struggle to find a solution and to even find if what I want to do is possible...

I have a react application that basically displays a chart (thanks to react-chartjs-2).

Here is the basic content of my chart. I successfully managed to delete the desired column thanks to labels[]. However by doing the same with data[], I manage to modify it (saw it by printing it) but it doesn't display on the chart. Is there a way to do this ? Easily ?

I thank everyone that has at least read my problem, I hope I'll find a solution soon... Thanks !




Aucun commentaire:

Enregistrer un commentaire