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 !
OK I finally found that I could manage what I wanted. By adding the "redraw" tag in the parameters of my element and By setting a key=Date.now() in my initial state : so that every time I want to update my chart, I'll reset my key=Date.now() so that the state will understand that something has changed.