RadarPolygonStyle

data class RadarPolygonStyle(val fillVisible: Boolean, val fillAlpha: Float, val lineColor: Color, val lineColors: ImmutableList<Color>, val lineWidth: Dp)(source)

Radar series outlines and optional translucent fills.

Constructors

Link copied to clipboard
constructor(fillVisible: Boolean, fillAlpha: Float, lineColor: Color, lineColors: ImmutableList<Color>, lineWidth: Dp)
constructor(fillVisible: Boolean, fillAlpha: Float, lineColor: Color, lineColors: List<Color>, lineWidth: Dp)

Copies the supplied list into an immutable list.

Properties

Link copied to clipboard

Fill alpha in 0..1, replacing the outline color alpha.

Link copied to clipboard

Whether polygon interiors are filled.

Link copied to clipboard

Single-series outline color and base color for generated palettes.

Link copied to clipboard
val lineColors: ImmutableList<Color>

Optional multi-series palette; when set, its count must match the series count. A single series uses lineColor and ignores this palette.

Link copied to clipboard

Outline stroke width in density-independent pixels.

Functions

Link copied to clipboard
fun resolveLineColors(seriesCount: Int): ImmutableList<Color>

Returns the polygon line colors the chart draws for seriesCount series.