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.

7 lines (6 loc) 831 B
import type { ChartMotionContext, ChartMotionDefinition, ChartMotionTiming } from './types.js'; type ResolvedCompositeMotion<TDatum> = false | ChartMotionTiming<TDatum>; export declare function resolveCompositeMotion<TDatum>(definition: ChartMotionDefinition<TDatum> | undefined, context: ChartMotionContext<TDatum>): ResolvedCompositeMotion<TDatum> | undefined; export declare function resolveCompositeChildMotion<TDatum>(parent: ChartMotionDefinition<TDatum> | undefined, children: ReadonlyMap<string, ChartMotionDefinition<any>>, context: ChartMotionContext<TDatum>): ResolvedCompositeMotion<TDatum> | undefined; export declare function mergeCompositeMotion<TDatum>(parent: ResolvedCompositeMotion<TDatum> | undefined, child: ResolvedCompositeMotion<TDatum> | undefined): ResolvedCompositeMotion<TDatum> | undefined; export {};