|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Field Summary | |
static int |
CLOSE
|
static int |
DASH_STYLE
|
static int |
DOTTED_STYLE
|
static int |
HIGH
|
static int |
LOW
|
static int |
OPEN
|
static int |
SOLID_STYLE
|
| Method Summary | |
int |
getCoeff()
please see the derived classes for details |
java.awt.Color |
getColor()
Get the color of the data line |
int |
getLineStyle()
Valid for horizontal lines and vertical lines only Get the line style of this line Please see setLineStyles method in quadbase.util.IDataPointSet for the definition of line style |
int |
getLineType()
Get the line type |
double |
getLineValue()
please see the derived classes for details |
java.lang.String |
getSeries()
Get the name data serie use of this data line for chart with data series. |
boolean |
getShowHintValue()
Return true if the LineValue of data line show in hint box |
int |
getThickness()
Gets the line thickness. |
java.lang.String |
getTitle()
Returns the title for this data line |
int |
getValueColumn()
Get the value uses for fitting for HLCO and High Low chart |
java.lang.String |
getValueHint()
Return the string use in the LineValue hint |
boolean |
isSecondaryValueUsed()
Get the state of using subvalue data |
boolean |
isTitleVisibleInLegend()
Returns whether the data line title being displayed in legend |
void |
setCoeff(int coeff)
please see the derived classes for details |
void |
setColor(java.awt.Color color)
Sets the line color. |
void |
setLineStyle(int lineStyle)
Sets the line style. |
void |
setLineType(int lineType)
please see the derived classes for details |
void |
setLineValue(double line_value)
please see the derived classes for details |
void |
setSeries(java.lang.String series)
This is used for charts with data series only. |
void |
setShowHintValue(boolean bshow)
Set true/false to show the LineValue of data line in hint dialog box |
void |
setThickness(int thickness)
Sets the line thickness. |
void |
setTitle(java.lang.String title)
Sets the title for this data line |
void |
setTitleVisibleInLegend(boolean b)
Makes the data line title visible in the legend. |
void |
setValueColumn(int hlco_value)
This is used for HLCO and High Low chart only For this type of chart you can specify which values : HIGH, LOW, CLOSE, OPEN to use. |
void |
setValueHint(java.lang.String hint)
Set the string use in the LineValue hint |
void |
useSecondaryValue(boolean state)
Set to use secondary value instead of primary value. |
| Methods inherited from interface quadbase.util.IReferenceObj |
addAnnotation, getAnnotations, getReferencePosition, isVisible, removeAnnotation |
| Field Detail |
public static final int HIGH
public static final int LOW
public static final int CLOSE
public static final int OPEN
public static final int SOLID_STYLE
public static final int DASH_STYLE
public static final int DOTTED_STYLE
| Method Detail |
public void setCoeff(int coeff)
public int getCoeff()
public void setTitle(java.lang.String title)
title - the title for this line used in the legend. If the title
is null or unspecified, the default name is used as described above.public java.lang.String getTitle()
public void useSecondaryValue(boolean state)
state - set true to use secondary axis data valuepublic boolean isSecondaryValueUsed()
public void setValueColumn(int hlco_value)
hlco_value - one of HIGH, LOW, CLOSE, OPENpublic int getValueColumn()
public void setSeries(java.lang.String series)
series - data series name use to plot for this data line.public java.lang.String getSeries()
public void setShowHintValue(boolean bshow)
public boolean getShowHintValue()
public java.lang.String getValueHint()
public void setValueHint(java.lang.String hint)
public void setLineType(int lineType)
public int getLineType()
public void setColor(java.awt.Color color)
color - line colorpublic java.awt.Color getColor()
public void setLineValue(double line_value)
public double getLineValue()
public void setTitleVisibleInLegend(boolean b)
b - if true, the title is displayed, hidden otherwise.public boolean isTitleVisibleInLegend()
public int getThickness()
public void setThickness(int thickness)
thickness - the line thickness.public int getLineStyle()
IDataPointSetpublic void setLineStyle(int lineStyle)
lineStyle - line style of this line
A line style number, z, satisfies the equation:
z = 256*fill + empty
where fill is the number of fill pixels (solid part of dashed line)
and empty is the number of blank pixels (empty part of dashed line)
with fill < 256 and empty < 256.
By setting well-defined numbers for z, users can create different
types of connect lines.
IDataPointSet
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||