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
How do i reset the datasets in Plot
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
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).
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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

