ComparisonBarData

data class ComparisonBarData(val label: String, val bars: List<Float>, val colors: List<ChartColor>)

Data class representing a comparison bar in a bar chart.

Constructors

Link copied to clipboard
constructor(label: String, bars: 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 y-axis values for the bars.

Link copied to clipboard

A list of colors for the bars.

Link copied to clipboard

The label for the comparison bar.