public interface IHorzVertLine extends IDataLine
IDataLineSet
Modifier and Type | Field and Description |
---|---|
static int |
CIRCULAR_STYLE |
static int |
HORIZONTAL_LINE |
static int |
SEGMENTED_STYLE |
static int |
VERTICAL_LINE |
CLOSE, DASH_STYLE, DOTTED_STYLE, HIGH, LOW, OPEN, SOLID_STYLE
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColorAboveLine()
Return the value of setColorAboveLine(Color).
|
java.awt.Color |
getColorBelowLine()
Return the value of setColorBelowLine(Color).
|
int |
getLineType()
Get the line type
|
double |
getLineValue()
Get the line value used by horizontal/vertical line type
|
void |
setColorAboveLine(java.awt.Color color)
Set the color of all chart data line segments that are above this line value (threshold
value) to the desired color.
|
void |
setColorBelowLine(java.awt.Color color)
Set the color of all chart data line segments which are below this line value (threshold
value) to the desired color.
|
void |
setLineType(int lineType)
Sets the line type.
|
void |
setLineValue(double line_value)
Set the value for the horizontal line or vertical line.
|
getCoeff, getColor, getLineStyle, getSeries, getShowHintValue, getThickness, getTitle, getValueColumn, getValueHint, isSecondaryValueUsed, isTitleVisibleInLegend, setCoeff, setColor, setLineStyle, setSeries, setShowHintValue, setThickness, setTitle, setTitleVisibleInLegend, setValueColumn, setValueHint, useSecondaryValue
addAnnotation, getAnnotations, getReferencePosition, isVisible, removeAnnotation
static final int HORIZONTAL_LINE
static final int VERTICAL_LINE
static final int CIRCULAR_STYLE
static final int SEGMENTED_STYLE
void setLineType(int lineType)
setLineType
in interface IDataLine
lineType
- the type of this data line.int getLineType()
getLineType
in interface IDataLine
void setLineValue(double line_value)
For vertical line if the X-axis is of numeric value then the line is drawn using line_value, otherwise the value is interpreted as above.
setLineValue
in interface IDataLine
double getLineValue()
getLineValue
in interface IDataLine
void setColorAboveLine(java.awt.Color color)
color
- the desired colorjava.awt.Color getColorAboveLine()
void setColorBelowLine(java.awt.Color color)
color
- the desired colorjava.awt.Color getColorBelowLine()