Package org.knowm.xchart
Class AnnotationLine
java.lang.Object
org.knowm.xchart.internal.chartpart.Annotation
org.knowm.xchart.AnnotationLine
- All Implemented Interfaces:
org.knowm.xchart.internal.chartpart.ChartPart
public class AnnotationLine
extends org.knowm.xchart.internal.chartpart.Annotation
-
Field Summary
Fields inherited from class org.knowm.xchart.internal.chartpart.Annotation
bounds, chart, isValueInScreenSpace, isVisible, stylerFields inherited from interface org.knowm.xchart.internal.chartpart.ChartPart
SOLID_STROKE -
Constructor Summary
Constructors Constructor Description AnnotationLine(double value, boolean isVertical, boolean isValueInScreenSpace)Constructor -
Method Summary
Modifier and Type Method Description voidpaint(Graphics2D g)voidsetValue(double value)Methods inherited from class org.knowm.xchart.internal.chartpart.Annotation
getBounds, getXAxisScreenValue, getXAxisScreenValueForMax, getXAxisScreenValueForMin, getYAxisScreenValue, getYAxisScreenValueForMax, getYAxisScreenValueForMin, init, setVisible
-
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)
-