Signal Progress Bar Chart
fun SignalProgressBarChart(progress: () -> Float, modifier: Modifier = Modifier, totalBlocks: Int = 10, trackColor: ChartColor = Color.Gray.asSolidChartColor(), progressColor: ChartColor = Color.Green.asSolidChartColor(), gapRatio: Float = 0.1f)
A composable function that displays a signal bar chart with solid colors.
Parameters
progress
A lambda function that returns the current progress as a Float.
modifier
A Modifier to be applied to the Canvas.
track Color
The color to be used for the track.
progress Color
The color to be used for the progress.
gap Ratio
A Float representing the ratio of the gap between blocks.