@visactor/vchart-types 2.0.3-alpha.1 → 2.0.3
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/types/chart/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { RangeColumnChart, registerRangeColumnChart } from './range-column';
|
|
|
35
35
|
import type { IRoseChartSpec } from './rose';
|
|
36
36
|
import { RoseChart, registerRoseChart } from './rose';
|
|
37
37
|
import type { ISankeyChartSpec } from './sankey';
|
|
38
|
-
import { SankeyChart, registerSankeyChart
|
|
38
|
+
import { SankeyChart, registerSankeyChart } from './sankey';
|
|
39
39
|
import type { IScatterChartSpec } from './scatter';
|
|
40
40
|
import { ScatterChart, registerScatterChart } from './scatter';
|
|
41
41
|
import type { ISequenceChartSpec } from './sequence';
|
|
@@ -63,6 +63,6 @@ import type { IChart } from './interface/chart';
|
|
|
63
63
|
import { BaseWordCloudChart } from './word-cloud/base/base';
|
|
64
64
|
import { BaseWordCloudChartSpecTransformer } from './word-cloud/base/word-cloud-base-transformer';
|
|
65
65
|
import { BaseHistogramChart } from './histogram/base/base';
|
|
66
|
-
export { AreaChart, BarChart, BarChartSpecTransformer, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChartSpecTransformer, FunnelChart, GaugeChart, HeatmapChart, HistogramChartSpecTransformer, BaseHistogramChart, HistogramChart, LineChart, MapChart, BasePieChartSpecTransformer, BasePieChart, PieChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeAreaChart, RoseChart, SankeyChart,
|
|
66
|
+
export { AreaChart, BarChart, BarChartSpecTransformer, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChartSpecTransformer, FunnelChart, GaugeChart, HeatmapChart, HistogramChartSpecTransformer, BaseHistogramChart, HistogramChart, LineChart, MapChart, BasePieChartSpecTransformer, BasePieChart, PieChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeAreaChart, RoseChart, SankeyChart, ScatterChart, SunburstChart, SequenceChart, WaterfallChart, CorrelationChart, LiquidChart, BaseWordCloudChartSpecTransformer, BaseWordCloudChart, WordCloudChart, TreemapChart, VennChart, BaseChart, MosaicChart };
|
|
67
67
|
export { registerLineChart, registerAreaChart, registerBarChart, registerBoxplotChart, registerCirclePackingChart, registerCircularProgressChart, registerCommonChart, registerFunnelChart, registerGaugeChart, registerHeatmapChart, registerHistogramChart, registerLinearProgressChart, registerMapChart, registerPieChart, registerRadarChart, registerRangeAreaChart, registerRangeColumnChart, registerRoseChart, registerSankeyChart, registerScatterChart, registerSequenceChart, registerSunburstChart, registerTreemapChart, registerWaterfallChart, registerWordCloudChart, registerCorrelationChart, registerLiquidChart, registerWordCloudShapeChart, registerVennChart, registerMosaicChart };
|
|
68
68
|
export type { IChart, IAreaChartSpec, IBarChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, IVennChartSpec, IMosaicChartSpec };
|
|
@@ -5,7 +5,7 @@ import type { Datum, StringOrNumber } from '../../typings';
|
|
|
5
5
|
import { DataView } from '@visactor/vdataset';
|
|
6
6
|
import type { ISankeySeriesSpec } from './interface';
|
|
7
7
|
import type { ExtendEventParam } from '../../event/interface';
|
|
8
|
-
import type {
|
|
8
|
+
import type { IMark, IMarkGraphic, ITextMark } from '../../mark/interface';
|
|
9
9
|
import { SankeySeriesSpecTransformer } from './sankey-transformer';
|
|
10
10
|
import type { ILabelSpec } from '../../component';
|
|
11
11
|
export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpec> extends CartesianSeries<T> {
|
|
@@ -17,8 +17,8 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
17
17
|
static readonly builtInTheme: {
|
|
18
18
|
sankey: import("./interface").ISankeySeriesTheme;
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
private _nodeMark;
|
|
21
|
+
private _linkMark;
|
|
22
22
|
private _nodeLayoutZIndex;
|
|
23
23
|
private _labelLayoutZIndex;
|
|
24
24
|
protected _nodesSeriesData?: DataView;
|
|
@@ -27,7 +27,7 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
27
27
|
protected _categoryField: string;
|
|
28
28
|
private _colorScale;
|
|
29
29
|
private _nodeList;
|
|
30
|
-
|
|
30
|
+
private _needClear;
|
|
31
31
|
get direction(): "horizontal" | "vertical";
|
|
32
32
|
getCategoryField(): string;
|
|
33
33
|
setCategoryField(f: string): string;
|
|
@@ -55,12 +55,12 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
55
55
|
private nodesSeriesDataUpdate;
|
|
56
56
|
private linksSeriesDataUpdate;
|
|
57
57
|
protected _handleEmphasisElement: (params: ExtendEventParam) => void;
|
|
58
|
-
protected _handleClearEmpty()
|
|
59
|
-
protected _handleNodeAdjacencyClick(graphic: IMarkGraphic)
|
|
60
|
-
protected _handleLinkAdjacencyClick(graphic: IMarkGraphic)
|
|
61
|
-
protected _handleNodeRelatedClick(graphic: IMarkGraphic)
|
|
62
|
-
protected _handleLinkRelatedClick(graphic: IMarkGraphic)
|
|
63
|
-
protected _highLightElements(graphics: IMarkGraphic[], highlightNodes:
|
|
58
|
+
protected _handleClearEmpty: () => void;
|
|
59
|
+
protected _handleNodeAdjacencyClick: (graphic: IMarkGraphic) => void;
|
|
60
|
+
protected _handleLinkAdjacencyClick: (graphic: IMarkGraphic) => void;
|
|
61
|
+
protected _handleNodeRelatedClick: (graphic: IMarkGraphic) => void;
|
|
62
|
+
protected _handleLinkRelatedClick: (graphic: IMarkGraphic) => void;
|
|
63
|
+
protected _highLightElements(graphics: IMarkGraphic[], highlightNodes: string[]): void;
|
|
64
64
|
protected initTooltip(): void;
|
|
65
65
|
_setNodeOrdinalColorScale(): void;
|
|
66
66
|
getNodeList(): any;
|