SurfaceGraphAxisGridSpacing
The axis grid spacing properties.
Example
app = pf.GetApplication() app:NewProject() graph = app.CartesianSurfaceGraphs: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 SurfaceGraphAxisGridSpacing object can be accessed from the following locations:
- Properties
- VerticalSurfaceGraphAxis object has property MajorGrid.
- HorizontalSurfaceGraphAxis 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)