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 -
Method Summary
Methods inherited from class org.jfree.chart.annotations.XYDrawableAnnotation
canEqual, clone, draw, equals, getDisplayHeight, getDisplayWidth, getDrawScaleFactor, hashCodeMethods inherited from class org.jfree.chart.annotations.AbstractXYAnnotation
addEntity, getToolTipText, getURL, setToolTipText, setURLMethods inherited from class org.jfree.chart.annotations.AbstractAnnotation
addChangeListener, fireAnnotationChanged, getNotify, hasListener, notifyListeners, removeChangeListener, setNotifyMethods inherited from class Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
getXin classorg.jfree.chart.annotations.XYDrawableAnnotation- Returns:
- x coordinate of the marked point
-
getY
public double getY()- Overrides:
getYin classorg.jfree.chart.annotations.XYDrawableAnnotation- Returns:
- y coordinate of the marked point
-