@visactor/vchart-types 1.7.0-alpha.0 → 1.7.0-alpha.2
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 +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/types/chart/base-chart.d.ts +9 -12
- package/types/chart/interface/chart.d.ts +2 -4
- package/types/chart/sequence/sequence.d.ts +1 -1
- package/types/chart/util.d.ts +8 -0
- package/types/compile/compiler.d.ts +2 -2
- package/types/compile/mark/compilable-mark.d.ts +15 -6
- package/types/compile/mark/interface.d.ts +8 -4
- package/types/compile/mark/util.d.ts +1 -3
- package/types/component/axis/base-axis.d.ts +1 -4
- package/types/component/axis/cartesian/axis.d.ts +3 -13
- package/types/component/axis/cartesian/band-axis.d.ts +0 -7
- package/types/component/axis/cartesian/interface/common.d.ts +0 -6
- package/types/component/axis/interface/common.d.ts +0 -1
- package/types/component/axis/interface/spec.d.ts +1 -0
- package/types/component/axis/mixin/band-axis-mixin.d.ts +0 -1
- package/types/component/axis/mixin/linear-axis-mixin.d.ts +0 -1
- package/types/component/brush/brush.d.ts +1 -2
- package/types/component/crosshair/base.d.ts +2 -2
- package/types/component/custom-mark/custom-mark.d.ts +2 -2
- package/types/component/data-zoom/data-filter-base-component.d.ts +7 -2
- package/types/component/data-zoom/data-zoom/data-zoom.d.ts +4 -2
- package/types/component/data-zoom/data-zoom/interface.d.ts +5 -1
- package/types/component/data-zoom/scroll-bar/interface.d.ts +5 -1
- package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +3 -0
- package/types/component/data-zoom/util.d.ts +4 -0
- package/types/component/geo/geo-coordinate.d.ts +2 -2
- package/types/component/index.d.ts +3 -2
- package/types/component/indicator/indicator.d.ts +2 -2
- package/types/component/interface/theme.d.ts +2 -1
- package/types/component/label/base-label.d.ts +1 -2
- package/types/component/label/interface.d.ts +5 -0
- package/types/component/label/label.d.ts +4 -6
- package/types/component/label/totalLabel.d.ts +0 -2
- package/types/component/label/util.d.ts +10 -3
- package/types/component/legend/util.d.ts +1 -1
- package/types/component/map-label/component.d.ts +2 -2
- package/types/component/marker/base-marker.d.ts +7 -2
- package/types/component/marker/interface.d.ts +14 -3
- package/types/component/marker/mark-area/interface/spec.d.ts +1 -1
- package/types/component/marker/mark-line/interface/spec.d.ts +3 -4
- package/types/component/marker/mark-line/util.d.ts +3 -3
- package/types/component/marker/mark-point/interface/spec.d.ts +5 -4
- package/types/component/marker/mark-point/interface/theme.d.ts +5 -5
- package/types/component/marker/utils.d.ts +3 -4
- package/types/component/tooltip/handler/utils/attribute.d.ts +3 -3
- package/types/component/tooltip/interface/spec.d.ts +1 -1
- package/types/component/tooltip/interface/theme.d.ts +10 -11
- package/types/component/tooltip/tooltip.d.ts +2 -2
- package/types/component/util.d.ts +1 -3
- package/types/core/expression-function.d.ts +12 -0
- package/types/core/index.d.ts +1 -0
- package/types/core/interface.d.ts +5 -0
- package/types/core/vchart.d.ts +9 -1
- package/types/data/transforms/aggregation.d.ts +4 -3
- package/types/data/transforms/sankey.d.ts +3 -6
- package/types/event/events/dimension/base.d.ts +1 -0
- package/types/event/interface.d.ts +1 -1
- package/types/index-wx-simple.d.ts +4 -0
- package/types/interaction/config.d.ts +2 -2
- package/types/mark/base/base-mark.d.ts +2 -2
- package/types/model/base-model.d.ts +0 -2
- package/types/model/interface.d.ts +3 -9
- package/types/model/layout-model.d.ts +6 -4
- package/types/series/area/area.d.ts +1 -1
- package/types/series/area/interface.d.ts +4 -0
- package/types/series/base/base-series.d.ts +4 -0
- package/types/series/cartesian/cartesian.d.ts +3 -0
- package/types/series/gauge/gauge.d.ts +0 -1
- package/types/series/index.d.ts +2 -2
- package/types/series/interface/common.d.ts +4 -2
- package/types/series/interface/series.d.ts +1 -0
- package/types/series/interface/type.d.ts +3 -1
- package/types/series/line/interface.d.ts +4 -0
- package/types/series/line/line.d.ts +1 -1
- package/types/series/mixin/line-mixin.d.ts +3 -1
- package/types/series/rose/rose.d.ts +2 -1
- package/types/series/sankey/sankey.d.ts +6 -1
- package/types/series/word-cloud/base.d.ts +1 -0
- package/types/theme/builtin/common/component/tooltip.d.ts +2 -1
- package/types/theme/builtin/index.d.ts +2 -4
- package/types/theme/color-scheme/builtin/interface.d.ts +16 -7
- package/types/theme/theme-manager.d.ts +1 -1
- package/types/typings/spec/common.d.ts +3 -2
- package/types/typings/visual.d.ts +1 -2
- package/types/util/spec/common.d.ts +1 -1
- package/types/util/spec/preprocess.d.ts +1 -1
- package/types/util/spec/transform.d.ts +2 -0
- package/types/vchart-simple.d.ts +1 -0
|
@@ -5,12 +5,11 @@ import type { IRegion } from '../../region/interface';
|
|
|
5
5
|
import type { IModelRenderOption } from '../../model/interface';
|
|
6
6
|
import type { ILabelSpec } from './interface';
|
|
7
7
|
import type { IGraphic } from '@visactor/vrender-core';
|
|
8
|
-
import type { ILayoutType } from '../../typings/layout';
|
|
9
8
|
export declare abstract class BaseLabelComponent<T extends ILabelSpec = ILabelSpec> extends BaseComponent<T> {
|
|
10
9
|
static type: ComponentTypeEnum;
|
|
11
10
|
type: ComponentTypeEnum;
|
|
12
11
|
name: string;
|
|
13
|
-
layoutType:
|
|
12
|
+
layoutType: 'none';
|
|
14
13
|
layoutZIndex: number;
|
|
15
14
|
constructor(spec: T, options: IComponentOption);
|
|
16
15
|
protected _interactiveConfig(labelSpec: ILabelSpec): {
|
|
@@ -2,6 +2,7 @@ import type { BaseLabelAttrs } from '@visactor/vrender-components';
|
|
|
2
2
|
import type { ConvertToMarkStyleSpec, Datum, ITextMarkSpec } from '../../typings';
|
|
3
3
|
import type { IComponentSpec } from '../base/interface';
|
|
4
4
|
import type { ISeries } from '../..';
|
|
5
|
+
import type { ILabelMark } from '../../mark/label';
|
|
5
6
|
export interface ILabelFormatMethodContext {
|
|
6
7
|
series?: ISeries;
|
|
7
8
|
}
|
|
@@ -9,6 +10,7 @@ export interface ILabelSpec extends IComponentSpec {
|
|
|
9
10
|
visible?: boolean;
|
|
10
11
|
interactive?: boolean;
|
|
11
12
|
formatMethod?: (text: string | string[], datum?: Datum, ctx?: ILabelFormatMethodContext) => string | string[];
|
|
13
|
+
formatter?: string;
|
|
12
14
|
offset?: number;
|
|
13
15
|
position?: string;
|
|
14
16
|
style?: ConvertToMarkStyleSpec<ITextMarkSpec>;
|
|
@@ -33,4 +35,7 @@ export type ITotalLabelSpec = Pick<ILabelSpec, 'visible' | 'formatMethod' | 'int
|
|
|
33
35
|
export interface ITotalLabelTheme extends Pick<ILabelSpec, 'visible' | 'interactive' | 'offset' | 'overlap' | 'smartInvert' | 'animation'> {
|
|
34
36
|
style?: ITextMarkSpec;
|
|
35
37
|
}
|
|
38
|
+
export type TransformedLabelSpec = ILabelSpec & {
|
|
39
|
+
styleHandler: (mark?: ILabelMark) => void;
|
|
40
|
+
};
|
|
36
41
|
export {};
|
|
@@ -3,19 +3,18 @@ import { ComponentTypeEnum } from '../interface/type';
|
|
|
3
3
|
import type { IRegion } from '../../region/interface';
|
|
4
4
|
import type { IModelInitOption } from '../../model/interface';
|
|
5
5
|
import type { ISeries } from '../../series/interface';
|
|
6
|
-
import {
|
|
6
|
+
import type { ILabel, IMark as IVGrammarMark } from '@visactor/vgrammar-core';
|
|
7
7
|
import { type IComponentMark } from '../../mark/component';
|
|
8
8
|
import { BaseLabelComponent } from './base-label';
|
|
9
9
|
import type { IGroup } from '@visactor/vrender-core';
|
|
10
|
-
import type { ILabelSpec } from './interface';
|
|
10
|
+
import type { ILabelSpec, TransformedLabelSpec } from './interface';
|
|
11
11
|
import { type ILabelMark } from '../../mark/label';
|
|
12
12
|
import type { ICompilableMark } from '../../compile/mark';
|
|
13
|
-
import type { ILayoutType } from '../../typings/layout';
|
|
14
13
|
export interface ILabelInfo {
|
|
15
14
|
baseMark: ICompilableMark;
|
|
16
15
|
labelMark: ILabelMark;
|
|
17
16
|
series: ISeries;
|
|
18
|
-
labelSpec:
|
|
17
|
+
labelSpec: TransformedLabelSpec;
|
|
19
18
|
}
|
|
20
19
|
export interface ILabelComponentContext {
|
|
21
20
|
region: IRegion;
|
|
@@ -25,7 +24,6 @@ export declare class Label<T extends ILabelSpec = ILabelSpec> extends BaseLabelC
|
|
|
25
24
|
static type: ComponentTypeEnum;
|
|
26
25
|
type: ComponentTypeEnum;
|
|
27
26
|
name: string;
|
|
28
|
-
layoutType: ILayoutType;
|
|
29
27
|
layoutZIndex: number;
|
|
30
28
|
protected _labelInfoMap: Map<IRegion, ILabelInfo[]>;
|
|
31
29
|
protected _labelComponentMap: Map<IComponentMark, ILabelInfo | ILabelInfo[]>;
|
|
@@ -41,7 +39,7 @@ export declare class Label<T extends ILabelSpec = ILabelSpec> extends BaseLabelC
|
|
|
41
39
|
updateLayoutAttribute(): void;
|
|
42
40
|
protected _updateMultiLabelAttribute(labelInfo: ILabelInfo[], labelComponent: IComponentMark): void;
|
|
43
41
|
protected _updateSingleLabelAttribute(labelInfo: ILabelInfo, labelComponent: IComponentMark): void;
|
|
44
|
-
protected _updateLabelComponentAttribute(component: ILabel, target:
|
|
42
|
+
protected _updateLabelComponentAttribute(component: ILabel, target: IVGrammarMark | IVGrammarMark[], labelInfos: ILabelInfo[]): void;
|
|
45
43
|
compileMarks(): void;
|
|
46
44
|
}
|
|
47
45
|
export declare const registerLabel: () => void;
|
|
@@ -5,12 +5,10 @@ import type { ISeries } from '../../series/interface';
|
|
|
5
5
|
import { BaseLabelComponent } from './base-label';
|
|
6
6
|
import type { ITotalLabelSpec, ITotalLabelTheme } from './interface';
|
|
7
7
|
import type { IModelInitOption } from '../../model/interface';
|
|
8
|
-
import type { ILayoutType } from '../../typings';
|
|
9
8
|
export declare class TotalLabel extends BaseLabelComponent {
|
|
10
9
|
static type: ComponentTypeEnum;
|
|
11
10
|
type: ComponentTypeEnum;
|
|
12
11
|
name: string;
|
|
13
|
-
layoutType: ILayoutType;
|
|
14
12
|
layoutZIndex: number;
|
|
15
13
|
private _textMark?;
|
|
16
14
|
private _baseMark?;
|
|
@@ -7,17 +7,20 @@ export declare const labelRuleMap: {
|
|
|
7
7
|
symbol: typeof symbolLabel;
|
|
8
8
|
arc: typeof pieLabel;
|
|
9
9
|
point: typeof pointLabel;
|
|
10
|
-
|
|
10
|
+
'line-data': typeof lineDataLabel;
|
|
11
11
|
stackLabel: typeof stackLabel;
|
|
12
|
+
line: typeof LineLabel;
|
|
13
|
+
area: typeof LineLabel;
|
|
12
14
|
};
|
|
13
15
|
export declare enum LabelRule {
|
|
14
16
|
rect = "rect",
|
|
15
17
|
symbol = "symbol",
|
|
16
18
|
arc = "arc",
|
|
17
19
|
point = "point",
|
|
18
|
-
stackLabel = "stackLabel"
|
|
20
|
+
stackLabel = "stackLabel",
|
|
21
|
+
line = "line"
|
|
19
22
|
}
|
|
20
|
-
export declare function textAttribute(labelInfo: ILabelInfo, datum: Datum, formatMethod?: ILabelSpec['formatMethod']): any;
|
|
23
|
+
export declare function textAttribute(labelInfo: ILabelInfo, datum: Datum, formatMethod?: ILabelSpec['formatMethod'], formatter?: ILabelSpec['formatter']): any;
|
|
21
24
|
export declare function symbolLabel(labelInfo: ILabelInfo): {
|
|
22
25
|
position: string | ((datum: Datum) => any);
|
|
23
26
|
overlap: boolean | {
|
|
@@ -56,3 +59,7 @@ export declare function stackLabel(labelInfo: ILabelInfo): {
|
|
|
56
59
|
strategy: any;
|
|
57
60
|
};
|
|
58
61
|
};
|
|
62
|
+
export declare function LineLabel(labelInfo: ILabelInfo): {
|
|
63
|
+
position: string;
|
|
64
|
+
data: any;
|
|
65
|
+
};
|
|
@@ -23,4 +23,4 @@ export declare function transformLegendTitleAttributes(title: ITitle): {
|
|
|
23
23
|
space?: number;
|
|
24
24
|
align?: "center" | "start" | "end";
|
|
25
25
|
};
|
|
26
|
-
export declare function getLayout(spec: ILegendCommonSpec): "
|
|
26
|
+
export declare function getLayout(spec: ILegendCommonSpec): "horizontal" | "vertical";
|
|
@@ -5,7 +5,7 @@ import { ComponentTypeEnum } from '../interface/type';
|
|
|
5
5
|
import { LayoutZIndex } from '../../constant';
|
|
6
6
|
import type { IMapLabelSpec, MapLabelSceneNodeMap } from './interface';
|
|
7
7
|
import type { ICartesianSeries, IGeoSeries } from '../../series/interface';
|
|
8
|
-
import type { IPoint, Datum
|
|
8
|
+
import type { IPoint, Datum } from '../../typings';
|
|
9
9
|
import type { IPairInfo } from './layout';
|
|
10
10
|
import { MarkPoint } from '@visactor/vrender-components';
|
|
11
11
|
import type { IGraphic } from '@visactor/vrender-core';
|
|
@@ -14,7 +14,7 @@ export declare class MapLabelComponent extends BaseComponent<IMapLabelSpec> {
|
|
|
14
14
|
static type: ComponentTypeEnum;
|
|
15
15
|
type: ComponentTypeEnum;
|
|
16
16
|
name: string;
|
|
17
|
-
layoutType:
|
|
17
|
+
layoutType: 'none';
|
|
18
18
|
layoutZIndex: LayoutZIndex;
|
|
19
19
|
protected nameField: string;
|
|
20
20
|
protected valueField?: string;
|
|
@@ -2,17 +2,20 @@ import type { DataView } from '@visactor/vdataset';
|
|
|
2
2
|
import type { IModelRenderOption } from '../../model/interface';
|
|
3
3
|
import type { IRegion } from '../../region/interface';
|
|
4
4
|
import type { ICartesianSeries } from '../../series/interface';
|
|
5
|
-
import type { ILayoutType, StringOrNumber } from '../../typings';
|
|
5
|
+
import type { ILayoutRect, ILayoutType, IRect, StringOrNumber } from '../../typings';
|
|
6
6
|
import { BaseComponent } from '../base/base-component';
|
|
7
7
|
import type { IAggrType, IDataPos, IDataPosCallback, IMarkerAxisSpec, IMarkerSpec } from './interface';
|
|
8
8
|
import type { IGraphic } from '@visactor/vrender-core';
|
|
9
9
|
export declare abstract class BaseMarker<T extends IMarkerSpec & IMarkerAxisSpec> extends BaseComponent<T> {
|
|
10
|
-
layoutType: ILayoutType;
|
|
10
|
+
layoutType: ILayoutType | 'none';
|
|
11
11
|
protected _startRelativeSeries: ICartesianSeries;
|
|
12
12
|
protected _endRelativeSeries: ICartesianSeries;
|
|
13
13
|
protected _relativeSeries: ICartesianSeries;
|
|
14
|
+
getRelativeSeries(): ICartesianSeries;
|
|
14
15
|
protected _markerData: DataView;
|
|
15
16
|
protected _markerComponent: any;
|
|
17
|
+
protected _layoutOffsetX: number;
|
|
18
|
+
protected _layoutOffsetY: number;
|
|
16
19
|
created(): void;
|
|
17
20
|
private _isSpecAggr;
|
|
18
21
|
private _getAllRelativeSeries;
|
|
@@ -44,6 +47,7 @@ export declare abstract class BaseMarker<T extends IMarkerSpec & IMarkerAxisSpec
|
|
|
44
47
|
getEndRelativeSeries: () => ICartesianSeries;
|
|
45
48
|
y: IDataPos | IDataPosCallback;
|
|
46
49
|
};
|
|
50
|
+
protected _processSpecXY(specX: IDataPos | IDataPosCallback, specY: IDataPos | IDataPosCallback): any;
|
|
47
51
|
protected _processSpecCoo(spec: any): any;
|
|
48
52
|
updateLayoutAttribute(): void;
|
|
49
53
|
protected _getSeriesByIdOrIndex(seriesUserId: StringOrNumber, seriesIndex: number): ICartesianSeries;
|
|
@@ -62,4 +66,5 @@ export declare abstract class BaseMarker<T extends IMarkerSpec & IMarkerAxisSpec
|
|
|
62
66
|
changeRegions(regions: IRegion[]): void;
|
|
63
67
|
protected getFirstSeries(): ICartesianSeries;
|
|
64
68
|
getVRenderComponents(): IGraphic[];
|
|
69
|
+
onLayoutStart(layoutRect: IRect, chartViewRect: ILayoutRect, ctx: any): void;
|
|
65
70
|
}
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import type { IPadding
|
|
1
|
+
import type { IPadding } from '@visactor/vutils';
|
|
2
2
|
import type { SymbolType } from '@visactor/vrender-core';
|
|
3
3
|
import type { IRectMarkSpec, ISymbolMarkSpec, ITextMarkSpec, StringOrNumber } from '../../typings';
|
|
4
4
|
import type { IComponentSpec } from '../base/interface';
|
|
5
5
|
import type { Datum } from '@visactor/vrender-components';
|
|
6
6
|
export type IAggrType = 'sum' | 'average' | 'min' | 'max' | 'variance' | 'standardDeviation' | 'median';
|
|
7
|
-
export type IDataPos =
|
|
7
|
+
export type IDataPos = StringOrNumber | IAggrType;
|
|
8
8
|
export type IDataPosCallback = (relativeSeriesData: any, startRelativeSeriesData: any, endRelativeSeriesData: any) => IDataPos;
|
|
9
9
|
export type IDataPointSpec = {
|
|
10
10
|
[key: string]: IDataPos;
|
|
11
11
|
refRelativeSeriesIndex?: number;
|
|
12
12
|
refRelativeSeriesId?: StringOrNumber;
|
|
13
|
+
xFieldIndex?: number;
|
|
14
|
+
xFieldDim?: string;
|
|
15
|
+
yFieldIndex?: number;
|
|
16
|
+
yFieldDim?: string;
|
|
17
|
+
};
|
|
18
|
+
type Point = {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
13
21
|
};
|
|
14
22
|
export type IMarkerPositionsSpec = {
|
|
15
|
-
positions:
|
|
23
|
+
positions: Point[];
|
|
24
|
+
regionRelative?: boolean;
|
|
16
25
|
};
|
|
17
26
|
export type IMarkerLabelWithoutRefSpec = {
|
|
18
27
|
visible?: boolean;
|
|
@@ -56,6 +65,7 @@ export interface IMarkerSpec extends IComponentSpec {
|
|
|
56
65
|
interactive?: boolean;
|
|
57
66
|
autoRange?: boolean;
|
|
58
67
|
clip?: boolean;
|
|
68
|
+
name?: string;
|
|
59
69
|
}
|
|
60
70
|
export interface IMarkerSymbol extends IMarkerRef {
|
|
61
71
|
visible: boolean;
|
|
@@ -63,3 +73,4 @@ export interface IMarkerSymbol extends IMarkerRef {
|
|
|
63
73
|
size?: number;
|
|
64
74
|
style?: Omit<ISymbolMarkSpec, 'visible'>;
|
|
65
75
|
}
|
|
76
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import type { IMarkerPositionsSpec, IDataPointSpec, IDataPos, IMarkerSpec, IMark
|
|
|
3
3
|
import type { IMarkAreaTheme } from './theme';
|
|
4
4
|
export type IMarkArea = IComponent;
|
|
5
5
|
export type IRegressType = 'regression';
|
|
6
|
-
export type IMarkAreaSpec = IMarkerSpec & (IMarkAreaXSpec | IMarkAreaYSpec | IMarkAreaCoordinateSpec | IMarkAreaPositionsSpec) & IMarkAreaTheme;
|
|
6
|
+
export type IMarkAreaSpec = IMarkerSpec & (IMarkAreaXSpec | IMarkAreaYSpec | (IMarkAreaXSpec & IMarkAreaYSpec) | IMarkAreaCoordinateSpec | IMarkAreaPositionsSpec) & IMarkAreaTheme;
|
|
7
7
|
export interface IMarkAreaXSpec extends IMarkerAxisSpec {
|
|
8
8
|
x: IDataPos | IDataPosCallback;
|
|
9
9
|
x1: IDataPos | IDataPosCallback;
|
|
@@ -2,8 +2,7 @@ import type { IComponent } from '../../../interface';
|
|
|
2
2
|
import type { IAggrType, IMarkerPositionsSpec, IDataPointSpec, IMarkerSpec, IMarkerAxisSpec, IDataPos, IDataPosCallback, IMarkerLabelSpec } from '../../interface';
|
|
3
3
|
import type { IRegressType } from '../../mark-area/interface';
|
|
4
4
|
import type { IMarkLineTheme } from './theme';
|
|
5
|
-
import type { ILineMarkSpec } from '../../../../typings';
|
|
6
|
-
import type { IPointLike } from '@visactor/vutils';
|
|
5
|
+
import type { ILineMarkSpec, IPoint } from '../../../../typings';
|
|
7
6
|
export type IMarkLine = IComponent;
|
|
8
7
|
export type IMarkLineSpec = (IMarkerSpec & (IMarkLineXSpec | IMarkLineYSpec | IMarkLineCoordinateSpec | IMarkLinePositionsSpec) & IMarkLineTheme) | IStepMarkLineSpec;
|
|
9
8
|
export interface IMarkLineXSpec extends IMarkerAxisSpec {
|
|
@@ -32,7 +31,7 @@ export type IMarkLinePositionsSpec = IMarkerPositionsSpec;
|
|
|
32
31
|
export type IStepMarkLineSpec = IMarkerSpec & {
|
|
33
32
|
type: 'type-step';
|
|
34
33
|
connectDirection: 'top' | 'bottom' | 'left' | 'right';
|
|
35
|
-
expandDistance?: number;
|
|
34
|
+
expandDistance?: number | string;
|
|
36
35
|
label?: IMarkerLabelSpec;
|
|
37
36
|
line?: {
|
|
38
37
|
multiSegment?: boolean;
|
|
@@ -49,5 +48,5 @@ export type IStepMarkLineSpec = IMarkerSpec & {
|
|
|
49
48
|
xy: IRegressType;
|
|
50
49
|
};
|
|
51
50
|
} | {
|
|
52
|
-
positions: [
|
|
51
|
+
positions: [IPoint, IPoint];
|
|
53
52
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare function getInsertPoints(start:
|
|
3
|
-
export declare function getTextOffset(start:
|
|
1
|
+
import type { IPoint } from '../../../typings';
|
|
2
|
+
export declare function getInsertPoints(start: IPoint, end: IPoint, direction: 'top' | 'bottom' | 'left' | 'right', offset?: number): IPoint[];
|
|
3
|
+
export declare function getTextOffset(start: IPoint, end: IPoint, direction: 'top' | 'bottom' | 'left' | 'right', offset?: number): {
|
|
4
4
|
dx: number;
|
|
5
5
|
dy: number;
|
|
6
6
|
} | {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IPoint } from '../../../../typings';
|
|
2
2
|
import type { IComponent } from '../../../interface';
|
|
3
|
-
import type { IDataPointSpec, IMarkerSpec } from '../../interface';
|
|
3
|
+
import type { IDataPointSpec, IMarkerSpec, IMarkerSymbol } from '../../interface';
|
|
4
4
|
import type { IMarkPointTheme } from './theme';
|
|
5
5
|
export type IMarkPoint = IComponent;
|
|
6
|
-
export type IMarkPointSpec = IMarkerSpec & (IMarkPointCoordinateSpec | IMarkPointPositionsSpec) & IMarkPointTheme
|
|
6
|
+
export type IMarkPointSpec = IMarkerSpec & (IMarkPointCoordinateSpec | IMarkPointPositionsSpec) & IMarkPointTheme<IMarkerSymbol>;
|
|
7
7
|
export type IMarkPointCoordinateSpec = {
|
|
8
8
|
coordinates: IDataPointSpec;
|
|
9
9
|
relativeRelativeSeriesIndex?: number;
|
|
10
10
|
relativeRelativeSeriesId?: string;
|
|
11
11
|
};
|
|
12
12
|
export type IMarkPointPositionsSpec = {
|
|
13
|
-
position:
|
|
13
|
+
position: IPoint;
|
|
14
|
+
regionRelative?: boolean;
|
|
14
15
|
};
|
|
@@ -18,20 +18,20 @@ export interface IItemContent extends IMarkerRef {
|
|
|
18
18
|
style?: IRichTextGraphicAttribute;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
export type IItemLine = {
|
|
21
|
+
export type IItemLine<T extends Partial<IMarkerSymbol> = IMarkerSymbol> = {
|
|
22
22
|
type?: 'type-s' | 'type-do' | 'type-po' | 'type-op';
|
|
23
23
|
visible?: boolean;
|
|
24
24
|
decorativeLine?: {
|
|
25
25
|
visible?: boolean;
|
|
26
26
|
length?: number;
|
|
27
27
|
};
|
|
28
|
-
startSymbol?:
|
|
29
|
-
endSymbol?:
|
|
28
|
+
startSymbol?: T;
|
|
29
|
+
endSymbol?: T;
|
|
30
30
|
line?: {
|
|
31
31
|
style?: Omit<ILineMarkSpec, 'visible'>;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
export interface IMarkPointTheme {
|
|
35
|
-
itemLine?: IItemLine
|
|
34
|
+
export interface IMarkPointTheme<T extends Partial<IMarkerSymbol> = Partial<IMarkerSymbol>> {
|
|
35
|
+
itemLine?: IItemLine<T>;
|
|
36
36
|
itemContent?: IItemContent;
|
|
37
37
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ICartesianSeries } from '../../series/interface';
|
|
2
2
|
import type { DataView } from '@visactor/vdataset';
|
|
3
|
-
import type {
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function coordinateLayout(data: DataView, relativeSeries: ICartesianSeries, autoRange: boolean): IPointLike[];
|
|
3
|
+
import type { IPoint } from '../../typings';
|
|
4
|
+
export declare function xyLayout(data: DataView, startRelativeSeries: ICartesianSeries, endRelativeSeries: ICartesianSeries, relativeSeries: ICartesianSeries, autoRange: boolean): IPoint[][];
|
|
5
|
+
export declare function coordinateLayout(data: DataView, relativeSeries: ICartesianSeries, autoRange: boolean): IPoint[];
|
|
@@ -3,7 +3,7 @@ import type { IToolTipActual } from '../../../../typings';
|
|
|
3
3
|
import type { ITooltipTextStyle } from '../interface';
|
|
4
4
|
import type { ITooltipSpec } from '../../interface/spec';
|
|
5
5
|
import type { ITooltipTextTheme, ITooltipTheme } from '../../interface/theme';
|
|
6
|
-
import type {
|
|
7
|
-
export declare function getTextAttributes(style?: ITooltipTextTheme, globalTheme?:
|
|
6
|
+
import type { ITheme } from '../../../../theme';
|
|
7
|
+
export declare function getTextAttributes(style?: ITooltipTextTheme, globalTheme?: ITheme, defaultAttributes?: Partial<ITooltipTextStyle>): ITooltipTextStyle;
|
|
8
8
|
export declare const getPanelAttributes: (style: ITooltipTheme['panel']) => TooltipPanelAttrs;
|
|
9
|
-
export declare const getTooltipAttributes: (actualTooltip: IToolTipActual, spec: ITooltipSpec, globalTheme:
|
|
9
|
+
export declare const getTooltipAttributes: (actualTooltip: IToolTipActual, spec: ITooltipSpec, globalTheme: ITheme) => TooltipAttributes;
|
|
@@ -6,7 +6,7 @@ export interface ITooltipSpec extends Partial<ITooltipActiveTypeAsKeys<ITooltipP
|
|
|
6
6
|
activeType?: TooltipActiveType | TooltipActiveType[];
|
|
7
7
|
trigger?: 'hover' | 'click' | 'none';
|
|
8
8
|
triggerOff?: 'hover' | 'click' | 'none';
|
|
9
|
-
style?: Omit<ITooltipTheme
|
|
9
|
+
style?: Omit<ITooltipTheme<string>, 'offset'>;
|
|
10
10
|
handler?: Partial<ITooltipHandlerSpec>;
|
|
11
11
|
renderMode?: 'html' | 'canvas';
|
|
12
12
|
confine?: boolean;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { RichTextWordBreak } from '@visactor/vrender-core';
|
|
2
2
|
import type { StringOrNumber, TextAlign, TextBaseLine } from '../../../typings';
|
|
3
|
-
import type { IColorKey } from '../../../theme/color-scheme/interface';
|
|
4
3
|
import type { Padding } from '@visactor/vrender-components/es/core/type';
|
|
5
|
-
export interface ITooltipTextTheme {
|
|
4
|
+
export interface ITooltipTextTheme<ColorType = string> {
|
|
6
5
|
fontFamily?: string;
|
|
7
6
|
fontSize?: number;
|
|
8
|
-
fill?:
|
|
9
|
-
fontColor?:
|
|
7
|
+
fill?: ColorType;
|
|
8
|
+
fontColor?: ColorType;
|
|
10
9
|
fontWeight?: StringOrNumber;
|
|
11
10
|
textAlign?: TextAlign;
|
|
12
11
|
textBaseline?: TextBaseLine;
|
|
@@ -17,12 +16,12 @@ export interface ITooltipTextTheme {
|
|
|
17
16
|
wordBreak?: RichTextWordBreak;
|
|
18
17
|
autoWidth?: boolean;
|
|
19
18
|
}
|
|
20
|
-
export interface ITooltipTheme {
|
|
19
|
+
export interface ITooltipTheme<ColorType = string> {
|
|
21
20
|
panel?: {
|
|
22
21
|
padding?: Padding;
|
|
23
|
-
backgroundColor?:
|
|
22
|
+
backgroundColor?: ColorType;
|
|
24
23
|
border?: {
|
|
25
|
-
color?:
|
|
24
|
+
color?: ColorType;
|
|
26
25
|
width?: number;
|
|
27
26
|
radius?: number;
|
|
28
27
|
};
|
|
@@ -31,16 +30,16 @@ export interface ITooltipTheme {
|
|
|
31
30
|
y: number;
|
|
32
31
|
blur: number;
|
|
33
32
|
spread: number;
|
|
34
|
-
color:
|
|
33
|
+
color: ColorType;
|
|
35
34
|
};
|
|
36
35
|
};
|
|
37
36
|
shape?: {
|
|
38
37
|
size?: number;
|
|
39
38
|
spacing?: number;
|
|
40
39
|
};
|
|
41
|
-
titleLabel?: ITooltipTextTheme
|
|
42
|
-
keyLabel?: Omit<ITooltipTextTheme
|
|
43
|
-
valueLabel?: ITooltipTextTheme
|
|
40
|
+
titleLabel?: ITooltipTextTheme<ColorType>;
|
|
41
|
+
keyLabel?: Omit<ITooltipTextTheme<ColorType>, 'autoWidth'>;
|
|
42
|
+
valueLabel?: ITooltipTextTheme<ColorType>;
|
|
44
43
|
spaceRow?: number;
|
|
45
44
|
offset?: {
|
|
46
45
|
x?: number;
|
|
@@ -5,7 +5,7 @@ import type { IRegion } from '../../region/interface';
|
|
|
5
5
|
import { BaseComponent } from '../base/base-component';
|
|
6
6
|
import type { BaseEventParams, EventCallback, EventQuery, EventType } from '../../event/interface';
|
|
7
7
|
import type { ITooltipHandler, IToolTipLineActual, TooltipActiveType } from '../../typings/tooltip';
|
|
8
|
-
import type { Datum,
|
|
8
|
+
import type { Datum, IShowTooltipOption } from '../../typings';
|
|
9
9
|
import type { ITooltip, ITooltipActiveTypeAsKeys, ITooltipSpec, ITooltipTheme, TooltipHandlerParams, TotalMouseEventData } from './interface';
|
|
10
10
|
import { TooltipResult } from './interface/common';
|
|
11
11
|
import { DimensionTooltipProcessor } from './processor/dimension-tooltip';
|
|
@@ -20,7 +20,7 @@ export declare class Tooltip extends BaseComponent<any> implements ITooltip {
|
|
|
20
20
|
static type: ComponentTypeEnum;
|
|
21
21
|
type: ComponentTypeEnum;
|
|
22
22
|
name: string;
|
|
23
|
-
layoutType:
|
|
23
|
+
layoutType: 'none';
|
|
24
24
|
protected _spec: ITooltipSpec;
|
|
25
25
|
static createComponent(spec: any, options: IComponentOption): Tooltip | Tooltip[];
|
|
26
26
|
tooltipHandler?: ITooltipHandler;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import type { IModelOption } from '../model/interface';
|
|
2
|
-
|
|
3
|
-
import type { IComponentTheme } from './interface/theme';
|
|
4
|
-
export declare function getComponentThemeFromOption(type: keyof IComponentTheme | ComponentTypeEnum, option: Partial<IModelOption>): any;
|
|
2
|
+
export declare function getComponentThemeFromOption(type: string, option: Partial<IModelOption>): any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class ExpressionFunction {
|
|
2
|
+
functions: {
|
|
3
|
+
[key: string]: Function;
|
|
4
|
+
};
|
|
5
|
+
static instance_: ExpressionFunction;
|
|
6
|
+
static instance(): ExpressionFunction;
|
|
7
|
+
constructor();
|
|
8
|
+
registerFunction(name: string, fun: Function): void;
|
|
9
|
+
unregisterFunction(name: string): void;
|
|
10
|
+
getFunction(name: string): Function | null;
|
|
11
|
+
getFunctionNameList(): string[] | null;
|
|
12
|
+
}
|
package/types/core/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export type { IStateSpec, StateValueType } from '../compile/mark';
|
|
|
7
7
|
export * from '../typings/spec/common';
|
|
8
8
|
export * from '../event/interface';
|
|
9
9
|
export * from '../theme/interface';
|
|
10
|
+
export * from '../constant';
|
|
10
11
|
export * from '../typings/spec/index';
|
|
11
12
|
export * from '../theme/index';
|
|
12
13
|
export { vglobal } from '@visactor/vrender-core';
|
|
@@ -33,6 +33,7 @@ export interface IVChart {
|
|
|
33
33
|
}[]) => Promise<IVChart>;
|
|
34
34
|
updateDataSync: (id: StringOrNumber, data: Datum[], options?: IParserOptions) => IVChart;
|
|
35
35
|
updateSpec: (spec: ISpec, forceMerge?: boolean, morphConfig?: IMorphConfig) => Promise<IVChart>;
|
|
36
|
+
updateSpecSync: (spec: ISpec, forceMerge?: boolean, morphConfig?: IMorphConfig) => void;
|
|
36
37
|
updateModelSpecSync: (filter: string | {
|
|
37
38
|
type: string;
|
|
38
39
|
index: number;
|
|
@@ -81,6 +82,10 @@ export interface IVChart {
|
|
|
81
82
|
stopAnimation: () => void;
|
|
82
83
|
pauseAnimation: () => void;
|
|
83
84
|
resumeAnimation: () => void;
|
|
85
|
+
registerFunction: (key: string, fun: Function) => void;
|
|
86
|
+
unregisterFunction: (key: string) => void;
|
|
87
|
+
getFunction: (key: string) => Function | null;
|
|
88
|
+
getFunctionList: () => string[] | null;
|
|
84
89
|
}
|
|
85
90
|
export interface IGlobalConfig {
|
|
86
91
|
uniqueTooltip?: boolean;
|
package/types/core/vchart.d.ts
CHANGED
|
@@ -31,6 +31,10 @@ export declare class VChart implements IVChart {
|
|
|
31
31
|
static useMark(marks: MarkConstructor[]): void;
|
|
32
32
|
static useLayout(layouts: ILayoutConstructor[]): void;
|
|
33
33
|
static registerDataSetTransform(name: string, transform: Transform): void;
|
|
34
|
+
static registerFunction(key: string, fun: Function): void;
|
|
35
|
+
static unregisterFunction(key: string): void;
|
|
36
|
+
static getFunction(key: string): Function | null;
|
|
37
|
+
static getFunctionList(): string[] | null;
|
|
34
38
|
static registerMap(key: string, source: GeoSourceType, option?: GeoSourceOption): void;
|
|
35
39
|
static unregisterMap(key: string): void;
|
|
36
40
|
static getMap(key: string): GeoSourceType;
|
|
@@ -59,7 +63,7 @@ export declare class VChart implements IVChart {
|
|
|
59
63
|
private _curSize;
|
|
60
64
|
private _observer;
|
|
61
65
|
private _currentThemeName;
|
|
62
|
-
private
|
|
66
|
+
private _currentTheme;
|
|
63
67
|
private _onError?;
|
|
64
68
|
private _context;
|
|
65
69
|
private _isReleased;
|
|
@@ -146,5 +150,9 @@ export declare class VChart implements IVChart {
|
|
|
146
150
|
convertDatumToPosition(datum: Datum, dataLinkInfo?: DataLinkSeries, isRelativeToCanvas?: boolean): IPoint | null;
|
|
147
151
|
convertValueToPosition(value: StringOrNumber, dataLinkInfo: DataLinkAxis, isRelativeToCanvas?: boolean): number | null;
|
|
148
152
|
convertValueToPosition(value: [StringOrNumber, StringOrNumber], dataLinkInfo: DataLinkSeries, isRelativeToCanvas?: boolean): IPoint | null;
|
|
153
|
+
getFunction(key: string): Function | null;
|
|
154
|
+
registerFunction(key: string, fun: Function): void;
|
|
155
|
+
unregisterFunction(key: string): void;
|
|
156
|
+
getFunctionList(): string[];
|
|
149
157
|
}
|
|
150
158
|
export declare const registerVChartCore: () => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DataView } from '@visactor/vdataset';
|
|
2
2
|
import type { IAggrType } from '../../component/marker/interface';
|
|
3
3
|
import type { ICartesianSeries } from '../../series/interface';
|
|
4
|
+
import type { StringOrNumber } from '../../typings';
|
|
4
5
|
export type IOption = {
|
|
5
6
|
field: string;
|
|
6
7
|
};
|
|
@@ -8,7 +9,7 @@ export type IOptionAggrField = {
|
|
|
8
9
|
field: string;
|
|
9
10
|
aggrType: IAggrType;
|
|
10
11
|
};
|
|
11
|
-
export type IOptionPos = IOptionAggrField | string | number;
|
|
12
|
+
export type IOptionPos = IOptionAggrField | string | number | StringOrNumber[];
|
|
12
13
|
export type IOptionSeries = {
|
|
13
14
|
getRelativeSeries: () => ICartesianSeries;
|
|
14
15
|
getStartRelativeSeries: () => ICartesianSeries;
|
|
@@ -28,6 +29,6 @@ export declare function markerVariance(_data: Array<DataView>, opt: IOption): nu
|
|
|
28
29
|
export declare function markerStandardDeviation(_data: Array<DataView>, opt: IOption): number;
|
|
29
30
|
export declare function markerMedian(_data: Array<DataView>, opt: IOption): number;
|
|
30
31
|
export declare function markerAggregation(_data: Array<DataView>, options: IOptionAggr[]): {
|
|
31
|
-
x:
|
|
32
|
-
y:
|
|
32
|
+
x: StringOrNumber[] | StringOrNumber | null;
|
|
33
|
+
y: StringOrNumber[] | StringOrNumber | null;
|
|
33
34
|
}[];
|
|
@@ -10,12 +10,9 @@ export interface ISankeyOpt extends SankeyOptions {
|
|
|
10
10
|
y1: number;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
export declare const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} | {
|
|
17
|
-
nodes: import("@visactor/vgrammar-sankey").HierarchyNodeDatum[];
|
|
18
|
-
} | {
|
|
13
|
+
export declare const collectHierarchyField: (set: Set<any>, data: any[], field: string) => void;
|
|
14
|
+
export declare const sankeyFormat: (data: any[]) => SankeyData[];
|
|
15
|
+
export declare const sankeyLayout: (data: SankeyData[], op: ISankeyOpt) => {
|
|
19
16
|
nodes: import("@visactor/vgrammar-sankey").SankeyNodeElement[];
|
|
20
17
|
links: import("@visactor/vgrammar-sankey").SankeyLinkElement[];
|
|
21
18
|
columns: import("@visactor/vgrammar-sankey").SankeyNodeElement[][];
|
|
@@ -10,6 +10,7 @@ export declare class DimensionEvent implements IComposedEvent {
|
|
|
10
10
|
protected _callback: (params: BaseEventParams) => void;
|
|
11
11
|
protected _chart: Maybe<IChart>;
|
|
12
12
|
constructor(eventDispatcher: IEventDispatcher, mode: RenderMode);
|
|
13
|
+
private get chart();
|
|
13
14
|
register<Evt extends string>(eType: Evt, handler: EventHandler<EventParamsDefinition[Evt]>): void;
|
|
14
15
|
unregister(): void;
|
|
15
16
|
protected getTargetDimensionInfo(x: number, y: number): IDimensionInfo[] | null;
|
|
@@ -12,7 +12,7 @@ import type { TooltipEventParams } from '../component/tooltip/interface/event';
|
|
|
12
12
|
import type { ILayoutItem } from '../layout/interface';
|
|
13
13
|
export type EventType = 'pointerdown' | 'pointerup' | 'pointerupoutside' | 'pointertap' | 'pointerover' | 'pointermove' | 'pointerenter' | 'pointerleave' | 'pointerout' | 'mousedown' | 'mouseup' | 'mouseupoutside' | 'rightdown' | 'rightup' | 'rightupoutside' | 'click' | 'dblclick' | 'mousemove' | 'mouseover' | 'mouseout' | 'mouseenter' | 'mouseleave' | 'wheel' | 'touchstart' | 'touchend' | 'touchendoutside' | 'touchmove' | 'touchcancel' | 'tap' | 'dragstart' | 'drag' | 'dragenter' | 'dragleave' | 'dragover' | 'dragend' | 'drop' | 'pan' | 'panstart' | 'panend' | 'press' | 'pressup' | 'pressend' | 'pinch' | 'pinchstart' | 'pinchend' | 'swipe' | keyof typeof ChartEvent | keyof typeof VGRAMMAR_HOOK_EVENT | string;
|
|
14
14
|
export type EventBubbleLevel = keyof typeof Event_Bubble_Level;
|
|
15
|
-
export type ComponentType = 'axis' | 'dataZoom' | 'indicator' | 'legend' | 'mapLabel' | 'markLine' | 'tooltip' | 'title' | 'label';
|
|
15
|
+
export type ComponentType = 'axis' | 'dataZoom' | 'indicator' | 'legend' | 'mapLabel' | 'markLine' | 'markArea' | 'markPoint' | 'tooltip' | 'title' | 'label';
|
|
16
16
|
export type EventTargetType = MarkType | ComponentType | SeriesType;
|
|
17
17
|
export type EventSourceType = keyof typeof Event_Source_Type;
|
|
18
18
|
export type EventQuery = {
|
|
@@ -3,7 +3,7 @@ export declare function getDefaultInteractionConfigByMode(mode: RenderMode): {
|
|
|
3
3
|
hover: {
|
|
4
4
|
enable: boolean;
|
|
5
5
|
trigger: string;
|
|
6
|
-
triggerOff: string
|
|
6
|
+
triggerOff: string;
|
|
7
7
|
};
|
|
8
8
|
select: {
|
|
9
9
|
enable: boolean;
|
|
@@ -13,7 +13,7 @@ export declare function getDefaultInteractionConfigByMode(mode: RenderMode): {
|
|
|
13
13
|
hover: {
|
|
14
14
|
enable: boolean;
|
|
15
15
|
trigger: string[];
|
|
16
|
-
triggerOff: string
|
|
16
|
+
triggerOff: string;
|
|
17
17
|
};
|
|
18
18
|
select: {
|
|
19
19
|
enable: boolean;
|
|
@@ -29,8 +29,8 @@ export declare class BaseMark<T extends ICommonSpec> extends CompilableMark impl
|
|
|
29
29
|
setAttribute<U extends keyof T>(attr: U, style: MarkInputStyle<T[U]>, state?: StateValueType, level?: number, stateStyle?: IMarkStateStyle<T>): void;
|
|
30
30
|
protected _getDefaultStyle(): IMarkStyle<T>;
|
|
31
31
|
protected _styleConvert<U extends keyof T>(style?: MarkInputStyle<T[U]>): StyleConvert<T[U]> | undefined;
|
|
32
|
-
protected _computeAttribute<U extends keyof T>(key: U,
|
|
33
|
-
protected _computeStateAttribute<U extends keyof T>(stateStyle: any, key: U,
|
|
32
|
+
protected _computeAttribute<U extends keyof T>(key: U, state: StateValueType): any;
|
|
33
|
+
protected _computeStateAttribute<U extends keyof T>(stateStyle: any, key: U, state: StateValueType): any;
|
|
34
34
|
private _initStyle;
|
|
35
35
|
private _initSpecStyle;
|
|
36
36
|
private _computeGradientAttr;
|
|
@@ -71,7 +71,6 @@ export declare abstract class BaseModel<T extends IModelSpec> extends Compilable
|
|
|
71
71
|
protected _getDefaultSpecFromChart(chartSpec: any): Partial<T>;
|
|
72
72
|
protected _shouldMergeThemeToSpec(): boolean;
|
|
73
73
|
protected _prepareSpecBeforeMergingTheme(obj?: any): any;
|
|
74
|
-
protected _prepareSpecAfterMergingTheme(obj?: any): any;
|
|
75
74
|
setCurrentTheme(noRender?: boolean): Promise<void>;
|
|
76
75
|
updateLayoutAttribute(): void;
|
|
77
76
|
setAttrFromSpec(): void;
|
|
@@ -84,5 +83,4 @@ export declare abstract class BaseModel<T extends IModelSpec> extends Compilable
|
|
|
84
83
|
protected _createMark<T extends IMark>(markInfo: IModelMarkInfo, option?: Partial<IMarkOption>): T;
|
|
85
84
|
protected _getDataIdKey(): string | ((datum: Datum) => string) | undefined;
|
|
86
85
|
getColorScheme(): import("..").IThemeColorScheme;
|
|
87
|
-
protected _getChartLevelTheme(): import("../core/interface").IChartLevelTheme;
|
|
88
86
|
}
|