brushAxisHighlight.d.ts 1.0 KB

1234567891011121314151617181920212223242526272829
  1. export declare const AXIS_CLASS_NAME = "axis";
  2. export declare const AXIS_LINE_CLASS_NAME = "axis-line";
  3. export declare const AXIS_MAIN_CLASS_NAME = "axis-main-group";
  4. export declare const AXIS_HOT_AREA_CLASS_NAME = "axis-hot-area";
  5. export declare function brushAxisHighlight(root: any, { axes: axesOf, // given root, return axes
  6. elements: elementsOf, // given root, return elements
  7. points: pointsOf, // given shape, return control points
  8. horizontal: isHorizontal, // given axis, return direction
  9. datum, // given shape, return datum
  10. offsetY, // offsetY for shape area
  11. offsetX, // offsetX for shape area
  12. reverse, state, emitter, coordinate, ...rest }: {
  13. [x: string]: any;
  14. axes: any;
  15. elements: any;
  16. points: any;
  17. horizontal: any;
  18. datum: any;
  19. offsetY: any;
  20. offsetX: any;
  21. reverse?: boolean;
  22. state?: {};
  23. emitter: any;
  24. coordinate: any;
  25. }): () => void;
  26. /**
  27. * @todo Support mask size.
  28. */
  29. export declare function BrushAxisHighlight(options: any): (target: any, _: any, emitter: any) => () => void;