Basic <legend> and <legend-entry> directives; example and documentation.
Pick up legend information from plots.
Legend entry ordering
Legends working for lines
Legends working for other plot types
Minor update before doing legend interactivity
Legend interactivity
Documentation for legends