UNPKG

@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.

6 lines (5 loc) 207 B
import type { ChartScene } from './types.js'; export declare function svgClientToScene(element: SVGSVGElement, scene: ChartScene, clientX: number, clientY: number): { x: number; y: number; } | null;