@mui/x-charts
Version:
The community edition of MUI X Charts components.
4 lines • 427 B
text/typescript
import { type TickItem } from "../hooks/useTicks.mjs";
import { type ChartsXAxisProps } from "../models/axis.mjs";
import { type ChartDrawingArea } from "../hooks/useDrawingArea.mjs";
export declare function shortenLabels(visibleLabels: Set<TickItem>, drawingArea: Pick<ChartDrawingArea, 'left' | 'width' | 'right'>, maxHeight: number, isRtl: boolean, tickLabelStyle: ChartsXAxisProps['tickLabelStyle']): Map<TickItem, string>;