ActiveYAxisColor property (XY Plot object)
Returns or sets the color for the y-axis for the current tag in the runtime chart. Read/write. OLE_COLOR.
OLE_COLOR is a type definition that resolves to a Long.
This property only applies to the first trace in the trace
list by default or to the currently selected trace.
Syntax
XYPlot1
.ActiveYAxisColor
[= value
]where
XYPlot1
- is the name of an XY Plot object or an expression that evaluates to an XY Plot object.value
- is an RGB color value that specifies the color of the y-axis.Example
Private Sub SetActiveYAxisColor() XYPlot1.ActiveYAxisColor = RGB(0,0,0) End Sub
Provide Feedback