Hey, I've run into a bit of an issue while implementing a zoom line chart. I'd like for users of the chart to be able to idle on the page and have it periodically refresh with new information from my database, but I noticed that if the user hides a few items using the interactive legend, once I refresh (by making a call to setJSONData) I end up losing the user's current legend settings. Is there a way for me to keep track of what items the user has set hidden so I can then hide them again using the initiallyHidden attribute?
Here's a jsfiddle showing my issue: http://jsfiddle.net/WDsZF/523/