PlotRect
type PlotRect = {
bottom: number;
left: number;
right: number;
top: number;
};
Source: types/src/index.ts:988
The chart's plot area in logical px relative to the chart element's top-left: the candles and everything drawn over them, with the price and time axis strips excluded.
This is the rect to test a floating UI against, and it is deliberately not the element's own box — the element includes the axis strips, so measuring it overstates the room beside anything near an edge.
Properties
bottom
bottom: number;
Source: types/src/index.ts:992
left
left: number;
Source: types/src/index.ts:989
right
right: number;
Source: types/src/index.ts:991
top
top: number;
Source: types/src/index.ts:990