@visactor/vchart-types 1.9.5-alpha.0 → 1.9.5

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.
@@ -39,11 +39,7 @@ export declare abstract class AxisComponent<T extends ICommonAxisSpec & Record<s
39
39
  protected abstract axisHelper(): any;
40
40
  protected abstract getSeriesStatisticsField(s: ISeries): string[];
41
41
  protected abstract updateSeriesScale(): void;
42
- protected abstract collectData(depth: number, rawData?: boolean): {
43
- min: number;
44
- max: number;
45
- values: any[];
46
- }[];
42
+ protected abstract collectSeriesField(depth: number, series: ISeries): string | string[];
47
43
  abstract transformScaleDomain(): void;
48
44
  protected _dataFieldText: string;
49
45
  protected _axisMark: IComponentMark;
@@ -54,6 +50,11 @@ export declare abstract class AxisComponent<T extends ICommonAxisSpec & Record<s
54
50
  getVRenderComponents(): any[];
55
51
  created(): void;
56
52
  protected _initData(): void;
53
+ protected collectData(depth: number, rawData?: boolean): {
54
+ min: number;
55
+ max: number;
56
+ values: any[];
57
+ }[];
57
58
  protected isSeriesDataEnable(): boolean;
58
59
  protected setSeriesAndRegionsFromSpec(): void;
59
60
  getBindSeriesFilter(): {
@@ -86,11 +86,7 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
86
86
  update(ctx: IComponentOption): void;
87
87
  resize(ctx: IComponentOption): void;
88
88
  protected collectScale(): IBaseScale[];
89
- protected collectData(depth?: number, rawData?: boolean): {
90
- min: number;
91
- max: number;
92
- values: any[];
93
- }[];
89
+ protected collectSeriesField(depth: number, series: ICartesianSeries): string | string[];
94
90
  protected updateSeriesScale(): void;
95
91
  _transformLayoutPosition: (pos: Partial<IPoint>) => {
96
92
  x: number;
@@ -44,11 +44,7 @@ export declare abstract class PolarAxis<T extends IPolarAxisCommonSpec = IPolarA
44
44
  protected _tickTransformOption(): IPolarTickDataOpt;
45
45
  afterCompile(): void;
46
46
  protected updateScaleRange(): boolean;
47
- protected collectData(depth: number, rawData?: boolean): {
48
- min: number;
49
- max: number;
50
- values: any[];
51
- }[];
47
+ protected collectSeriesField(depth: number, series: IPolarSeries): string | string[];
52
48
  protected abstract computeDomain(data: {
53
49
  min: number;
54
50
  max: number;