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) 499 B
import type { ChartPositionChannel, MaterializedChannel } from './types.js'; /** Reads positional identity without coupling it to one channel record key. */ export declare function readMaterializedPositionChannel(name: string, channel: MaterializedChannel): ChartPositionChannel | undefined; /** Retains positional identity when a composed mark namespaces channel keys. */ export declare function preserveMaterializedPositionChannel(name: string, channel: MaterializedChannel): MaterializedChannel;