ActiveTraceVisible property (XY Plot object)
Returns or sets whether the selected trace displays on the chart. Read/write. Boolean.
This property only applies to the first trace in the trace
list by default or to the currently selected trace.
Syntax
XYPlot1
.ActiveTraceVisible
[ = state
]where
XYPlot1
- is the name of an XY Plot object or an expression that evaluates to an XY Plot object.state
- is a parameter of the type Boolean that can be set to one of the following:- True: Shows the selected trace.
- False: Does not show the selected trace.
Example
Private Sub SetActiveTraceVisible() XYPlot1.ActiveTraceVisible = True End Sub
Provide Feedback