StackBarData

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

Parameters

label

The label associated with the data.

dataPoints

The list of data points for each stack.

colors

The list of colors for each stack (default is transparent for each stack).