Class Annotation
java.lang.Object
org.knowm.xchart.internal.chartpart.Annotation
- All Implemented Interfaces:
ChartPart
- Direct Known Subclasses:
AnnotationImage, AnnotationLine, AnnotationText, AnnotationTextPanel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Rectangle2Dprotected Chartprotected booleanprotected booleanprotected StylerFields inherited from interface ChartPart
SOLID_STROKE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetXAxisScreenValue(double chartSpaceValue) protected intprotected intprotected intgetYAxisScreenValue(double chartSpaceValue) protected intprotected intvoidvoidsetVisible(boolean visible)
-
Field Details
-
isVisible
protected boolean isVisible -
isValueInScreenSpace
protected boolean isValueInScreenSpace -
chart
-
styler
-
bounds
-
-
Constructor Details
-
Annotation
public Annotation(boolean isValueInScreenSpace)
-
-
Method Details
-
init
-
getBounds
-
setVisible
public void setVisible(boolean visible) -
getXAxisScreenValue
protected int getXAxisScreenValue(double chartSpaceValue) -
getYAxisScreenValue
protected int getYAxisScreenValue(double chartSpaceValue) -
getXAxisScreenValueForMax
protected int getXAxisScreenValueForMax() -
getXAxisScreenValueForMin
protected int getXAxisScreenValueForMin() -
getYAxisScreenValueForMax
protected int getYAxisScreenValueForMax() -
getYAxisScreenValueForMin
protected int getYAxisScreenValueForMin()
-