This patch contains numerous changes for the Marker classes and for the XYPlot class with regard to addition of markers and annotations.
The most important changes are:
- the marker classes now have their own draw(...) method. A renderer is not necessary to draw them. The new draw-method supports entity generation.
- annotations can now be added to secondary datasets of the plot. It is thus no longer necessary to add annotations to a renderer in oder to draw them against secondary axes.
-annotations and markers have a new Layer field. The Layer parameter in the various addMarker/addAnnotation methods is now used to set this field.
- This patch contains the patch 2809117.
Diff file in unix format
archive with changed files
archive with changed files
New archive with changes for some of the patched files:
XYPlot.getRangeMarkers(Layer layer) now calls XYPlot.getRangeMarkers(int index, Layer layer) using the value -1 for the index.
A MarkerEntity now holds a reference to the axis against which the marker was drawn, i. e. a CategoryAxis for a CategoryMarker and a ValueAxis for an AbstractValueMarker.