Merge legends

Extending only HorizontalLegend to cover Legend functionality.

Orignal PR #1415.
Why is entry an event target?

Why not have entry be a selection?