RadarSelectionStyle

data class RadarSelectionStyle(val visible: Boolean, val pointSize: Dp, val unselectedAlpha: Float, val unfocusedSeriesAlpha: Float)(source)

Selection indicator configuration for radar charts.

Dragging selects an axis: its points are drawn at pointSize, and the points and axis labels of the other axes are drawn at unselectedAlpha. Tapping a series outline focuses the series: the other series are drawn at unfocusedSeriesAlpha, and repeated taps where series overlap move to the next.

Constructors

Link copied to clipboard
constructor(visible: Boolean, pointSize: Dp, unselectedAlpha: Float, unfocusedSeriesAlpha: Float)

Properties

Link copied to clipboard

The radius of the selected axis's points.

Link copied to clipboard

The alpha multiplier for the other series while a series is focused, in 0..1. 1f keeps every series solid.

Link copied to clipboard

The alpha multiplier for the data points and labels of the other axes while an axis is selected, in 0..1. 1f keeps them solid.

Link copied to clipboard

Whether selection shows on the chart. false draws every series, point, and label as usual.