UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

11 lines 710 B
import type { ChartsRadiusAxisProps, ChartsRotationAxisProps, ComputedAxis, ScaleName } 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 getRotationAxisIndex(axisConfig: ComputedAxis<ScaleName, any, ChartsRotationAxisProps>, pointerValue: number): number; /** * 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 getRadiusAxisIndex(axisConfig: ComputedAxis<ScaleName, any, ChartsRadiusAxisProps>, pointerValue: number): number;