esixtyone
unread,Aug 27, 2010, 3:37:16 AM8/27/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plotkit
hi,
After a quick and dirty solution here...
I'm using this code:-
var plotter = EasyPlot("line", {yOriginIsZero: false, yAxis: [-125,
-25]}, $("graph"), ["values.txt"]);
to plot the values from a file... easy... all works....
Now, how do I update the graph from javascript...
e.g I want a button to Refresh the graph - nothing else will change
except the file content.
I took a look at the dynamic example, but got lost...
what is the equivilent of the
// update
layout.evaluate();
renderer.clear();
renderer.render();
code is that example???
Hoping for a call like plotter.Update();
thanks for your help.