StackBarData

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

Represents the data for a stack bar chart.

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).

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