Deselect the series Legends of Chart Control automatically

I would like to deselect all the series legends of the line chart. Can it be done programmatically?

Hi. Not quite sure what you mean ? You want to turn off the legend ? Or want to hide all the data ? (Seems a bit odd to not show data). Or maybe something else ?

You got me wrong. I would like to show the legend but hide the data initially . Based on user's interest he would be selecting the desired series labels and accordingly it should plot the graph.

Hope I'm able to convey my requirement if not let me know.
Thanks for your reply!