You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hiding a series in the chart using the legend buttons i think what happens is that the array of data gets copied and the selected series gets removed?
In my application i constantly add new data to the chart and thus when hiding a series that series is no longer available in the data array to add new data to.
Im am not sure how to solve it so i will just leave the buttons feature out for now, but would it not be possible to add a flag to the data array instead of just taking the data out and back in all the time?
The text was updated successfully, but these errors were encountered:
That's indeed what happens, to be honest, I never understood why it's implemented like this. The event handler is here, you can see what happens in the code. I guess if you want that changed you could propose a PR to fix it.
I'm sorry, i was not able to improve this workflow and went for an alternative method whereby i have 2 graphs and just switch beween them. So i no longer use the legend filtering option.
When hiding a series in the chart using the legend buttons i think what happens is that the array of data gets copied and the selected series gets removed?
In my application i constantly add new data to the chart and thus when hiding a series that series is no longer available in the data array to add new data to.
Im am not sure how to solve it so i will just leave the buttons feature out for now, but would it not be possible to add a flag to the data array instead of just taking the data out and back in all the time?
The text was updated successfully, but these errors were encountered: