PreviousTrace method (XY Plot object)
Selects the previous trace in the chart's Legend. This method returns
True
if the previous trace was selected, and returns False
if the first trace in the Legend was already selected.Syntax
XYPlot1
.PreviousTrace
() As Boolean
where
XYPlot1
- is the name of an XY Plot object or an expression that evaluates to an XY Plot object.Example
Private Sub btnPreviousTrace() Dim result as Boolean Rem Select the previous tag in the tag list. result = XYPlot1.PreviousTrace() End Sub
Provide Feedback