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.

3 lines (2 loc) 436 B
import type { ChartFocusFilter, ChartMark, ChartValue } from './types.js'; export declare function whenFocused<TDatum, TXPointValue extends ChartValue, TYPointValue extends ChartValue, TXScaleValue extends ChartValue, TYScaleValue extends ChartValue>(mark: ChartMark<TDatum, TXPointValue, TYPointValue, TXScaleValue, TYScaleValue>, options?: ChartFocusFilter): ChartMark<TDatum, TXPointValue, TYPointValue, TXScaleValue, TYScaleValue>;