/** 刻度文字大小:必须与 line.scss / bar.scss 里 label 的 font-size 保持一致(Canvas 量宽要用它) */ export const FONT_SIZE: 11; export function createTextMeasurer(fontSize?: number): (text: any) => any; export function niceNum(num: any, round: any): number; export function buildTicks({ min, max, count, formatter }: { min: any; max: any; count?: number; formatter: any; }): { value: number; label: string; }[]; export function resolveTickInterval({ count, width, widest, margin, fixed }: { count: any; width: any; widest: any; margin?: number; fixed?: number; }): number; export function useChartWidth(rootRef: any): import('vue').Ref; export function normalizeSeries({ data, count, names, colors, color, palette, fallback }: { data: any; count?: number; names?: any[]; colors?: any[]; color?: string; palette?: any[]; fallback: any; }): { index: number; values: number[]; name: any; color: any; }[]; export function layoutLegend({ items, right, iconWidth, textGap, itemGap }: { items: any; right: any; iconWidth?: number; textGap?: number; itemGap?: number; }): any; /** 触摸端抬手后提示的保留时长(ms):太短等于没看到,太长会一直挡着 */ export const TOOLTIP_HOLD: 2400; /** 浮层与锚点的水平间距 */ export const TOOLTIP_GAP: 12; export function nearestPointIndex({ x, left, right, count, pad }: { x: any; left: any; right: any; count: any; pad?: number; }): number; export function bandIndex({ x, left, width, count }: { x: any; left: any; width: any; count: any; }): number; export function clampTooltip({ x, y, width, height, containerWidth, containerHeight, padding }: { x: any; y: any; width: any; height: any; containerWidth: any; containerHeight: any; padding?: number; }): { x: number; y: number; }; export function placeTooltip({ x, y, width, height, containerWidth, containerHeight, placement, gap, padding }: { x: any; y: any; width: any; height: any; containerWidth: any; containerHeight: any; placement?: string; gap?: number; padding?: number; }): { x: number; y: number; }; export function useTooltipSize(tipRef: any): import('vue').Ref<{ width: number; height: number; }, { width: number; height: number; } | { width: number; height: number; }>; export function useTooltipPointer({ containerRef, enabled, hold }: { containerRef: any; enabled: any; hold?: number; }): { active: import('vue').Ref; touching: import('vue').Ref; position: import('vue').Ref<{ x: number; y: number; }, { x: number; y: number; } | { x: number; y: number; }>; move: (event: any) => void; down: (event: any) => void; up: () => void; leave: (event: any) => void; }; export function polarPoint(cx: any, cy: any, radius: any, deg: any): { x: any; y: any; }; export function sectorPath({ cx, cy, r0, r1, start, end }: { cx: any; cy: any; r0: any; r1: any; start: any; end: any; }): string; export function buildSectors({ data, names, colors, palette }: { data: any; names?: any[]; colors?: any[]; palette?: any[]; }): { index: number; value: number; name: any; color: any; percent: number; start: number; end: number; mid: number; }[]; export function sectorAt({ x, y, cx, cy, r0, r1, sectors }: { x: any; y: any; cx: any; cy: any; r0: any; r1: any; sectors: any; }): any; export function layoutPieLabels({ sectors, cx, cy, r1, textWidths, elbow, gap, lineHeight, minY, maxY }: { sectors: any; cx: any; cy: any; r1: any; textWidths: any; elbow?: number; gap?: number; lineHeight?: number; minY?: number; maxY?: number; }): { index: any; side: string; from: { x: any; y: any; }; elbow: { x: number; y: number; }; anchor: string; textX: number; textY: number; }[]; //# sourceMappingURL=chart.d.ts.map