Category Axis Model
Parameters
T
The data type of the axis values.
categories
The objects that represent values on this axis. If objects are duplicated as defined by their equals method, the behavior is undefined.
Constructors
Link copied to clipboard
fun <T> CategoryAxisModel(categories: List<T>, minimumMajorTickSpacing: Dp = 50.dp)
Content copied to clipboard
Functions
Link copied to clipboard
Returns the offset of the provided string within this Category axis. Returns NaN if point is not a valid category.
Link copied to clipboard
Computes major and minor tick values based on the minimum tick spacing and the overall axisLength.