CartesianLayer

Visualizes data on a Cartesian plane. CartesianLayers are combined and drawn by CartesianCharts.

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun draw(context: CartesianDrawingContext, model: M)

Draws the CartesianLayer.

Link copied to clipboard
abstract fun prepareForTransformation(model: M?, ranges: CartesianChartRanges, extraStore: MutableExtraStore)

Prepares the CartesianLayer for a difference animation.

Link copied to clipboard
abstract suspend fun transform(extraStore: MutableExtraStore, fraction: Float)

Carries out the pending difference animation.

Link copied to clipboard
abstract fun updateHorizontalDimensions(context: CartesianMeasuringContext, horizontalDimensions: MutableHorizontalDimensions, model: M)

Updates horizontalDimensions to match this CartesianLayer’s dimensions.

Link copied to clipboard
abstract fun updateRanges(ranges: MutableCartesianChartRanges, model: M)

Updates ranges in accordance with model.