CartesianLayerMarginUpdater

Enables a CartesianChart component to make room for itself around the CartesianLayer area.

Inheritors

Functions

Link copied to clipboard
open fun updateHorizontalLayerMargins(context: CartesianMeasuringContext, horizontalLayerMargins: HorizontalCartesianLayerMargins, layerHeight: Float, model: M)

Ensures that there are sufficient horizontal CartesianLayer-area margins.

Link copied to clipboard
open fun updateLayerMargins(context: CartesianMeasuringContext, layerMargins: CartesianLayerMargins, layerDimensions: CartesianLayerDimensions, model: M)

Ensures that there are sufficient CartesianLayer-area margins.