recharts
Version:
React charts
16 lines (15 loc) • 497 B
TypeScript
import { Coordinate, PolarCoordinate } from '../types';
export type RadialCursorPoints = {
points: [startPoint: Coordinate, endPoint: Coordinate];
cx?: number;
cy?: number;
radius?: number;
startAngle?: number;
endAngle?: number;
};
/**
* Only applicable for radial layouts
* @param {Object} activeCoordinate ChartCoordinate
* @returns {Object} RadialCursorPoints
*/
export declare function getRadialCursorPoints(activeCoordinate: PolarCoordinate): RadialCursorPoints;