Menu

#254 Annotation and marker extensions

open
nobody
None
5
2014-08-20
2009-07-26
Peter Kolb
No

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.

Discussion

  • Peter Kolb

    Peter Kolb - 2009-07-26
     
  • Peter Kolb

    Peter Kolb - 2009-07-27

    Diff file in unix format

     
  • Peter Kolb

    Peter Kolb - 2009-07-28

    archive with changed files

     
  • Peter Kolb

    Peter Kolb - 2010-01-03

    archive with changed files

     
  • Peter Kolb

    Peter Kolb - 2010-01-03

    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.

     

Log in to post a comment.