StackedAreaSelectionStyle

data class StackedAreaSelectionStyle(val visible: Boolean, val color: Color, val width: Dp, val unselectedAlpha: Float)(source)

Selection indicator configuration for stacked area charts.

While a point is selected, a column around it keeps full color and the rest of the stack is drawn at unselectedAlpha. The selection line is drawn only above the stack, at the selected point.

Constructors

Link copied to clipboard
constructor(visible: Boolean, color: Color, width: Dp, unselectedAlpha: Float)

Properties

Link copied to clipboard

The selection line color.

Link copied to clipboard

The alpha multiplier for the stack outside the selected column, in 0..1. 1f keeps the whole stack at full color.

Link copied to clipboard

Whether the selection indicator is visible. false also keeps the stack at full color.

Link copied to clipboard
val width: Dp

The selection line stroke width in density-independent pixels.