@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) • 469 B
TypeScript
import type { ChartAdapter } from './adapter-shared.js';
import type { ChartRendererHostOptions } from './dom-types.js';
import type { ChartValue } from './types.js';
export declare function createChartRendererAdapter<TDatum, TXValue extends ChartValue = ChartValue, TYValue extends ChartValue = ChartValue>(initialOptions: ChartRendererHostOptions<TDatum, TXValue, TYValue>): ChartAdapter<ChartRendererHostOptions<TDatum, TXValue, TYValue>, TDatum, TXValue, TYValue>;