Legend
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.