BarData

constructor(yValue: Float, xValue: Any, color: Color? = null)

Parameters

yValue

The value of the bar on the y-axis.

xValue

The value of the bar on the x-axis. It can be of any type (e.g., String, Int, Float, etc.).

color

The color of the bar. If not specified, the default color will be used.