@visactor/vchart-types 1.11.3 → 1.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,8 +22,8 @@ export declare class CartesianBandAxis<T extends ICartesianBandAxisSpec = ICarte
22
22
  protected axisHelper(): {
23
23
  isContinuous: boolean;
24
24
  dataToPosition: (values: any[]) => number;
25
- getScale: (depth: number) => BandScale;
26
- getBandwidth: (depth: number) => number;
25
+ getScale: (depth?: number) => BandScale;
26
+ getBandwidth: (depth?: number) => number;
27
27
  getAxisType: () => ComponentTypeEnum;
28
28
  getAxisId: () => number;
29
29
  isInverse: () => boolean;
@@ -65,7 +65,7 @@ export declare abstract class PolarAxis<T extends IPolarAxisCommonSpec = IPolarA
65
65
  pointToCoord: (point: IPoint) => IPolarPoint;
66
66
  center: () => IPoint;
67
67
  layoutRadius: () => number;
68
- getScale: (depth: number) => IBaseScale;
68
+ getScale: (depth?: number) => IBaseScale;
69
69
  getAxisId: () => number;
70
70
  getSpec: () => T;
71
71
  };
@@ -26,7 +26,7 @@ export declare class PolarBandAxis<T extends IPolarBandAxisSpec = IPolarBandAxis
26
26
  pointToCoord: (point: import("../../../typings").IPoint) => import("../../../typings").IPolarPoint;
27
27
  center: () => import("../../../typings").IPoint;
28
28
  layoutRadius: () => number;
29
- getScale: (depth: number) => import("@visactor/vscale").IBaseScale;
29
+ getScale: (depth?: number) => import("@visactor/vscale").IBaseScale;
30
30
  getAxisId: () => number;
31
31
  getSpec: () => T;
32
32
  };