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 updateChartRanges(chartRanges: MutableCartesianChartRanges, model: M)

Updates chartRanges in accordance with model.

Link copied to clipboard

Updates dimensions to match this CartesianLayer’s dimensions.