encodle / gflot

Automatically exported from code.google.com/p/gflot
0 stars 0 forks source link

Remove all series #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there a way to remove all series in a plot model?

Original issue reported on code.google.com by der...@gmail.com on 11 Mar 2010 at 3:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Using  PlotModel->removeSeries() I should provide each single Handler and it 
seems that 
there is no way to get an Iterator from the PlotModel.

So is creating an ArrayList of handlers the only way to keep track of them and 
remove 
them? 

Thanks

Original comment by der...@gmail.com on 6 Apr 2010 at 8:01

GoogleCodeExporter commented 8 years ago
I tried the Array of SeriesHandlers but have some issues and do not work to me
Is there anywhere an example of updating a chart with completely new data? 

Thanks

Original comment by eduardo....@gmail.com on 20 May 2010 at 5:30

GoogleCodeExporter commented 8 years ago
So far the way that we've had to handle this is to completely remove the plot 
from the 
document and create an entirely new one.  This is an expensive operation and 
can lock 
the UI.  It is crucial that we be able to clear the graph and plot entirely new 
data.  
If this problem cannot be solved we will be forced to move to another charting 
library. 

Original comment by nicholas...@gmail.com on 28 May 2010 at 3:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by nmr.morel on 26 Jul 2012 at 7:47

GoogleCodeExporter commented 8 years ago
Added method to remove series in the PlotModel

Original comment by nmr.morel on 28 Jul 2012 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by nmr.morel on 28 Jul 2012 at 10:00