Legend

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

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.

See also

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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