useChartLayout
Returns the chart layout as configured by the chart. Cartesian charts use Returns horizontal or vertical. Polar charts use centric or radial.undefined if used outside a chart context.
Return value
(union of 5 variants)
The chart layout, or undefined if not in a chart context.