nv.models.legend - GerHobbelt/nvd3 GitHub Wiki
A legend consisting of legend labels presented alongside a colored bullet. The bullets have some standard behaviours:
- bullets are selectable, when nothing is selected, will automatically select all
- double-clicking a bullet, will turn all the others off
- optionally act as a radio button (only one selected)
Data
Assumes data of the form:
[ { key: '....' } ]