react-chartjs icon indicating copy to clipboard operation
react-chartjs copied to clipboard

Can't get the chart to render the new data

Open randichilyon opened this issue 9 years ago • 3 comments

I got a problem here. When i change the state, my program re-render and get the new data, but the data at the chart didn't change at all.

randichilyon avatar Jun 23 '16 06:06 randichilyon

Please provide code that has a minimal reproduction case for your bug.

wwalser avatar Jul 18 '16 20:07 wwalser

What about using the forceUpdat method?

I have an example work well with the forceupdate metheod.

ledsun avatar Jul 19 '16 02:07 ledsun

have the same problem. the entire example is at http://stackoverflow.com/questions/44002091/react-chartjs-state-update-error

mosheshmukler avatar May 16 '17 13:05 mosheshmukler