UNPKG

@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) 249 B
import type { ChartPoint } from './types.js'; export declare function setMappedFocusCoordinate(point: ChartPoint, axis: 'x' | 'y', coordinate: number): void; export declare function mappedFocusCoordinate(point: ChartPoint, axis: 'x' | 'y'): number;