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