Package quadbase.util
Interface IDataLineSet
public interface IDataLineSet
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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new data line to the chart.elements()Returns the list of data lines defined in the chart.newControlLine(int linetype, String label) Create a new control line to add to the chart.newControlLine(int linetype, String label, int level) Create a new control line to add to the stack chart.newFunctionLine(IFunction func, String label) Create a new Function line to add to the chart.newHorzVertLine(int linetype, String label) Create a new horizontal/vertical line to add to the chart.newTrendLine(int linetype, int coeff, String title) Create a new data line to add to the chart.voidDelete the specified data line from the chart.voidRemoves all the data lines currently defined in the chart.voidset(Enumeration elements) Sets a list of data lines in the chart.
-
Method Details
-
newTrendLine
Create a new data line to add to the chart. Properties of this trend line can be modified by calling methods declared in ITrendLine.- Parameters:
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 line- Returns:
- A handle to ITrendLine
- See Also:
-
newHorzVertLine
Create a new horizontal/vertical line to add to the chart. Properties of this line can be modified by calling methods declared in IHorzVertLine.- Parameters:
linetype- Any line type defined in quadbase.util.IHorzVertLinelabel- Line label- Returns:
- A handle to IHorzVertLine
- See Also:
-
newControlLine
Create a new control line to add to the chart. Properties of this line can be modified by calling methods declared in IControlLine.- Parameters:
linetype- Any line type defined in quadbase.util.IControlLinelabel- Line label- Returns:
- A handle to IControlLine
- See Also:
-
newControlLine
Create a new control line to add to the stack chart. Properties of this line can be modified by calling methods declared in IControlLine.- Parameters:
linetype- Any line type defined in quadbase.util.IControlLinelabel- Line labellevel- stack level, any number out of stack level indicates the top stack level- Returns:
- A handle to IControlLine
- See Also:
-
newFunctionLine
Create a new Function line to add to the chart. Properties of this line can be modified by calling methods declared in IFunctionLine.- Parameters:
func- The functionlabel- The line label- Returns:
- A handle to IFunctionLine
- See Also:
-
add
Adds a new data line to the chart.Associated QbChart property: None
- Parameters:
l- The data line to add to the chart.- See Also:
-
remove
Delete the specified data line from the chart.Associated QbChart property: None
- Parameters:
l- The data line to remove from the chart.
-
removeAll
void removeAll()Removes all the data lines currently defined in the chart. -
elements
Enumeration elements()Returns the list of data lines defined in the chart.Associated QbChart property: None
- Returns:
- The list of data lines. All items in the list are of type quadbase.util.IDataLine.
- See Also:
-
set
Sets a list of data lines in the chart.- Parameters:
elements- The list of new data lines to add to the chart. Each element of the list should be of type quadbase.util.IDataLine.- See Also:
-