@mui/x-charts
Version:
The community edition of the Charts components (MUI X).
6 lines • 321 B
TypeScript
import { PolarAxisDefaultized } from "../../../../models/axis.js";
/**
* For a pointer coordinate, this function returns the value and dataIndex associated.
* Returns `-1` if the coordinate does not match a value.
*/
export declare function getAxisIndex(axisConfig: PolarAxisDefaultized, pointerValue: number): number;