Horizontal Legends
Pre-release
Pre-release
Good morning,
HorizontalLegend has been added. HorizontalLegend draws its entries in rows, creating new rows when it runs out of space:
To use:
var horizontalLegend = new Plottable.Component.HorizontalLegend(colorScale);
Then add it to a table as usual. Going forward, Legend and HorizontalLegend will likely be merged into the same class, with an option to choose the display mode.
Breaking Changes
The contract for Animators has been changed to
public animate(selection: any, attrToProjector: IAttributeToProjector): D3.Selection;
Previously, animators took a third argument, the calling Plot.

