usePlotArea
Plot area is the area where the actual chart data is rendered. This means: bars, lines, scatter points, etc. The plot area is calculated based on the chart dimensions and the offset.
Return value
PlotArea | undefined
Plot area of the chart in pixels, or undefined if used outside a chart context.