Class ChartAnnotation

java.lang.Object
org.jfree.chart.annotations.AbstractAnnotation
org.jfree.chart.annotations.AbstractXYAnnotation
org.jfree.chart.annotations.XYDrawableAnnotation
net.simplace.ui.jfreechart.ChartAnnotation
All Implemented Interfaces:
Serializable, Cloneable, org.jfree.chart.annotations.Annotation, org.jfree.chart.annotations.XYAnnotation, org.jfree.chart.util.PublicCloneable

public class ChartAnnotation extends org.jfree.chart.annotations.XYDrawableAnnotation
Annotation marking a point of an XY chart with a red circle (15 x 15) and a black cross hair.
Author:
Andreas Enders
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChartAnnotation(double aX, double aY)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     

    Methods inherited from class org.jfree.chart.annotations.XYDrawableAnnotation

    canEqual, clone, draw, equals, getDisplayHeight, getDisplayWidth, getDrawScaleFactor, hashCode

    Methods inherited from class org.jfree.chart.annotations.AbstractXYAnnotation

    addEntity, getToolTipText, getURL, setToolTipText, setURL

    Methods inherited from class org.jfree.chart.annotations.AbstractAnnotation

    addChangeListener, fireAnnotationChanged, getNotify, hasListener, notifyListeners, removeChangeListener, setNotify

    Methods inherited from class Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jfree.chart.annotations.Annotation

    addChangeListener, removeChangeListener
  • Constructor Details

    • ChartAnnotation

      public ChartAnnotation(double aX, double aY)
      Parameters:
      aX - x coordinate of the point (data space)
      aY - y coordinate of the point (data space)
  • Method Details

    • getX

      public double getX()
      Overrides:
      getX in class org.jfree.chart.annotations.XYDrawableAnnotation
      Returns:
      x coordinate of the marked point
    • getY

      public double getY()
      Overrides:
      getY in class org.jfree.chart.annotations.XYDrawableAnnotation
      Returns:
      y coordinate of the marked point