VerticalAxis
An implementation of AxisRenderer used for vertical axes. This class extends Axis.
See also
Types
A subclass of Axis.Builder used to build VerticalAxis instances.
Defines the horizontal position of each of a vertical axis’s labels relative to the axis line.
Defines the vertical position of each of a horizontal axis’s labels relative to the label’s corresponding tick.
Properties
Defines the horizontal position of each axis label relative to the axis line.
Determines for what y values this VerticalAxis is to display labels, ticks, and guidelines.
The label spacing (in dp).
The maximum label count.
Defines the vertical position of each axis label relative to its corresponding tick.
Functions
Called after the Chart is drawn. Implementations can use this function to draw content above the Chart.
Called before the Chart is drawn. Implementations should rely on this function to draw themselves, unless they need to draw something above the Chart.
Called during the measurement phase, after getInsets. Only horizontal insets can be requested from this function. Unless the available height is of interest, getInsets can be used to set all insets. The final inset for a given edge of the associated Chart is the largest of the insets requested for the edge.
Called during the measurement phase, before getHorizontalInsets. Both horizontal and vertical insets can be requested from this function. The final inset for a given edge of the associated Chart is the largest of the insets requested for the edge.
Updates the chart’s MutableHorizontalDimensions instance.