CartesianLayerInsetter

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

Inheritors

Functions

Link copied to clipboard
open fun updateHorizontalInsets(context: CartesianMeasuringContext, freeHeight: Float, model: M, insets: HorizontalInsets)

Ensures that there are sufficient horizontal insets. freeHeight is the height of the CartesianLayer area.

Link copied to clipboard
open fun updateInsets(context: CartesianMeasuringContext, horizontalDimensions: HorizontalDimensions, model: M, insets: Insets)

Ensures that there are sufficient insets.