Package-level declarations
Types
Link copied to clipboard
Immutable, indexed data shared by aligned-series charts.
Link copied to clipboard
Hoisted selection state for charts that support selecting a single data point (e.g. a pie slice).
Link copied to clipboard
A single named series of values within a ChartData.
Link copied to clipboard
Formats a raw chart value for display.
Link copied to clipboard
object ChartValueFormatters
Standard ChartValueFormatter factories.
Link copied to clipboard
Background lifecycle policy for a ChartSelection.
Functions
Link copied to clipboard
Builds a ChartData from shared categories and one or more series.
Link copied to clipboard
fun rememberChartSelection(initialIndex: Int? = null, onSelectionChanged: (Int?) -> Unit? = null): ChartSelection
Creates a ChartSelection remembered for the current composition.
Link copied to clipboard
fun rememberSelectionLifecycle(selection: ChartSelection, data: Any?, itemCount: Int = Int.MAX_VALUE, lifetime: SelectionLifetime = SelectionLifetime.Persistent, autoDeselectTrigger: Any? = selection.version)
Drives the background lifecycle of a ChartSelection:
Link copied to clipboard
Creates a new, unremembered ChartSelection initialized to index, e.g. for screenshots and documentation images. The returned state is still mutable; this factory does not lock selection or disable interaction or animation.