Markers in XYPlot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
tmtjond
Posts: 23
Joined: Thu Jul 24, 2008 3:21 am

Markers in XYPlot

Post by tmtjond » Mon Jul 13, 2009 3:27 pm

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.

tmtjond
Posts: 23
Joined: Thu Jul 24, 2008 3:21 am

Re: Markers in XYPlot

Post by tmtjond » Wed Jul 15, 2009 10:07 am

Any advice?

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

Re: Markers in XYPlot

Post by david.gilbert » Wed Jul 15, 2009 11:48 am

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

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked