How remove values from XYZSeries

A discussion forum for Orson Charts (a 3D chart library for the Java platform).
Post Reply
jucsr
Posts: 1
Joined: Wed Oct 05, 2016 8:30 pm
antibot: No, of course not.

How remove values from XYZSeries

Post by jucsr » Wed Oct 05, 2016 8:46 pm

Dear People,

I'm using Orson's library in order to implement a monitoring panel to display dinamically some values.
I need determinate some time range to show these values, so, I need to remove the oldest values.

In JFreechart, there is a serie.remove() method which I used to remove some values from a TimeSeries.
Is there an analog method in Orson library?
Or, How can I do that using Orson charts or specifically in XYZSeries?

Kind regards.
Last edited by jucsr on Thu Oct 06, 2016 4:56 pm, edited 1 time in total.

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

Re: How remove values from XYZSeries

Post by david.gilbert » Thu Oct 06, 2016 4:59 am

Oddly it seems that XYZSeries is missing both a remove method and also the event notification mechanism that would automatically update the charts. I guess when I wrote the code I intended to add that later, but for some reason didn't get it done. I will add that to the remaining list of things to do before the next release.

If you want to add this yourself, following the same approach as the XYSeries.java class in JFreeChart will most likely work (and extending AbstractDataset3D will provide most of the event notification mechanism that is required). If you'd rather wait for me to do it (not sure when I'll get it done) then keep an eye on the GitHub repo.
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: 11675
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: How remove values from XYZSeries

Post by david.gilbert » Sun Oct 23, 2016 7:26 am

Changes for this are committed to the repo at GitHub.
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

Post Reply