[v1.16.0] Component.componentAt() and Visual Adjustments to InterpolatedColorLegend
Plottable users can now select Components from a table, using the componentAt() endpoint. Axes.Category now render top-down instead of bottom-up. In addition, InterpolatedColorLegends have received a slight visual adjustment to their padding.
Features
componentAt() on Table
Users can now get the Component at a given row and column index in a Table using componentAt():
public componentAt(rowIndex: number, columnIndex: number): Component;This method returns null if no Component exists at the specified position.
Try it out: http://jsfiddle.net/o0gqk349/
Padding on InterpolatedColorLegend
Padding on InterpolatedColorLegends has been increased so that there will be more space between the Legends and other Components in a Table. On vertical InterpolatedColorLegends, the top and bottom padding was removed, and the legend will now take up the full height of its parent container.
Bug Fixes
Axes.Categoryin the vertical orientation now render the text from top to bottom to match the rendering direction ofXYPlots (#2863).
