@mui/x-charts
Version:
The community edition of MUI X Charts components.
4 lines • 436 B
TypeScript
import { type TickItemType } from "../hooks/useTicks.js";
import { type ChartsXAxisProps } from "../models/axis.js";
import { type 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>;