line.d.ts 815 B

123456789101112131415
  1. import { type AnimationResult, type StandardAnimationOption } from '../../../animation';
  2. import { Selection } from '../../../util';
  3. import type { RequiredAxisStyleProps, RequiredLinearAxisStyleProps } from '../types';
  4. export declare const getLinearValuePos: {
  5. (...args: any[]): any;
  6. cache: Map<any, any>;
  7. };
  8. export declare const getArcValuePos: {
  9. (...args: any[]): any;
  10. cache: Map<any, any>;
  11. };
  12. export declare function getValuePos(value: number, attr: RequiredAxisStyleProps): any;
  13. export declare function isAxisHorizontal(attr: RequiredLinearAxisStyleProps): boolean;
  14. export declare function isAxisVertical(attr: RequiredLinearAxisStyleProps): boolean;
  15. export declare function renderAxisLine(container: Selection, attr: RequiredAxisStyleProps, animate: StandardAnimationOption): AnimationResult[];