Files
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

4 lines
410 B
TypeScript

import { ChartDrawingArea } from "../hooks/index.js";
import { TickItemType } from "../hooks/useTicks.js";
import { ChartsYAxisProps } from "../models/index.js";
export declare function shortenLabels(visibleLabels: TickItemType[], drawingArea: Pick<ChartDrawingArea, 'top' | 'height' | 'bottom'>, maxWidth: number, isRtl: boolean, tickLabelStyle: ChartsYAxisProps['tickLabelStyle']): Map<TickItemType, string>;