AutoScale property (XY Plot object)
Returns or sets whether the runtime chart will auto scale the x-axis and y-axis. Read/write. Boolean.
Syntax
XYPlot1
.AutoScale
[ = 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. Chart will automatically scale the x-axis and y-axis.
- False. Chart will not automatically scale the x-axis and y-axis.
Example
Private Sub SetAutoScale() XYPlot1.AutoScale = True End Sub
Provide Feedback