Hi is ther a recommended way to clear a jquery flot graph? I couldn't find anything the in the api...
+2
A:
By "clear" do you mean "nuke the entire graph," or just clear the data?
To nuke the entire graph: $('#canvas_id').html('');
To clear the data, just call the usual $.plot(placeholder, data, options);
where data is empty.
Matt Ball
2009-10-07 20:33:14
is there any significance with respect to nuking...?
deostroll
2009-10-07 21:37:42