Float Linear Axis Model
An AxisModel that uses Float values and is linear.
Parameters
The minimum to maximum values allowed to be represented on this Axis. Zoom and scroll modifications may not exceed this range.
Specifies the minimum allowed range after zooming. Must be greater than 0 and less than the difference between the start and end of range.
The minimum value between adjacent major ticks. Must be less than or equal to the extent of the range.
Specifies the minimum physical spacing for major ticks, in Dp units. Must be greater than 0.
The number of minor ticks per major tick interval.
If the axis should allow zooming
If the axis should allow panning.
Constructors
Functions
Computes the linear offset of the provided point along this axis relative to its min value. For a linear axis this is offset = (point-min)/(max-min). Values less than 0 or greater than 1 mean the point is before or beyond the range of the axis, respectively. Nonlinear, e.g. log, axes can be implemented with appropriate transformations in this function.
Computes major and minor tick values based on the minimum tick spacing and the overall axisLength.