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.

18 lines (17 loc) 406 B
import { createDecorativeMark } from "./mark-decorative-internal.js"; import { stripMarkSceneInteraction } from "./mark-scene-filter-internal.js"; function decorative(mark) { return createDecorativeMark( mark, (scene) => stripMarkSceneInteraction(scene, { conditional: "reject" }), { conditional: "reject", layoutLabels: "preserve" } ); } export { decorative };