@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) • 312 B
TypeScript
import type { JSX } from 'preact';
import type { ChartValue } from '@tanstack/charts';
import type { ChartProps } from './types.js';
export declare function Chart<TDatum, TXValue extends ChartValue = ChartValue, TYValue extends ChartValue = ChartValue>(props: ChartProps<TDatum, TXValue, TYValue>): JSX.Element;