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.
How remove values from XYZSeries
How remove values from XYZSeries
Last edited by jucsr on Thu Oct 06, 2016 4:56 pm, edited 1 time in total.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: How remove values from XYZSeries
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.
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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: How remove values from XYZSeries
Changes for this are committed to the repo at GitHub.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program