|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface contains methods to add/remove data lines from the chart. Properties of the data lines can be changed by methods declared in IDataLine.
A handle to an object that implements this interface can be obtained by calling the gethDataLines method defined in QbChart.
IDataLine| Method Summary | |
void |
add(IDataLine l)
Adds a new data line to the chart. |
java.util.Enumeration |
elements()
Returns the list of data lines defined in the chart. |
IControlLine |
newControlLine(int linetype,
java.lang.String label)
Create a new control line to add to the chart. |
IFunctionLine |
newFunctionLine(IFunction func,
java.lang.String label)
Create a new Function line to add to the chart. |
IHorzVertLine |
newHorzVertLine(int linetype,
java.lang.String label)
Create a new horizontal/vertical line to add to the chart. |
ITrendLine |
newTrendLine(int linetype,
int coeff,
java.lang.String title)
Create a new data line to add to the chart. |
void |
remove(IDataLine l)
Delete the specified data line from the chart. |
void |
removeAll()
Removes all the data lines currently defined in the chart. |
void |
set(java.util.Enumeration elements)
Sets a list of data lines in the chart. |
| Method Detail |
public ITrendLine newTrendLine(int linetype,
int coeff,
java.lang.String title)
linetype - Any line type defined in quadbase.util.ITrendLinecoeff - If the trend line is type POLYNOMIAL, it will set the degree.
If the line type is SIMPLE_AVERAGE, TRIANGULAR_AVERAGE and EXPONENTIAL_AVERAGE
it will set the period. All other line types should be given a value of 1.title - The title of the trend lineITrendLine
public IHorzVertLine newHorzVertLine(int linetype,
java.lang.String label)
linetype - Any line type defined in quadbase.util.IHorzVertLinelabel - Line labelIHorzVertLine
public IControlLine newControlLine(int linetype,
java.lang.String label)
linetype - Any line type defined in quadbase.util.IControlLinelabel - Line labelIControlLine
public IFunctionLine newFunctionLine(IFunction func,
java.lang.String label)
func - The functionlabel - The line labelIFunctionLine,
IFunctionpublic void add(IDataLine l)
Associated QbChart property: None
l - The data line to add to the chart.IDataLinepublic void remove(IDataLine l)
Associated QbChart property: None
l - The data line to remove from the chart.public void removeAll()
public java.util.Enumeration elements()
Associated QbChart property: None
IDataLinepublic void set(java.util.Enumeration elements)
elements - The list of new data lines to add to the chart.
Each element of the list should be of type quadbase.util.IDataLine.IDataLine
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||