A legend, typically associated with a data visualization such as Meter, Distribution, SunBurst, or WorldMap.

  • Americas40
  • Europe20
  • Asia15


activeIndex {index}
Which data item should be shown as active, if any.
onActive {function (index)}
Function that will be called when the user hovers over one of the data items.
series [{label: , value: , colorIndex: , onClick: }, ...]
An array of objects describing the data.
size medium|large
The size of the Legend. Defaults to medium.
total true|false
Whether to show the total of all values.
units {string}
Optional units to display next to the value label.