@visactor/vchart-types 1.8.8-alpha.1 → 1.8.10-alpha.0
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.
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/component/axis/base-axis.d.ts +2 -1
- package/types/component/axis/cartesian/axis.d.ts +9 -2
- package/types/component/axis/cartesian/interface/spec.d.ts +19 -3
- package/types/component/axis/mixin/band-axis-mixin.d.ts +6 -1
- package/types/component/axis/mixin/linear-axis-mixin.d.ts +9 -1
- package/types/component/axis/polar/axis.d.ts +1 -1
- package/types/component/data-zoom/data-filter-base-component.d.ts +1 -1
- package/types/component/geo/geo-coordinate.d.ts +1 -0
- package/types/layout/base-layout.d.ts +46 -2
- package/types/layout/interface.d.ts +1 -4
- package/types/layout/layout-item.d.ts +1 -5
- package/types/layout/layout3d/index.d.ts +1 -8
- package/types/model/base-model-transformer.d.ts +2 -1
- package/types/model/interface.d.ts +0 -2
- package/types/model/layout-model.d.ts +0 -8
- package/types/series/area/area-transformer.d.ts +2 -0
- package/types/series/area/area.d.ts +0 -1
- package/types/typings/layout.d.ts +1 -1
|
@@ -39,7 +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): {
|
|
42
|
+
protected abstract collectData(depth: number, rawData?: boolean): {
|
|
43
43
|
min: number;
|
|
44
44
|
max: number;
|
|
45
45
|
values: any[];
|
|
@@ -61,6 +61,7 @@ export declare abstract class AxisComponent<T extends ICommonAxisSpec & Record<s
|
|
|
61
61
|
};
|
|
62
62
|
protected initEvent(): void;
|
|
63
63
|
protected updateScaleDomain(): void;
|
|
64
|
+
protected _clearRawDomain(): void;
|
|
64
65
|
protected computeData(updateType?: 'domain' | 'range' | 'force'): void;
|
|
65
66
|
protected initScales(): void;
|
|
66
67
|
_compareSpec(spec: T, prevSpec: T): {
|
|
@@ -3,7 +3,7 @@ import type { IEffect, IModelInitOption, IModelSpecInfo } from '../../../model/i
|
|
|
3
3
|
import type { ICartesianSeries } from '../../../series/interface';
|
|
4
4
|
import type { IRegion } from '../../../region/interface';
|
|
5
5
|
import type { ICartesianAxisCommonSpec, IAxisHelper } from './interface';
|
|
6
|
-
import type { IOrientType } from '../../../typings/space';
|
|
6
|
+
import type { IOrientType, IRect } from '../../../typings/space';
|
|
7
7
|
import type { IBaseScale } from '@visactor/vscale';
|
|
8
8
|
import type { StringOrNumber } from '../../../typings/common';
|
|
9
9
|
import type { IPoint } from '../../../typings/coordinate';
|
|
@@ -50,6 +50,12 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
|
|
|
50
50
|
height: number;
|
|
51
51
|
_lastComputeOutBounds: IBoundsLike;
|
|
52
52
|
};
|
|
53
|
+
protected _innerOffset: {
|
|
54
|
+
top: number;
|
|
55
|
+
bottom: number;
|
|
56
|
+
left: number;
|
|
57
|
+
right: number;
|
|
58
|
+
};
|
|
53
59
|
constructor(spec: T, options: IComponentOption);
|
|
54
60
|
static getSpecInfo(chartSpec: any): Maybe<IModelSpecInfo[]>;
|
|
55
61
|
static createComponent(specInfo: IModelSpecInfo, options: IComponentOption): IAxis;
|
|
@@ -69,6 +75,7 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
|
|
|
69
75
|
protected updateScaleRange(): boolean;
|
|
70
76
|
init(option: IModelInitOption): void;
|
|
71
77
|
setAttrFromSpec(): void;
|
|
78
|
+
onLayoutStart(layoutRect: IRect, viewRect: ILayoutRect, ctx: any): void;
|
|
72
79
|
protected getSeriesStatisticsField(s: ICartesianSeries): string[];
|
|
73
80
|
protected _tickTransformOption(coordinateType: CoordinateType): ICartesianTickDataOpt;
|
|
74
81
|
protected _initData(): void;
|
|
@@ -80,7 +87,7 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
|
|
|
80
87
|
update(ctx: IComponentOption): void;
|
|
81
88
|
resize(ctx: IComponentOption): void;
|
|
82
89
|
protected collectScale(): IBaseScale[];
|
|
83
|
-
protected collectData(depth?: number): {
|
|
90
|
+
protected collectData(depth?: number, rawData?: boolean): {
|
|
84
91
|
min: number;
|
|
85
92
|
max: number;
|
|
86
93
|
values: any[];
|
|
@@ -1,10 +1,26 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ILayoutNumber, IRectMarkSpec, StringOrNumber } from '../../../../typings';
|
|
2
2
|
import type { IBandAxisSpec, ILinearAxisSpec, IGrid, ICommonAxisSpec } from '../../interface';
|
|
3
3
|
import type { ICartesianDomainLine, ICartesianLabel, ITimeLayerType, ICartesianTitle, ICartesianAxisUnit } from './common';
|
|
4
4
|
import type { AxisItemStateStyle } from '@visactor/vrender-components';
|
|
5
5
|
export type ICartesianAxisSpec = ICartesianLinearAxisSpec | ICartesianBandAxisSpec | ICartesianTimeAxisSpec | ICartesianLogAxisSpec | ICartesianSymlogAxisSpec;
|
|
6
|
+
export type ICartesianVertical = {
|
|
7
|
+
orient: 'left' | 'right';
|
|
8
|
+
innerOffset?: {
|
|
9
|
+
top?: ILayoutNumber;
|
|
10
|
+
bottom?: ILayoutNumber;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type ICartesianHorizontal = {
|
|
14
|
+
orient: 'top' | 'bottom';
|
|
15
|
+
innerOffset?: {
|
|
16
|
+
left?: ILayoutNumber;
|
|
17
|
+
right?: ILayoutNumber;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type ICartesianZ = {
|
|
21
|
+
orient: 'z';
|
|
22
|
+
};
|
|
6
23
|
export type ICartesianAxisCommonSpec = ICommonAxisSpec & {
|
|
7
|
-
orient: IOrientType;
|
|
8
24
|
grid?: IGrid;
|
|
9
25
|
subGrid?: IGrid;
|
|
10
26
|
domainLine?: ICartesianDomainLine;
|
|
@@ -19,7 +35,7 @@ export type ICartesianAxisCommonSpec = ICommonAxisSpec & {
|
|
|
19
35
|
mode?: '2d' | '3d';
|
|
20
36
|
depth?: number;
|
|
21
37
|
unit?: ICartesianAxisUnit;
|
|
22
|
-
};
|
|
38
|
+
} & (ICartesianVertical | ICartesianHorizontal | ICartesianZ);
|
|
23
39
|
export interface ILinearAxisSync {
|
|
24
40
|
axisId: StringOrNumber;
|
|
25
41
|
zeroAlign?: boolean;
|
|
@@ -11,7 +11,7 @@ export interface BandAxisMixin {
|
|
|
11
11
|
_defaultBandOuterPadding: number;
|
|
12
12
|
event: IEvent;
|
|
13
13
|
isSeriesDataEnable: () => boolean;
|
|
14
|
-
collectData: (depth: number) => {
|
|
14
|
+
collectData: (depth: number, rawData?: boolean) => {
|
|
15
15
|
min: number;
|
|
16
16
|
max: number;
|
|
17
17
|
values: any[];
|
|
@@ -24,6 +24,9 @@ export interface BandAxisMixin {
|
|
|
24
24
|
transformScaleDomain: () => void;
|
|
25
25
|
}
|
|
26
26
|
export declare class BandAxisMixin {
|
|
27
|
+
protected _rawDomainIndex: {
|
|
28
|
+
[key: string | number | symbol]: number;
|
|
29
|
+
}[];
|
|
27
30
|
dataToPosition(values: any[], cfg?: IAxisLocationCfg): number;
|
|
28
31
|
valueToPosition(value: any): number;
|
|
29
32
|
updateGroupScaleRange(): void;
|
|
@@ -38,4 +41,6 @@ export declare class BandAxisMixin {
|
|
|
38
41
|
values: any[];
|
|
39
42
|
}[]): StringOrNumber[];
|
|
40
43
|
protected updateScaleDomain(): void;
|
|
44
|
+
protected _updateRawDomain(): void;
|
|
45
|
+
protected _clearRawDomain(): void;
|
|
41
46
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { LinearScale } from '@visactor/vscale';
|
|
2
2
|
import type { IAxisLocationCfg, ITick } from '../interface';
|
|
3
3
|
import type { IEvent } from '../../../event/interface';
|
|
4
|
+
import type { IOrientType } from '../../../typings/space';
|
|
5
|
+
import type { IComponentOption } from '../../interface/common';
|
|
4
6
|
export declare const e10: number;
|
|
5
7
|
export declare const e5: number;
|
|
6
8
|
export declare const e2: number;
|
|
@@ -21,8 +23,14 @@ export interface LinearAxisMixin {
|
|
|
21
23
|
_tick: ITick | undefined;
|
|
22
24
|
isSeriesDataEnable: any;
|
|
23
25
|
computeDomain: any;
|
|
24
|
-
collectData:
|
|
26
|
+
collectData: (depth?: number) => {
|
|
27
|
+
min: number;
|
|
28
|
+
max: number;
|
|
29
|
+
values: any[];
|
|
30
|
+
}[];
|
|
25
31
|
event: IEvent;
|
|
32
|
+
_orient: IOrientType;
|
|
33
|
+
_option: IComponentOption;
|
|
26
34
|
}
|
|
27
35
|
export declare class LinearAxisMixin {
|
|
28
36
|
protected _extend: {
|
|
@@ -44,7 +44,7 @@ export declare abstract class PolarAxis<T extends IPolarAxisCommonSpec = IPolarA
|
|
|
44
44
|
protected _tickTransformOption(coordinateType: CoordinateType): IPolarTickDataOpt;
|
|
45
45
|
afterCompile(): void;
|
|
46
46
|
protected updateScaleRange(): boolean;
|
|
47
|
-
protected collectData(depth: number): {
|
|
47
|
+
protected collectData(depth: number, rawData?: boolean): {
|
|
48
48
|
min: number;
|
|
49
49
|
max: number;
|
|
50
50
|
values: any[];
|
|
@@ -106,7 +106,7 @@ export declare abstract class DataFilterBaseComponent<T extends IDataFilterCompo
|
|
|
106
106
|
protected _handleChartScroll: (params: {
|
|
107
107
|
scrollX: number;
|
|
108
108
|
scrollY: number;
|
|
109
|
-
}, e: BaseEventParams['event']) =>
|
|
109
|
+
}, e: BaseEventParams['event']) => boolean;
|
|
110
110
|
protected _handleChartDrag: (delta: [number, number], e: BaseEventParams['event']) => void;
|
|
111
111
|
protected _handleChartMove: (value: number, rate: number) => void;
|
|
112
112
|
protected _initCommonEvent(): void;
|
|
@@ -29,6 +29,7 @@ export declare class GeoCoordinate extends BaseComponent<IGeoRegionSpec> impleme
|
|
|
29
29
|
}>;
|
|
30
30
|
private _actualScale;
|
|
31
31
|
getZoom(): number;
|
|
32
|
+
private _initialScale;
|
|
32
33
|
static getSpecInfo(chartSpec: any): Maybe<IModelSpecInfo[]>;
|
|
33
34
|
effect: IEffect;
|
|
34
35
|
setAttrFromSpec(): void;
|
|
@@ -2,7 +2,24 @@ import type { utilFunctionCtx } from '../typings/params';
|
|
|
2
2
|
import type { IChart } from '../chart/interface/chart';
|
|
3
3
|
import type { IBoundsLike } from '@visactor/vutils';
|
|
4
4
|
import type { IBaseLayout, ILayoutItem } from './interface';
|
|
5
|
-
import type { IPadding, IRect } from '../typings/space';
|
|
5
|
+
import type { IOrientType, IPadding, IRect } from '../typings/space';
|
|
6
|
+
import type { ILayoutRect } from '../typings/layout';
|
|
7
|
+
export type LayoutSideType = {
|
|
8
|
+
top: number;
|
|
9
|
+
left: number;
|
|
10
|
+
bottom: number;
|
|
11
|
+
right: number;
|
|
12
|
+
};
|
|
13
|
+
export interface IOffset {
|
|
14
|
+
offsetLeft: number;
|
|
15
|
+
offsetRight: number;
|
|
16
|
+
offsetTop: number;
|
|
17
|
+
offsetBottom: number;
|
|
18
|
+
}
|
|
19
|
+
type overlapInfo = {
|
|
20
|
+
items: ILayoutItem[];
|
|
21
|
+
rect: ILayoutRect;
|
|
22
|
+
};
|
|
6
23
|
export declare class Layout implements IBaseLayout {
|
|
7
24
|
static type: string;
|
|
8
25
|
leftCurrent: number;
|
|
@@ -13,10 +30,36 @@ export declare class Layout implements IBaseLayout {
|
|
|
13
30
|
_chartViewBox: IBoundsLike;
|
|
14
31
|
protected _onError: (msg: string) => void;
|
|
15
32
|
constructor(_spec?: unknown, ctx?: utilFunctionCtx);
|
|
33
|
+
protected _layoutInit(_chart: IChart, items: ILayoutItem[], chartLayoutRect: IRect, chartViewBox: IBoundsLike): void;
|
|
34
|
+
protected _layoutNormalItems(items: ILayoutItem[]): void;
|
|
35
|
+
protected _groupItems(items: ILayoutItem[]): {
|
|
36
|
+
regionItems: ILayoutItem[];
|
|
37
|
+
relativeItems: ILayoutItem[];
|
|
38
|
+
relativeOverlapItems: ILayoutItem[];
|
|
39
|
+
allRelatives: ILayoutItem[];
|
|
40
|
+
overlapItems: {
|
|
41
|
+
left: overlapInfo;
|
|
42
|
+
top: overlapInfo;
|
|
43
|
+
right: overlapInfo;
|
|
44
|
+
bottom: overlapInfo;
|
|
45
|
+
z: overlapInfo;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
16
48
|
layoutItems(_chart: IChart, items: ILayoutItem[], chartLayoutRect: IRect, chartViewBox: IBoundsLike): void;
|
|
49
|
+
protected _processAutoIndent(regionItems: ILayoutItem[], relativeItems: ILayoutItem[], relativeOverlapItems: ILayoutItem[], overlapItems: {
|
|
50
|
+
[key in IOrientType]: overlapInfo;
|
|
51
|
+
}, allRelatives: ILayoutItem[], layoutTemp: LayoutSideType): void;
|
|
17
52
|
protected layoutNormalItems(normalItems: ILayoutItem[]): void;
|
|
18
53
|
protected layoutNormalInlineItems(normalItems: ILayoutItem[]): void;
|
|
19
|
-
protected
|
|
54
|
+
protected _layoutRelativeOverlap(orient: IOrientType, info: overlapInfo): void;
|
|
55
|
+
protected _layoutRelativeItem(item: ILayoutItem, layoutRect: ILayoutRect): void;
|
|
56
|
+
protected _layoutRegionItem(regionItems: ILayoutItem[], regionRelativeTotalWidth: number, regionRelativeTotalHeight: number): {
|
|
57
|
+
regionHeight: number;
|
|
58
|
+
regionWidth: number;
|
|
59
|
+
};
|
|
60
|
+
protected layoutRegionItems(regionItems: ILayoutItem[], regionRelativeItems: ILayoutItem[], regionRelativeOverlapItems: ILayoutItem[], overlapItems?: {
|
|
61
|
+
[key in IOrientType]: overlapInfo;
|
|
62
|
+
}): void;
|
|
20
63
|
protected layoutAbsoluteItems(absoluteItems: ILayoutItem[]): void;
|
|
21
64
|
filterRegionsWithID(items: ILayoutItem[], id: number): ILayoutItem;
|
|
22
65
|
getItemComputeLayoutRect(item: ILayoutItem): {
|
|
@@ -31,3 +74,4 @@ export declare class Layout implements IBaseLayout {
|
|
|
31
74
|
}): IPadding;
|
|
32
75
|
private _getOutInLayout;
|
|
33
76
|
}
|
|
77
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IBoundsLike } from '@visactor/vutils';
|
|
2
2
|
import type { StringOrNumber } from '../typings/common';
|
|
3
|
-
import type { IOrientType,
|
|
3
|
+
import type { IOrientType, IRect } from '../typings/space';
|
|
4
4
|
import type { IPoint } from '../typings/coordinate';
|
|
5
5
|
import type { ILayoutNumber, ILayoutPaddingSpec, ILayoutPoint, ILayoutRect, ILayoutType } from '../typings/layout';
|
|
6
6
|
import type { ILayoutModel } from '../model/interface';
|
|
@@ -56,8 +56,6 @@ export interface ILayoutItem {
|
|
|
56
56
|
layoutPaddingTop: number;
|
|
57
57
|
layoutPaddingRight: number;
|
|
58
58
|
layoutPaddingBottom: number;
|
|
59
|
-
indent: IPadding;
|
|
60
|
-
layoutExcludeIndent: IRect;
|
|
61
59
|
layoutOffsetX: number;
|
|
62
60
|
layoutOffsetY: number;
|
|
63
61
|
layoutLevel: number;
|
|
@@ -89,7 +87,6 @@ export interface ILayoutItemSpec {
|
|
|
89
87
|
layoutLevel?: number;
|
|
90
88
|
orient?: IOrientType;
|
|
91
89
|
padding?: ILayoutPaddingSpec;
|
|
92
|
-
indent?: ILayoutPaddingSpec;
|
|
93
90
|
noOuterPadding?: boolean;
|
|
94
91
|
width?: ILayoutNumber;
|
|
95
92
|
maxWidth?: ILayoutNumber;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ILayoutModel } from './../model/interface';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IRect, IPoint } from '../typings';
|
|
3
3
|
import type { IBoundsLike } from '@visactor/vutils';
|
|
4
4
|
import type { ILayoutItem, ILayoutItemInitOption, ILayoutItemSpec } from './interface';
|
|
5
5
|
import type { IChartLayoutOption } from '../chart/interface/common';
|
|
@@ -39,10 +39,6 @@ export declare class LayoutItem implements ILayoutItem {
|
|
|
39
39
|
layoutPaddingTop: ILayoutItem['layoutPaddingTop'];
|
|
40
40
|
layoutPaddingRight: ILayoutItem['layoutPaddingRight'];
|
|
41
41
|
layoutPaddingBottom: ILayoutItem['layoutPaddingBottom'];
|
|
42
|
-
protected _indent: IPadding;
|
|
43
|
-
get indent(): IPadding;
|
|
44
|
-
private _layoutExcludeIndent;
|
|
45
|
-
get layoutExcludeIndent(): IRect;
|
|
46
42
|
layoutOffsetX: ILayoutItem['layoutOffsetX'];
|
|
47
43
|
layoutOffsetY: ILayoutItem['layoutOffsetY'];
|
|
48
44
|
layoutLevel: ILayoutItem['layoutLevel'];
|
|
@@ -2,18 +2,12 @@ import type { IChart } from '../../chart/interface/chart';
|
|
|
2
2
|
import type { IBoundsLike } from '@visactor/vutils';
|
|
3
3
|
import type { IRect } from '../../typings/space';
|
|
4
4
|
import type { IBaseLayout, ILayoutItem } from '../interface';
|
|
5
|
+
import type { IOffset } from '../base-layout';
|
|
5
6
|
import { Layout } from '../base-layout';
|
|
6
|
-
interface IOffset {
|
|
7
|
-
offsetLeft: number;
|
|
8
|
-
offsetRight: number;
|
|
9
|
-
offsetTop: number;
|
|
10
|
-
offsetBottom: number;
|
|
11
|
-
}
|
|
12
7
|
export declare class Layout3d extends Layout implements IBaseLayout {
|
|
13
8
|
static type: string;
|
|
14
9
|
layoutItems(_chart: IChart, items: ILayoutItem[], chartLayoutRect: IRect, chartViewBox: IBoundsLike): void;
|
|
15
10
|
protected layoutZAxisItems(zItems: ILayoutItem[], zRect: IRect): void;
|
|
16
|
-
protected layoutRegionItems(regionItems: ILayoutItem[], regionRelativeItems: ILayoutItem[], extraOffset?: IOffset): void;
|
|
17
11
|
getItemComputeLayoutRect(item: ILayoutItem, extraOffset?: IOffset): {
|
|
18
12
|
width: number;
|
|
19
13
|
height: number;
|
|
@@ -26,4 +20,3 @@ export declare class Layout3d extends Layout implements IBaseLayout {
|
|
|
26
20
|
};
|
|
27
21
|
}
|
|
28
22
|
export declare const registerLayout3d: () => void;
|
|
29
|
-
export {};
|
|
@@ -14,7 +14,8 @@ export declare class BaseModelSpecTransformer<T extends IModelSpec, K> implement
|
|
|
14
14
|
spec: T;
|
|
15
15
|
theme: K;
|
|
16
16
|
};
|
|
17
|
-
protected
|
|
17
|
+
protected _transformSpecBeforeMergingTheme(spec: T, chartSpec: any, chartSpecInfo?: IChartSpecInfo): void;
|
|
18
|
+
protected _transformSpecAfterMergingTheme(spec: T, chartSpec: any, chartSpecInfo?: IChartSpecInfo): void;
|
|
18
19
|
protected _mergeThemeToSpec(spec: T, chartSpec: any): {
|
|
19
20
|
spec: T;
|
|
20
21
|
theme: K;
|
|
@@ -89,8 +89,6 @@ export interface ILayoutModel extends IModel {
|
|
|
89
89
|
setLayoutStartPosition: (pos: Partial<IPoint>) => void;
|
|
90
90
|
getLayoutRect: () => ILayoutRect;
|
|
91
91
|
setLayoutRect: (rect: Partial<ILayoutRect>, levelMap?: Partial<ILayoutRect>) => void;
|
|
92
|
-
getLayoutPositionExcludeIndent: () => IPoint;
|
|
93
|
-
getLayoutRectExcludeIndent: () => ILayoutRect;
|
|
94
92
|
getLastComputeOutBounds: () => IBoundsLike;
|
|
95
93
|
getBoundsInRect: (rect: ILayoutRect, fullRect: ILayoutRect) => IBoundsLike;
|
|
96
94
|
afterSetLayoutStartPoint: (pos: ILayoutPoint) => void;
|
|
@@ -23,14 +23,6 @@ export declare abstract class LayoutModel<T extends IModelSpec> extends BaseMode
|
|
|
23
23
|
onLayoutEnd(ctx: any): void;
|
|
24
24
|
afterSetLayoutStartPoint(_pos: ILayoutPoint): void;
|
|
25
25
|
protected _forceLayout(): void;
|
|
26
|
-
getLayoutPositionExcludeIndent(): {
|
|
27
|
-
x: number;
|
|
28
|
-
y: number;
|
|
29
|
-
};
|
|
30
|
-
getLayoutRectExcludeIndent(): {
|
|
31
|
-
width: number;
|
|
32
|
-
height: number;
|
|
33
|
-
};
|
|
34
26
|
getLayoutStartPoint(): IPoint;
|
|
35
27
|
setLayoutStartPosition(pos: Partial<IPoint>): any;
|
|
36
28
|
getLayoutRect(): ILayoutRect;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { IChartSpecInfo } from '../../chart/interface';
|
|
1
2
|
import { LineLikeSeriesSpecTransformer } from '../mixin/line-mixin-transformer';
|
|
2
3
|
import type { IAreaSeriesSpec, IAreaSeriesTheme } from './interface';
|
|
3
4
|
export declare class AreaSeriesSpecTransformer<T extends IAreaSeriesSpec = IAreaSeriesSpec, K extends IAreaSeriesTheme = IAreaSeriesTheme> extends LineLikeSeriesSpecTransformer<T, K> {
|
|
4
5
|
protected _transformLabelSpec(spec: T): void;
|
|
6
|
+
protected _transformSpecAfterMergingTheme(spec: T, chartSpec: any, chartSpecInfo?: IChartSpecInfo): void;
|
|
5
7
|
}
|
|
@@ -19,7 +19,6 @@ export declare class AreaSeries<T extends IAreaSeriesSpec = IAreaSeriesSpec> ext
|
|
|
19
19
|
protected _areaMark: IAreaMark;
|
|
20
20
|
protected _supportStack: boolean;
|
|
21
21
|
protected _sortDataByAxis: boolean;
|
|
22
|
-
setAttrFromSpec(): void;
|
|
23
22
|
initMark(): void;
|
|
24
23
|
initMarkStyle(): void;
|
|
25
24
|
initAnimation(): void;
|
|
@@ -13,7 +13,7 @@ export type IPercentOffset = {
|
|
|
13
13
|
offset?: number;
|
|
14
14
|
};
|
|
15
15
|
export type ILayoutPercent = IPercent | number;
|
|
16
|
-
export type ILayoutType = 'region-relative' | 'region' | 'normal' | 'absolute' | 'normal-inline';
|
|
16
|
+
export type ILayoutType = 'region-relative' | 'region-relative-overlap' | 'region' | 'normal' | 'absolute' | 'normal-inline';
|
|
17
17
|
export type ILayoutOrientPadding = {
|
|
18
18
|
left?: ILayoutNumber;
|
|
19
19
|
right?: ILayoutNumber;
|