Class AnnotationLine
java.lang.Object
org.knowm.xchart.internal.chartpart.Annotation
org.knowm.xchart.AnnotationLine
- All Implemented Interfaces:
ChartPart
-
Field Summary
FieldsFields inherited from class Annotation
bounds, chart, isValueInScreenSpace, isVisible, stylerFields inherited from interface ChartPart
SOLID_STROKE -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationLine(double value, boolean isVertical, boolean isValueInScreenSpace) Constructor -
Method Summary
Methods inherited from class Annotation
getBounds, getXAxisScreenValue, getXAxisScreenValueForMax, getXAxisScreenValueForMin, getYAxisScreenValue, getYAxisScreenValueForMax, getYAxisScreenValueForMin, init, setVisible
-
Field Details
-
isVertical
private final boolean isVertical -
value
private double value
-
-
Constructor Details
-
AnnotationLine
public AnnotationLine(double value, boolean isVertical, boolean isValueInScreenSpace) Constructor- Parameters:
value-isVertical-isValueInScreenSpace-
-
-
Method Details
-
paint
-
setValue
public void setValue(double value)
-