Model

data class Model(val groups: List<BpkBarChart.Group>, val legend: BpkBarChart.Legend? = null)

Represents the view model used to provide data to the chart.

See also

Constructors

Link copied to clipboard
constructor(groups: List<BpkBarChart.Group>, legend: BpkBarChart.Legend? = null)

Properties

Link copied to clipboard

List of bar groups to render.

Link copied to clipboard

An optional legend.