@mui/x-charts
Version:
The community edition of MUI X Charts components.
16 lines • 436 B
TypeScript
export type ChartDrawingArea = {
top: number;
left: number;
right: number;
bottom: number;
width: number;
height: number;
};
/**
* Get the drawing area dimensions and coordinates. The drawing area is the area where the chart is rendered.
*
* It includes the left, top, width, height, bottom, and right dimensions.
*
* @returns The drawing area dimensions.
*/
export declare function useDrawingArea(): ChartDrawingArea;