setAxesBounds

fun setAxesBounds(measureContext: MeasureContext, contentBounds: RectF, chartBounds: RectF, insets: Insets)

Sets each axis’s bounds.

Parameters

measureContext

holds data used for component measurements.

contentBounds

the bounds in which the content of the chart should be drawn.

insets

the final insets, as specified by the associated chart’s ChartInsetters. In order to be drawn properly, axes should take these insets into account while setting their bounds.