BpkBarChartModel
data class BpkBarChartModel(val caption: String, val items: List<BpkBarChartModel.Item>, val legend: BpkBarChartModel.Legend? = null)
Represents the view model used to provide data to the bar chart.
Parameters
caption
a chart caption.
items
list of bar items to render.
legend
an optional legend.
Constructors
Link copied to clipboard
constructor(caption: String, items: List<BpkBarChartModel.Item>, legend: BpkBarChartModel.Legend? = null)
Types
Link copied to clipboard
Represents a legend for the chart. Two types of legends are available, active
and inactive
. Those relate to the inactive
prop of the bar. Inactive
bars will have the same style as the inactive
legend and active
bars the same style as the active
legend.
Link copied to clipboard
Represents a set of values of a single bar in chart