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.

14 lines (13 loc) 482 B
import type { ChartMark, ChartMarkMotionOptions } from './types.js'; export interface FrameOptions extends ChartMarkMotionOptions<never> { id?: string; fill?: string; fillOpacity?: number; stroke?: string; strokeOpacity?: number; strokeWidth?: number; inset?: number; radius?: number; } /** Draws a background or border around the resolved inner chart bounds. */ export declare function frame(options?: FrameOptions): ChartMark<never, never, never>;