Package quadbase.util
Interface ITrendLineSet
public interface ITrendLineSet
This interface contains methods to add/remove trend lines from the chart. Properties of the trend
lines can be changed by methods declared in ITrendLine.
A handle to an object that implements this interface can be obtained by calling the gethTrendLines method defined in QbChart.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ITrendLine l) Adds a new trend line to the chart.elements()Returns the list of trend lines defined in the chart.Create a new trend line to add to the chart.voidremove(ITrendLine l) Delete the specified trend line from the chart.voidRemoves all the trend lines currently defined in the chart.voidset(Enumeration elements) Sets a list of trend lines in the chart.
-
Method Details
-
newInstance
ITrendLine newInstance()Create a new trend line to add to the chart. Properties of this trend line can be modified by calling methods declared in ITrendLine.- Returns:
- A handle to ITrendLine
- See Also:
-
add
Adds a new trend line to the chart.Associated QbChart property: TRENDLINE
- Parameters:
l- The trend line to add to the chart.- See Also:
-
remove
Delete the specified trend line from the chart.Associated QbChart property: DEL_TRENDLINE
- Parameters:
l- The trend line to remove from the chart.
-
removeAll
void removeAll()Removes all the trend lines currently defined in the chart. -
elements
Enumeration elements()Returns the list of trend lines defined in the chart.Associated QbChart property: TRENDLINELIST
- Returns:
- The list of trend lines. All items in the list are of type quadbase.util.ITrendLine.
-
set
Sets a list of trend lines in the chart.- Parameters:
elements- The list of new trend lines to add to the chart. Each element of the list should be of type quadbase.util.ITrendLine.- See Also:
-