@visactor/vchart-types 1.13.13-alpha.1 → 1.13.13-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.
|
@@ -48,6 +48,8 @@ export interface ISankeySeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimation
|
|
|
48
48
|
enable: boolean;
|
|
49
49
|
trigger?: 'click' | 'hover';
|
|
50
50
|
effect: 'self' | 'adjacency' | 'related';
|
|
51
|
+
highlightState?: string;
|
|
52
|
+
blurState?: string;
|
|
51
53
|
};
|
|
52
54
|
[SeriesMarkNameEnum.label]?: ISankeyLabelSpec | ISankeyLabelSpec[];
|
|
53
55
|
overflow?: 'scroll' | 'hidden' | 'scroll-x' | 'scroll-y';
|
|
@@ -54,12 +54,12 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
54
54
|
private nodesSeriesDataUpdate;
|
|
55
55
|
private linksSeriesDataUpdate;
|
|
56
56
|
protected _handleEmphasisElement: (params: ExtendEventParam) => void;
|
|
57
|
-
protected _handleClearEmpty: () => void;
|
|
58
|
-
protected _handleNodeAdjacencyClick: (element: IElement) => void;
|
|
59
|
-
protected _handleLinkAdjacencyClick: (element: IGlyphElement) => void;
|
|
60
|
-
protected _handleNodeRelatedClick: (element: IElement) => void;
|
|
61
|
-
protected _handleLinkRelatedClick: (element: IGlyphElement) => void;
|
|
62
|
-
protected _highLightElements(vGrammarElements: IVgrammarMark['elements'], highlightNodes: string[]): void;
|
|
57
|
+
protected _handleClearEmpty: (highlightState: string, blurState: string) => void;
|
|
58
|
+
protected _handleNodeAdjacencyClick: (element: IElement, highlightState: string, blurState: string) => void;
|
|
59
|
+
protected _handleLinkAdjacencyClick: (element: IGlyphElement, highlightState: string, blurState: string) => void;
|
|
60
|
+
protected _handleNodeRelatedClick: (element: IElement, highlightState: string, blurState: string) => void;
|
|
61
|
+
protected _handleLinkRelatedClick: (element: IGlyphElement, highlightState: string, blurState: string) => void;
|
|
62
|
+
protected _highLightElements(vGrammarElements: IVgrammarMark['elements'], highlightNodes: string[], highlightState: string, blurState: string): void;
|
|
63
63
|
protected initTooltip(): void;
|
|
64
64
|
_setNodeOrdinalColorScale(): void;
|
|
65
65
|
getNodeList(): any;
|