ActiveTraceVisible property (XY Plot object)

Returns or sets whether the selected trace displays on the chart. Read/write. Boolean.
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
Have questions or feedback about this documentation? Please submit your feedback here.
Normal