Chart: How to preserve Enable/Disable dataset state?

I’d like to preserve enabled/disabled state of each dataset as I redraw a chart. Is there any way to get and set the enabled state for each dataset?

My charts have two datasets, and by clicking on the name of the dataset in the legend the chart control itself handles enabling and disabling display of that dataset. Very nice feature!

When I redraw that chart (to zoom or pan) I want to preserve the enabled/disabled state of each dataset that the user has selected.

So is there a way that I can read the enabled state of each chart dataset, redraw the chart and then restore the enabled state of each dataset myself?

i’d love to see a way to enable/disable datasets as the legen does somewhat as you describe.