Scott: I've been trying for a few days to understand how to use Timeplot with data loaded in memory (rather than from an external file), as I want to pull data from a table dynamically in my implementation.
I realize this question has been asked before (here), but I really do not understand how you get to a dynamic load from the code above. In your example, you show a method for the EventSource object called loadPlotData, which does not exist in the timeplot bundle. Additionally, the example you show above isn't JSON, as would be supported by Timeline, but rather an array of arrays. Here is an example of an implementation (which is obviously very wrong): http://www.twohemisphere.com/test/index.html. Commented out, you'll also see an attempt to load JSON as formatted using Timeline standards, which results in the error "B.getTime() is not a function" (and it's not). I've added in some debug markers in Firebug to figure out what's missing, but I don't see anything would take the Timeplot JSON and turn it into an object that includes a getTime function. In all honestly, I don't care one way or another whether the data gets loaded using CSV, JSON or Javascript arrays (though I would prefer JSON): Really, all I want is a working example of Timeplot where data is loaded from memory, rather than from an external file. I would be deeply grateful for any help anyone can give. Thank you so much, Teresa --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
