Legend

data class Legend(val selectedTitle: String, val activeTitle: String, val inactiveTitle: String)

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.

Parameters

selectedTitle

label to represent selected bars and will use the selected colours from the palette.

activeTitle

label to represent active bars and will use the active colours from the palette.

inactiveTitle

label to represent inactive bars and will use the inactive colours from the palette.

Constructors

Link copied to clipboard
constructor(selectedTitle: String, activeTitle: String, inactiveTitle: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard