I have a SFCartesianChart wich shows periodically updating data by using the setState approach. Furthermore i do show a Legend where "toggleSeriesVisibility" is enabled. Now i would like to track and save which series the user has enabled/disabled by clicking the legend items. So when he wants to view the live-graph again later, the previous enabled/disabled series and legend state should be restored. Could you please provide a sample how to achieve this?
Regards,
Daniel