public interface IDataLineSet
A handle to an object that implements this interface can be obtained by calling the gethDataLines method defined in QbChart.
IDataLine
Modifier and Type | Method and Description |
---|---|
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.
|
IControlLine |
newControlLine(int linetype,
java.lang.String label,
int level)
Create a new control line to add to the stack 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.
|
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
IHorzVertLine newHorzVertLine(int linetype, java.lang.String label)
linetype
- Any line type defined in quadbase.util.IHorzVertLinelabel
- Line labelIHorzVertLine
IControlLine newControlLine(int linetype, java.lang.String label)
linetype
- Any line type defined in quadbase.util.IControlLinelabel
- Line labelIControlLine
IControlLine newControlLine(int linetype, java.lang.String label, int level)
linetype
- Any line type defined in quadbase.util.IControlLinelabel
- Line labellevel
- stack level, any number out of stack level indicates the top stack levelIControlLine
IFunctionLine newFunctionLine(IFunction func, java.lang.String label)
func
- The functionlabel
- The line labelIFunctionLine
,
IFunction
void add(IDataLine l)
Associated QbChart property: None
l
- The data line to add to the chart.IDataLine
void remove(IDataLine l)
Associated QbChart property: None
l
- The data line to remove from the chart.void removeAll()
java.util.Enumeration elements()
Associated QbChart property: None
IDataLine
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