|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This class is used to draw horizontal/vertical lines in a chart.
You may call newHorzVertLine(...) of IDataLineSet interface to get a new object.
For instance,
QbChart chart = new QbChart(...);
IHorzVertLine line = chart.gethDataLineSet().newHorzVertLine(...);
IDataLineSet| Field Summary | |
static int |
CIRCULAR_STYLE
|
static int |
HORIZONTAL_LINE
|
static int |
SEGMENTED_STYLE
|
static int |
VERTICAL_LINE
|
| Fields inherited from interface quadbase.util.IDataLine |
CLOSE, DASH_STYLE, DOTTED_STYLE, HIGH, LOW, OPEN, SOLID_STYLE |
| Method Summary | |
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. |
| Methods inherited from interface quadbase.util.IDataLine |
getCoeff, getColor, getLineStyle, getSeries, getShowHintValue, getThickness, getTitle, getValueColumn, getValueHint, isSecondaryValueUsed, isTitleVisibleInLegend, setCoeff, setColor, setLineStyle, setSeries, setShowHintValue, setThickness, setTitle, setTitleVisibleInLegend, setValueColumn, setValueHint, useSecondaryValue |
| Methods inherited from interface quadbase.util.IReferenceObj |
addAnnotation, getAnnotations, getReferencePosition, isVisible, removeAnnotation |
| Field Detail |
public static final int HORIZONTAL_LINE
public static final int VERTICAL_LINE
public static final int CIRCULAR_STYLE
public static final int SEGMENTED_STYLE
| Method Detail |
public void setLineType(int lineType)
setLineType in interface IDataLinelineType - the type of this data line.public int getLineType()
getLineType in interface IDataLinepublic 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 IDataLinepublic double getLineValue()
getLineValue in interface IDataLinepublic void setColorAboveLine(java.awt.Color color)
color - the desired colorpublic java.awt.Color getColorAboveLine()
public void setColorBelowLine(java.awt.Color color)
color - the desired colorpublic java.awt.Color getColorBelowLine()
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||