Gauge Chart
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
percent Value
The value in percentage to be displayed on the gauge chart.
modifier
The modifier for styling or positioning the gauge chart.
gauge Chart Config
The configuration for the gauge chart appearance.
needle Config
The configuration for the needle in the gauge chart.
animated
Determines whether the gauge chart should be animated.
animation Spec
The animation specification for the gauge chart animation.