AxisRange

The axis range 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 = 5

Usage locations

The AxisRange object can be accessed from the following locations:

Property List

AutoRangeEnabled
Enable the automatic range of the axis. (Read/Write boolean)
Max
Axis range maximum value. (Read/Write number)
Min
Axis range minimum value. (Read/Write number)

Property Details

AutoRangeEnabled
Enable the automatic range of the axis.
Type
boolean
Access
Read/Write
Max
Axis range maximum value.
Type
number
Access
Read/Write
Min
Axis range minimum value.
Type
number
Access
Read/Write