[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, InterpolatedColorLegend
s 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 InterpolatedColorLegend
s has been increased so that there will be more space between the Legends
and other Component
s in a Table
. On vertical InterpolatedColorLegend
s, the top and bottom padding was removed, and the legend will now take up the full height of its parent container.
Bug Fixes
Axes.Category
in the vertical orientation now render the text from top to bottom to match the rendering direction ofXYPlot
s (#2863).