AxisManager

open class AxisManager

Manages a chart’s axes, setting their bounds and drawing them.

See also

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Adds the AxisRenderers controlled by this AxisManager to the given MutableList of ChartInsetters.

Link copied to clipboard

Called after the associated Chart is drawn. This forwards a call to all Axis subclasses that causes them to be drawn above the chart.

Link copied to clipboard

Called before the associated Chart is drawn. This forwards a call to all Axis subclasses that causes them to be drawn behind the chart.

Link copied to clipboard
fun setAxes(startAxis: AxisRenderer<AxisPosition.Vertical.Start>? = this.startAxis, topAxis: AxisRenderer<AxisPosition.Horizontal.Top>? = this.topAxis, endAxis: AxisRenderer<AxisPosition.Vertical.End>? = this.endAxis, bottomAxis: AxisRenderer<AxisPosition.Horizontal.Bottom>? = this.bottomAxis)

Sets the axes managed by this AxisManager.

Link copied to clipboard
fun setAxesBounds(measureContext: MeasureContext, contentBounds: RectF, chartBounds: RectF, insets: Insets)

Sets each axis’s bounds.