Package-level declarations
Types
Link copied to clipboard
Configuration for the range labels under the start and the end of the arc.
Link copied to clipboard
The values a gauge maps onto its arc: min at the start and max at the end. Values outside the range stop at the nearest end.
Link copied to clipboard
Track configuration for a gauge: the full arc drawn behind each value.
Link copied to clipboard
object RingGaugeChartDefaults
An object that provides default styles for a Ring Gauge Chart.
Link copied to clipboard
class RingGaugeChartStyle(modifier: Modifier, val chartContainerStyle: ChartContainerStyle, val range: GaugeRangeStyle, val rings: RingGaugeRingsStyle, val track: GaugeTrackStyle, val labels: GaugeLabelsStyle, val legend: LegendStyle)
The style for a Ring Gauge Chart, grouped into cohesive sub-styles.
Link copied to clipboard
data class RingGaugeRingsStyle(val alpha: Float, val baseColor: Color, val colors: ImmutableList<Color>, val width: Dp, val spacing: Dp)
Ring configuration for a RingGaugeChartStyle.
Functions
Link copied to clipboard
fun RingGaugeChart(data: ChartData, modifier: Modifier = Modifier, style: RingGaugeChartStyle = RingGaugeChartDefaults.style(), title: String? = null, selectedValueFormatter: ChartValueFormatter = RingGaugeChartDefaults.selectedValueFormatter, axisValueFormatter: ChartValueFormatter = RingGaugeChartDefaults.axisValueFormatter, selection: ChartSelection = rememberChartSelection(), interactionEnabled: Boolean = true, animateOnStart: Boolean = true, subtitle: String? = null)
A composable function that displays a Ring Gauge Chart.