LineIndicator

fun LineIndicator(modifier: Modifier = Modifier, color: Color = MaterialTheme.colorScheme.primary, heightFraction: Float = DefaultSizeFraction, width: Dp = 2.dp)

A line for comparative measure indicators.

Parameters

heightFraction

The fraction of the overall bullet graph bar area height for the extent of the line

width

The thickness of the line, defaults to 2.dp


fun LineIndicator(color: Color = MaterialTheme.colorScheme.primary, heightFraction: Float = DefaultSizeFraction, width: Dp = 2.dp)

Deprecated

Use LineIndicator with a modifier parameter instead

Replace with

LineIndicator(modifier, color, heightFraction, width)

A line for comparative measure indicators.

Parameters

heightFraction

The fraction of the overall bullet graph bar area height for the extent of the line

width

The thickness of the line, defaults to 2.dp