ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
15 lines (14 loc) • 717 B
TypeScript
import { BBox } from '../scene/bbox';
import type { Path } from '../scene/shape/path';
import type { ISeries } from './series/seriesTypes';
import { getDatumRefPoint } from './series/util';
import type { TooltipPointerEvent } from './tooltip/tooltip';
type PickProperties = {
bounds: Path | BBox | undefined;
datum: Parameters<typeof getDatumRefPoint>[1];
movedBounds?: Parameters<typeof getDatumRefPoint>[2];
clipFocusBox: boolean;
};
export declare function getPickedFocusBBox({ bounds }: PickProperties): Readonly<BBox>;
export declare function makeKeyboardPointerEvent(series: ISeries<any, any, any>, hoverRect: BBox, pick: PickProperties): TooltipPointerEvent<'keyboard'> | undefined;
export {};