Currently, in XYPlot, the set of different markers (foregroundRangeMarkers, backgroundRangeMarkers, etc) map an index to a list of markers.
Moreover, it supports to clear the whole list of markers specified to a given index.
However, there may be a high possibility that it requires further sub-dividing the marker lists (diff. series or categories) per index.
Hence, it could group the markers and delete particular 'series' within a nth-index dataset/renderer.
Is it possible that it be will improved in JFreeChart? If not, overriding that 'marker feature' in the subclass seems to be 'duplicated'.
Thanks for your advice.
Markers in XYPlot
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Markers in XYPlot
The reason for assigning an index to a marker is to provide the possibility of the marker being drawn against a secondary axis (if the plot has more than one axis). I can't think of a good reason to allocate a marker to a particular series or item in a dataset. Perhaps you can describe a situation where that would be used?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

