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.

4 lines (3 loc) 792 B
import type { ChartScene, ChartSvgRenderer, ChartValue, RenderChartSvgOptions, SceneGroup, SceneNode } from './types.js'; export declare function renderSvgFocusLayerWithRenderer<TDatum, TXValue extends ChartValue, TYValue extends ChartValue>(svg: SVGSVGElement, scene: ChartScene<TDatum, TXValue, TYValue>, node: SceneGroup, options: RenderChartSvgOptions, renderSvg: ChartSvgRenderer<TDatum, TXValue, TYValue>, placement?: 'under' | 'over'): string; export declare function renderFocusGuideLayerWithRenderer<TDatum, TXValue extends ChartValue, TYValue extends ChartValue>(svg: SVGSVGElement, scene: ChartScene<TDatum, TXValue, TYValue>, nodes: readonly SceneNode[], placement: 'under' | 'over', options: RenderChartSvgOptions, renderSvg: ChartSvgRenderer<TDatum, TXValue, TYValue>): string;