@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.
5 lines (4 loc) • 406 B
TypeScript
import type { ChartAnimationOptions } from './types.js';
export declare function reconcileChartSvg(container: HTMLElement, markup: string, animation?: ChartAnimationOptions): () => void;
/** Reconciles one keyed SVG subtree without reparsing or walking the chart. */
export declare function reconcileChartSvgFragment(currentRoot: SVGElement, markup: string, animation?: ChartAnimationOptions): () => void;