Class AnnotationText
java.lang.Object
org.knowm.xchart.internal.chartpart.Annotation
org.knowm.xchart.AnnotationText
- All Implemented Interfaces:
ChartPart
-
Field Summary
FieldsFields inherited from class Annotation
bounds, chart, isValueInScreenSpace, isVisible, stylerFields inherited from interface ChartPart
SOLID_STROKE -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationText(String text, double x, double y, boolean isValueInScreenSpace) Constructor -
Method Summary
Methods inherited from class Annotation
getBounds, getXAxisScreenValue, getXAxisScreenValueForMax, getXAxisScreenValueForMin, getYAxisScreenValue, getYAxisScreenValueForMax, getYAxisScreenValueForMin, init, setVisible
-
Field Details
-
text
-
x
protected double x -
y
protected double y
-
-
Constructor Details
-
AnnotationText
Constructor- Parameters:
text-x-y-isValueInScreenSpace-
-
-
Method Details
-
paint
-
setText
-
setX
public void setX(double x) -
setY
public void setY(double y)
-