@tanstack/charts
Version:
A chart grammar for TypeScript and JavaScript. Marks consume your data directly, channels describe visual encodings, and the engine compiles them into a renderer-neutral keyed scene. TanStack's compact scales cover common numeric and categorical mappings.
14 lines (13 loc) • 415 B
TypeScript
import type { SceneGroup, SceneStyle } from './types.js';
export interface ArrowGeometryOptions {
key: string;
x1: number;
y1: number;
x2: number;
y2: number;
headLength: number;
headAngle: number;
style: SceneStyle;
className?: string;
}
export declare function arrowGeometry({ key, x1, y1, x2, y2, headLength, headAngle, style, className, }: ArrowGeometryOptions): SceneGroup;