@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.
12 lines (11 loc) • 344 B
TypeScript
import type { ChartScaleInput } from './types.js';
export interface GroupOptions {
scale?: ChartScaleInput<any>;
padding?: number;
}
export interface GroupLayout {
readonly type: 'group';
readonly scale?: ChartScaleInput<any>;
readonly padding?: number;
}
export declare function group(options?: GroupOptions): GroupLayout;