@visactor/vchart
Version:
charts lib based @visactor/VGrammar
5 lines (4 loc) • 423 B
TypeScript
import type { ITextMark } from '../../mark/interface';
import type { DirectionType } from '../../typings/space';
import type { ISeries } from '../interface';
export declare function setRectLabelPos(component: ISeries, labelMark: ITextMark, position: string, offset: number, x: (datum: any) => number, x1: (datum: any) => number, y: (datum: any) => number, y1: (datum: any) => number, direction: () => DirectionType): void;