GroupBarData

data class GroupBarData(val label: String, val dataPoints: List<Float>, val colors: List<Color> = List(dataPoints.count()) { Color.Transparent })

Immutable data class representing a group bar chart data.

Parameters

label

The label for the group bar.

dataPoints

The list of data points for each bar in the group.

colors

The list of colors for each bar in the group. Defaults to Color.Transparent if not provided explicitly.

Constructors

Link copied to clipboard
constructor(label: String, dataPoints: List<Float>, colors: List<Color> = List(dataPoints.count()) { Color.Transparent })

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard