tooltip.d.ts 898 B

1234567891011
  1. import { DisplayObject } from '@antv/g';
  2. /**
  3. * Show tooltip for series item.
  4. */
  5. export declare function seriesTooltip(root: DisplayObject, { elements: elementsof, sort: sortFunction, filter: filterFunction, scale, coordinate, crosshairs, render, groupName, emitter, wait, leading, trailing, startX, startY, body, single, position, enterable, mount, bounding, style: _style, ...rest }: Record<string, any>): () => void;
  6. /**
  7. * Show tooltip for non-series item.
  8. */
  9. export declare function tooltip(root: DisplayObject, { elements: elementsof, scale, render, groupName, sort: sortFunction, filter: filterFunction, emitter, wait, leading, trailing, groupKey, // group elements by specified key
  10. single, position, enterable, datum, view, mount, bounding, }: Record<string, any>): () => void;
  11. export declare function Tooltip(options: any): (target: any, viewInstances: any, emitter: any) => () => void;