How do i reset the datasets in Plot

A discussion forum for the Eastwood Chart Servlet.

How do i reset the datasets in Plot

Postby 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
sachinch
 
Posts: 4
Joined: Thu Jul 03, 2008 5:52 pm

Postby 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: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11653
Joined: Fri Mar 14, 2003 10:29 am


Return to Eastwood Chart Servlet

Who is online

Users browsing this forum: No registered users and 1 guest