DeleteTrace method (TrendPro object)

Removes the specified trace from the chart. Traces are specified by their index number in the Legend\Trace List, starting from zero. This method returns
True
if the trace was successfully removed from the trend, and returns
False
if the trace was not removed (for example, if the specified index was out of range).
Syntax
TrendPro1
.
DeleteTrace
(
traceIndex
) As
Boolean
where
TrendPro1
- is the name of a TrendPro object or an expression that evaluates to a TrendPro object.
traceIndex
- is the index of the trace to delete. The first trace has an index of zero.
Example
Private Sub btnDeleteTrace() Dim result as Boolean Rem Delete the first trace. result = TrendPro1.DeleteTrace(0) End Sub
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal