@visactor/vchart-types 1.12.2-alpha.0 → 1.12.2-alpha.1
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/mixin/util/break-data.d.ts +0 -1
- package/types/series/circle-packing/circle-packing.d.ts +1 -0
- package/types/series/interface/series.d.ts +1 -0
- package/types/series/sankey/sankey.d.ts +1 -0
- package/types/series/sunburst/sunburst.d.ts +1 -0
- package/types/series/treemap/tooltip-helper.d.ts +6 -1
- package/types/series/treemap/treemap.d.ts +7 -1
|
@@ -41,5 +41,6 @@ export declare class CirclePackingSeries<T extends ICirclePackingSeriesSpec = IC
|
|
|
41
41
|
onLayoutEnd(ctx: any): void;
|
|
42
42
|
protected _noAnimationDataKey(datum: Datum, index: number): unknown | undefined;
|
|
43
43
|
getActiveMarks(): IMark[];
|
|
44
|
+
getMarkData(datum: Datum): any;
|
|
44
45
|
}
|
|
45
46
|
export declare const registerCirclePackingSeries: () => void;
|
|
@@ -77,5 +77,6 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
77
77
|
getDefaultShapeType(): string;
|
|
78
78
|
protected _noAnimationDataKey(datum: Datum, index: number): unknown | undefined;
|
|
79
79
|
getActiveMarks(): IMark[];
|
|
80
|
+
getMarkData(datum: Datum): any;
|
|
80
81
|
}
|
|
81
82
|
export declare const registerSankeySeries: () => void;
|
|
@@ -56,5 +56,6 @@ export declare class SunburstSeries extends PolarSeries<any> {
|
|
|
56
56
|
getStackValueField(): string;
|
|
57
57
|
protected _noAnimationDataKey(datum: Datum, index: number): unknown | undefined;
|
|
58
58
|
getActiveMarks(): IMark[];
|
|
59
|
+
getMarkData(datum: Datum): any;
|
|
59
60
|
}
|
|
60
61
|
export declare const registerSunBurstSeries: () => void;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { Datum } from '../../typings';
|
|
1
2
|
import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
|
|
3
|
+
import type { TreemapSeries } from './treemap';
|
|
2
4
|
export declare class TreemapTooltipHelper extends BaseSeriesTooltipHelper {
|
|
5
|
+
series: TreemapSeries;
|
|
3
6
|
get defaultShapeType(): string;
|
|
4
|
-
markTooltipKeyCallback: (datum:
|
|
7
|
+
markTooltipKeyCallback: (datum: Datum) => any;
|
|
8
|
+
markTooltipValueCallback: (datum: Datum) => string | undefined;
|
|
9
|
+
dimensionTooltipTitleCallback: (datum: Datum) => string | undefined;
|
|
5
10
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IMark } from '../../mark/interface';
|
|
2
|
+
import type { Datum } from '../../typings';
|
|
2
3
|
import { CartesianSeries } from '../cartesian/cartesian';
|
|
3
4
|
import type { SeriesMarkMap } from '../interface';
|
|
4
5
|
import { SeriesTypeEnum } from '../interface/type';
|
|
@@ -33,7 +34,11 @@ export declare class TreemapSeries extends CartesianSeries<any> {
|
|
|
33
34
|
compile(): void;
|
|
34
35
|
protected _runTreemapTransform(render?: boolean): void;
|
|
35
36
|
protected _addDataIndexAndKey(): void;
|
|
36
|
-
getRawDataStatisticsByField(field: string, isNumeric?: boolean):
|
|
37
|
+
getRawDataStatisticsByField(field: string, isNumeric?: boolean): {
|
|
38
|
+
values?: any[];
|
|
39
|
+
min?: number;
|
|
40
|
+
max?: number;
|
|
41
|
+
};
|
|
37
42
|
protected _createHierarchyDataStatistics(dataName: string, rawData: DataView[]): DataView;
|
|
38
43
|
getStatisticFields(): {
|
|
39
44
|
key: string;
|
|
@@ -60,5 +65,6 @@ export declare class TreemapSeries extends CartesianSeries<any> {
|
|
|
60
65
|
getDefaultShapeType(): string;
|
|
61
66
|
getActiveMarks(): IMark[];
|
|
62
67
|
isHierarchyData: () => boolean;
|
|
68
|
+
getMarkData(datum: Datum): any;
|
|
63
69
|
}
|
|
64
70
|
export declare const registerTreemapSeries: () => void;
|