@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.
4 lines (3 loc) • 340 B
TypeScript
export { colorGradientLegend, colorLegend, type ColorGradientLegendOptions, type ColorLegendOptions, } from './legend-static.js';
export { interactiveColorLegend } from './interactive-legend.js';
export type { InteractiveColorLegendChange, InteractiveColorLegendItemContext, InteractiveColorLegendOptions, } from './interactive-legend.js';