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) 174 B
function sceneChildId(ownerId, childId) { return childId === ownerId || childId.startsWith(`${ownerId}:`) ? childId : `${ownerId}:${childId}`; } export { sceneChildId };