Fix for broken data function in interactive view

At some point the data view thing in the interactive plots stopped working.  Not sure when, I just noticed it now.  This brings it back up to speed.  I'm making it a pull request, because I'm not sure what happened in order to break this, so it's possible my fix now breaks whatever that change was.  So basically, speak up if you don't want this merged in, otherwise I'll do it in a few days.