GaugeChart

fun GaugeChart(percentValue: Int, modifier: Modifier = Modifier, gaugeChartConfig: GaugeChartConfig = GaugeChartDefaults.gaugeConfigDefaults(), needleConfig: NeedleConfig = GaugeChartDefaults.needleConfigDefaults(), animated: Boolean = true, animationSpec: AnimationSpec<Float> = tween())

A composable function that displays a gauge chart.

Parameters

percentValue

The value in percentage to be displayed on the gauge chart.

modifier

The modifier for styling or positioning the gauge chart.

gaugeChartConfig

The configuration for the gauge chart appearance.

needleConfig

The configuration for the needle in the gauge chart.

animated

Determines whether the gauge chart should be animated.

animationSpec

The animation specification for the gauge chart animation.