How do i reset the datasets in Plot

A discussion forum for the Eastwood Chart Servlet.
Locked
sachinch
Posts: 4
Joined: Thu Jul 03, 2008 5:52 pm

How do i reset the datasets in Plot

Post by sachinch » Tue Jul 29, 2008 9:03 pm

How do i reset the datasets in a Plot?I have been drawing the multiple graphs of which some may required multiple axis.Those required multiple axis,i am putting them in a new TimeSeriesCollection.For each iteration,based upon the selection of new tree node,i want to load new data into the dataset.SO my question is how do i reset the dataset before begining of the fresh cycle.
Let me know
Thanks
Sachin

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Aug 12, 2008 11:06 am

This seems like a question for the JFreeChart forum:

http://www.jfree.org/phpBB2/viewforum.php?f=3

To 'reset' a dataset, see if the dataset you are using has a clear() method, or just set the dataset to null (or replace it with a new instance of the same dataset class, containing no data).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked