@visactor/vchart-types 1.12.14-alpha.0 → 1.12.14
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.
|
@@ -114,7 +114,9 @@ export declare abstract class DataFilterBaseComponent<T extends IDataFilterCompo
|
|
|
114
114
|
protected _handleChartMove: (value: number, rate: number) => boolean;
|
|
115
115
|
protected _initCommonEvent(): void;
|
|
116
116
|
updateLayoutAttribute(): void;
|
|
117
|
+
protected _autoVisible(isShown: boolean): void;
|
|
117
118
|
onLayoutStart(layoutRect: IRect, viewRect: ILayoutRect, ctx: any): void;
|
|
119
|
+
onLayoutEnd(ctx: any): void;
|
|
118
120
|
getBoundsInRect(rect: ILayoutRect): IBoundsLike;
|
|
119
121
|
hide(): void;
|
|
120
122
|
show(): void;
|
|
@@ -3,6 +3,9 @@ export interface IDataFilterWithNewDomainOption {
|
|
|
3
3
|
isContinuous: () => boolean;
|
|
4
4
|
field: () => string;
|
|
5
5
|
}
|
|
6
|
+
export declare const lockStatisticsFilter: (statisticsData: any, op: IDataFilterWithNewDomainOption & {
|
|
7
|
+
originalFields: () => Record<string, any>;
|
|
8
|
+
}) => any;
|
|
6
9
|
export declare const dataFilterWithNewDomain: (data: Array<any>, op: IDataFilterWithNewDomainOption) => any[];
|
|
7
10
|
export interface IDataFilterComputeDomainOption {
|
|
8
11
|
input: {
|
package/types/core/index.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ export { VChart, Factory };
|
|
|
4
4
|
export declare const version: string;
|
|
5
5
|
export type { IVChart } from './interface';
|
|
6
6
|
export type { IStateSpec, StateValueType } from '../compile/mark';
|
|
7
|
+
export type { IRegion } from '../region/interface';
|
|
7
8
|
export * from '../typings/spec/common';
|
|
8
9
|
export * from '../event/interface';
|
|
9
10
|
export * from '../theme/interface';
|
|
10
11
|
export * from './interface';
|
|
11
12
|
export * from '../constant/base';
|
|
13
|
+
export * from '../constant/data';
|
|
12
14
|
export * from '../typings/spec/index';
|
|
13
15
|
export * from '../typings/tooltip';
|
|
14
16
|
export * from '../theme/index';
|
|
@@ -18,7 +18,7 @@ export interface ISankeySeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimation
|
|
|
18
18
|
targetField?: string;
|
|
19
19
|
direction?: DirectionType;
|
|
20
20
|
nodeAlign?: 'left' | 'right' | 'center' | 'justify' | 'start' | 'end';
|
|
21
|
-
crossNodeAlign?: 'start' | 'end' | 'middle';
|
|
21
|
+
crossNodeAlign?: 'start' | 'end' | 'middle' | 'parent';
|
|
22
22
|
inverse?: boolean;
|
|
23
23
|
nodeGap?: number;
|
|
24
24
|
nodeWidth?: string | number | ((node: SankeyNodeElement) => number);
|
|
@@ -26,6 +26,8 @@ export interface ISankeySeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimation
|
|
|
26
26
|
minStepWidth?: number;
|
|
27
27
|
minNodeHeight?: number;
|
|
28
28
|
minLinkHeight?: number;
|
|
29
|
+
maxNodeHeight?: number;
|
|
30
|
+
maxLinkHeight?: number;
|
|
29
31
|
iterations?: number;
|
|
30
32
|
nodeKey?: string | number | ((datum: SankeyNodeDatum) => string | number);
|
|
31
33
|
linkSortBy?: (a: SankeyLinkElement, b: SankeyLinkElement) => number;
|