AxisGridSpacing
The axis grid spacing properties.
Example
app = pf.GetApplication() app:NewProject() graph = app.CartesianGraphs:Add() -- Set horizontal display range graph.HorizontalAxis.Range.AutoRangeEnabled = false graph.HorizontalAxis.Range.Min = 0 graph.HorizontalAxis.Range.Max = 1 -- Set grid spacing graph.HorizontalAxis.MajorGrid.AutoSpacingEnabled = false graph.HorizontalAxis.MajorGrid.Spacing = 0.25
Usage locations
The AxisGridSpacing object can be accessed from the following locations:
- Properties
- AngularGraphAxis object has property MajorGrid.
- RadialGraphAxis object has property MajorGrid.
- VerticalGraphAxis object has property MajorGrid.
- HorizontalGraphAxis object has property MajorGrid.
Property List
- AutoSpacingEnabled
- Use automatically generated major grid spacing for the axis. (Read/Write boolean)
- Spacing
- Major axis grid spacing. (Read/Write number)