StackBarData

data class StackBarData(val label: String, val values: List<Float>, val colors: List<ChartColor>)

Data class representing a comparison bar in a bar chart.

Constructors

Link copied to clipboard
constructor(label: String, values: List<Float>, colors: List<ChartColor>)

Creates a ComparisonBarData instance and ensures the size of bars and colors lists are equal.

Properties

Link copied to clipboard

A list of colors for the bars.

Link copied to clipboard

The label for the comparison bar.

Link copied to clipboard

A list of y-axis values for the bars.