@visactor/vchart-types 1.6.3 → 1.6.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.
|
@@ -34,6 +34,9 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
|
|
|
34
34
|
getOrient(): IOrientType;
|
|
35
35
|
get layoutOrient(): IOrientType;
|
|
36
36
|
set layoutOrient(v: IOrientType);
|
|
37
|
+
protected _autoIndentOnce: boolean;
|
|
38
|
+
protected _hasAutoIndent: boolean;
|
|
39
|
+
set autoIndentOnce(v: boolean);
|
|
37
40
|
protected _scales: IBaseScale[];
|
|
38
41
|
getScales(): IBaseScale[];
|
|
39
42
|
protected _theme: ICartesianAxisCommonTheme;
|
|
@@ -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;
|
|
@@ -53,7 +53,12 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
53
53
|
extractNamesFromTree(tree: any, categoryName: string): Set<unknown>;
|
|
54
54
|
getDimensionField(): string[];
|
|
55
55
|
getMeasureField(): string[];
|
|
56
|
-
|
|
56
|
+
getRawDataStatisticsByField(field: string, isNumeric?: boolean): {
|
|
57
|
+
values?: any[];
|
|
58
|
+
min?: number;
|
|
59
|
+
max?: number;
|
|
60
|
+
};
|
|
61
|
+
private _collectByField;
|
|
57
62
|
onLayoutEnd(ctx: any): void;
|
|
58
63
|
getDefaultShapeType(): string;
|
|
59
64
|
protected _noAnimationDataKey(datum: Datum, index: number): unknown | undefined;
|