IntLinearAxisModel

constructor(range: IntRange, minViewExtent: Int = ((range.last - range.first) * ZoomRangeLimitDefault).coerceAtLeast(1.0).toInt(), maxViewExtent: Int = ((range.last - range.first)), minimumMajorTickIncrement: Int = ( (range.last - range.first) * MinimumMajorTickIncrementDefault ).toInt(), minimumMajorTickSpacing: Dp = 50.dp, minorTickCount: Int = 4, inverted: Boolean = false)

Parameters

range

The minimum to maximum values allowed to be represented on this Axis. Zoom and scroll modifications may not exceed this range.

minViewExtent

Specifies the minimum allowed viewable range after zooming. Must be greater than 0 and less than or equal to the difference between the start and end of range.

maxViewExtent

Specifies the maximum allowed viewable range. Must be greater than 0, greater than or equal to minViewExtent, and less than or equal to the difference between the start and end of range.

minimumMajorTickIncrement

The minimum value between adjacent major ticks. Must be less than or equal to the extent of the range.

minimumMajorTickSpacing

Specifies the minimum physical spacing for major ticks, in Dp units. Must be greater than 0.

minorTickCount

The number of minor ticks per major tick interval.

inverted

If the axis coordinates should be inverted so smaller values are at the top/right.