Accessing/Toggling series in a chart
I'm trying to access the series on my chart so I can show and hide my lines with button actions. I cant find any sort of getSeries() method for charts, or documentation of how to hide/show series once I access them.
I'd like to do something like this:
var panel = button.up('panel'),
chart = panel.down('chart'),
series = chart.getSeries();
If anyone has some pointers on how to go about this it would be much appreciated