@tanstack/charts
Version:
<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/charts.png?theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/
4 lines (3 loc) • 298 B
TypeScript
import type { ChartMark, DecorativeChartMark } from './types.js';
/** Keeps one mark's scale and painted geometry while removing interaction ownership. */
export declare function decorative<const TMark extends ChartMark<any, any, any, any, any, any, any>>(mark: TMark): DecorativeChartMark<TMark>;