@visactor/vseed 0.1.7 → 0.1.8
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/dist/dataReshape/constant.d.ts +2 -0
- package/dist/index.cjs +740 -288
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +733 -286
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/chart/pipes/encoding/bar.d.ts +1 -19
- package/dist/pipeline/advanced/chart/pipes/encoding/column.d.ts +1 -19
- package/dist/pipeline/advanced/chart/pipes/encoding/dualAxis.d.ts +1 -19
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingAdapter.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/funnel.d.ts +1 -17
- package/dist/pipeline/advanced/chart/pipes/encoding/heatmap.d.ts +1 -19
- package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +11 -9
- package/dist/pipeline/advanced/chart/pipes/encoding/line.d.ts +1 -18
- package/dist/pipeline/advanced/chart/pipes/encoding/pie.d.ts +1 -18
- package/dist/pipeline/advanced/chart/pipes/encoding/radar.d.ts +1 -19
- package/dist/pipeline/advanced/chart/pipes/encoding/rose.d.ts +1 -19
- package/dist/pipeline/advanced/chart/pipes/encoding/scatter.d.ts +1 -18
- package/dist/pipeline/advanced/chart/pipes/measures/utils.d.ts +7 -1
- package/dist/pipeline/spec/chart/pipes/tooltip/index.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/tooltip/tooltip.d.ts +21 -1
- package/dist/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.d.ts +15 -0
- package/dist/pipeline/spec/chart/pipes/tooltip/tooltipScatter.d.ts +15 -0
- package/dist/types/chartType/area/area.d.ts +7 -27
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +7 -27
- package/dist/types/chartType/bar/bar.d.ts +8 -29
- package/dist/types/chartType/barParallel/barParallel.d.ts +8 -29
- package/dist/types/chartType/barPercent/barPercent.d.ts +8 -29
- package/dist/types/chartType/column/column.d.ts +8 -29
- package/dist/types/chartType/columnParallel/columnParallel.d.ts +9 -30
- package/dist/types/chartType/columnPercent/columnPercent.d.ts +8 -29
- package/dist/types/chartType/donut/donut.d.ts +7 -27
- package/dist/types/chartType/dualAxis/dualAxis.d.ts +9 -29
- package/dist/types/chartType/funnel/funnel.d.ts +7 -26
- package/dist/types/chartType/heatmap/heatmap.d.ts +8 -29
- package/dist/types/chartType/line/line.d.ts +7 -27
- package/dist/types/chartType/pie/pie.d.ts +7 -27
- package/dist/types/chartType/pivotTable/pivotTable.d.ts +4 -7
- package/dist/types/chartType/radar/radar.d.ts +7 -29
- package/dist/types/chartType/rose/rose.d.ts +8 -29
- package/dist/types/chartType/roseParallel/roseParallel.d.ts +8 -29
- package/dist/types/chartType/scatter/scatter.d.ts +7 -28
- package/dist/umd/index.js +736 -288
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
@@ -1,21 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 条形图、堆叠条形图、并列条形图、百分比条形图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. y: 第一个维度映射至Y轴
|
6
|
-
* 2. color: 非`Y`轴所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
7
|
-
* 3. detail: 非`Y`轴所有维度与指标名称, 映射至Detail通道
|
8
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
9
|
-
* 1. x: 全部指标映射至`X`轴
|
10
|
-
* 2. tooltip: 全部指标映射至`Tooltip`
|
11
|
-
*
|
12
|
-
* 维度映射规则:
|
13
|
-
* 1. 用户指定的`yAxis`维度映射至Y轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至Y轴
|
14
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
15
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
16
|
-
* 指标映射规则:
|
17
|
-
* 1. 指标未配置`encoding`, 则默认映射至Y轴;
|
18
|
-
* 2. 用户指定的`xAxis`指标映射至`X`轴, 支持多个指标;
|
19
|
-
* 3. 所有指标均映射到`Tooltip`
|
20
|
-
*/
|
2
|
+
export declare const defaultEncodingForBar: AdvancedPipe;
|
21
3
|
export declare const encodingForBar: AdvancedPipe;
|
@@ -1,21 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 堆叠柱状图、并列柱状图、百分比柱状图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. x: 第一个维度映射至X轴
|
6
|
-
* 2. color: 非`X`轴所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
7
|
-
* 3. detail: 非`X`轴所有维度与指标名称, 映射至Detail通道
|
8
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
9
|
-
* 1. y: 全部指标映射至Y轴
|
10
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
11
|
-
*
|
12
|
-
* 维度映射规则:
|
13
|
-
* 1. 用户指定的`xAxis`维度映射至X轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至X轴
|
14
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
15
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
16
|
-
* 指标映射规则:
|
17
|
-
* 1. 指标未配置`encoding`, 则默认映射至Y轴;
|
18
|
-
* 2. 用户指定的`yAxis`指标映射至Y轴, 支持多个指标;
|
19
|
-
* 3. 所有指标均映射到Tooltip
|
20
|
-
*/
|
2
|
+
export declare const defaultEncodingForColumn: AdvancedPipe;
|
21
3
|
export declare const encodingForColumn: AdvancedPipe;
|
@@ -1,21 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 双轴图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. x: 第一个维度映射至X轴
|
6
|
-
* 2. color: 非`X`轴所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
7
|
-
* 3. detail: 非`X`轴所有维度与指标名称, 映射至Detail通道
|
8
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
9
|
-
* 1. y: 第一个指标映射至主Y轴, 其余指标映射至次Y轴
|
10
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
11
|
-
*
|
12
|
-
* 维度映射规则:
|
13
|
-
* 1. 用户指定的`xAxis`维度映射至X轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至X轴
|
14
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
15
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
16
|
-
* 指标映射规则:
|
17
|
-
* 1. 指标未配置encoding, 则第一个指标默认映射至Y轴, 其余指标默认映射至次Y轴
|
18
|
-
* 2. 用户指定的yAxis指标映射至主Y轴或次Y轴, 支持多个指标;
|
19
|
-
* 3. 所有指标均映射到Tooltip
|
20
|
-
*/
|
2
|
+
export declare const defaultEncodingForDualAxis: AdvancedPipe;
|
21
3
|
export declare const encodingForDualAxis: AdvancedPipe;
|
@@ -1,19 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 漏斗图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. color: 所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
6
|
-
* 2. detail: 所有维度与指标名称, 映射至Detail通道
|
7
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
8
|
-
* 1. size: 全部指标映射至size通道
|
9
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
10
|
-
*
|
11
|
-
* 维度映射规则:
|
12
|
-
* 1. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
13
|
-
* 2. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
14
|
-
* 指标映射规则:
|
15
|
-
* 1. 指标未配置`encoding`, 则默认映射至size通道;
|
16
|
-
* 2. 用户指定的`size`指标映射至size通道, 支持多个指标;
|
17
|
-
* 3. 所有指标均映射到Tooltip
|
18
|
-
*/
|
2
|
+
export declare const defaultEncodingForFunnel: AdvancedPipe;
|
19
3
|
export declare const encodingForFunnel: AdvancedPipe;
|
@@ -1,21 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 热力图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. x: 第一个维度, 合并映射至x轴通道
|
6
|
-
* 2. y: 第二个(若没有第二个则复用第一个)及其之后的维度, 合并映射至y轴通道
|
7
|
-
* 3. color: 所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
8
|
-
* 4. detail: 所有维度与指标名称, 映射至Detail通道
|
9
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
10
|
-
* 1. color: 第一个指标映射至Color通道
|
11
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
12
|
-
*
|
13
|
-
* 维度映射规则:
|
14
|
-
* 1. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
15
|
-
* 2. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
16
|
-
* 指标映射规则:
|
17
|
-
* 1. 指标未配置`encoding`, 则默认映射至color通道, 只有一个指标时才会映射至color通道
|
18
|
-
* 2. 用户指定的`detail`指标映射至Detail通道, 支持多个指标;
|
19
|
-
* 3. 所有指标均映射到Tooltip
|
20
|
-
*/
|
2
|
+
export declare const defaultEncodingForHeatmap: AdvancedPipe;
|
21
3
|
export declare const encodingForHeatmap: AdvancedPipe;
|
@@ -1,9 +1,11 @@
|
|
1
|
-
export { encodingForColumn } from './column';
|
2
|
-
export { encodingForBar } from './bar';
|
3
|
-
export { encodingForPie } from './pie';
|
4
|
-
export { encodingForDualAxis } from './dualAxis';
|
5
|
-
export { encodingForFunnel } from './funnel';
|
6
|
-
export { encodingForHeatmap } from './heatmap';
|
7
|
-
export { encodingForRadar } from './radar';
|
8
|
-
export { encodingForScatter } from './scatter';
|
9
|
-
export { encodingForLine } from './line';
|
1
|
+
export { encodingForColumn, defaultEncodingForColumn } from './column';
|
2
|
+
export { encodingForBar, defaultEncodingForBar } from './bar';
|
3
|
+
export { encodingForPie, defaultEncodingForPie } from './pie';
|
4
|
+
export { encodingForDualAxis, defaultEncodingForDualAxis } from './dualAxis';
|
5
|
+
export { encodingForFunnel, defaultEncodingForFunnel } from './funnel';
|
6
|
+
export { encodingForHeatmap, defaultEncodingForHeatmap } from './heatmap';
|
7
|
+
export { encodingForRadar, defaultEncodingForRadar } from './radar';
|
8
|
+
export { encodingForScatter, defaultEncodingForScatter } from './scatter';
|
9
|
+
export { encodingForLine, defaultEncodingForLine } from './line';
|
10
|
+
export { encodingForRose, defaultEncodingForRose } from './rose';
|
11
|
+
export { encodingAdapter } from './encodingAdapter';
|
@@ -1,20 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 折线图、堆叠面积图、百分比面积图
|
4
|
-
* 维度未包含任何encoding, 则使用默认映射规则:
|
5
|
-
* 1. x: 第一个维度映射至X轴
|
6
|
-
* 2. color: 其余所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
7
|
-
* 指标未包含任何encoding, 则使用默认映射规则:
|
8
|
-
* 1. y: 全部指标映射至Y轴
|
9
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
10
|
-
*
|
11
|
-
* 维度映射规则:
|
12
|
-
* 1. 用户指定的xAxis维度映射至X轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至X轴
|
13
|
-
* 2. 用户指定的color维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
14
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
15
|
-
* 指标映射规则:
|
16
|
-
* 1. 指标未配置encoding, 则默认映射至Y轴;
|
17
|
-
* 2. 用户指定的yAxis指标映射至Y轴, 支持多个指标;
|
18
|
-
* 3. 所有指标均映射到Tooltip
|
19
|
-
*/
|
2
|
+
export declare const defaultEncodingForLine: AdvancedPipe;
|
20
3
|
export declare const encodingForLine: AdvancedPipe;
|
@@ -1,20 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 饼图、环形图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. color: 所有维度, 合并映射至颜色通道, 作为图例展示
|
6
|
-
* 2. detail: 所有维度, 映射至Detail通道
|
7
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
8
|
-
* 1. angle: 全部指标映射至angle轴
|
9
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
10
|
-
*
|
11
|
-
* 维度映射规则:
|
12
|
-
* 1. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
13
|
-
* 2. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
14
|
-
* 指标映射规则:
|
15
|
-
* 1. 指标未配置`encoding`, 则默认映射至angle轴;
|
16
|
-
* 2. 用户指定的`angle`指标映射至angle轴, 支持多个指标;
|
17
|
-
* 3. 用户指定的`color`指标映射至color通道, 支持多个指标;
|
18
|
-
* 3. 所有指标均映射到Tooltip
|
19
|
-
*/
|
2
|
+
export declare const defaultEncodingForPie: AdvancedPipe;
|
20
3
|
export declare const encodingForPie: AdvancedPipe;
|
@@ -1,21 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 雷达图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. angle: 第一个维度映射至angle轴
|
6
|
-
* 2. color: 非`Angle`轴所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
7
|
-
* 3. detail: 非`Angle`轴所有维度与指标名称, 映射至Detail通道
|
8
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
9
|
-
* 1. radius: 全部指标映射至radius轴
|
10
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
11
|
-
*
|
12
|
-
* 维度映射规则:
|
13
|
-
* 1. 用户指定的`angle`维度映射至angle轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至angle轴
|
14
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
15
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
16
|
-
* 指标映射规则:
|
17
|
-
* 1. 指标未配置`encoding`, 则默认映射至radius轴;
|
18
|
-
* 2. 用户指定的`radius`指标映射至radius轴, 支持多个指标;
|
19
|
-
* 3. 所有指标均映射到Tooltip
|
20
|
-
*/
|
2
|
+
export declare const defaultEncodingForRadar: AdvancedPipe;
|
21
3
|
export declare const encodingForRadar: AdvancedPipe;
|
@@ -1,21 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 堆叠玫瑰图、并列玫瑰图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. angle: 第一个维度映射至angle轴
|
6
|
-
* 2. color: 非`angle`轴所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
7
|
-
* 3. detail: 非`angle`轴所有维度与指标名称, 映射至Detail通道
|
8
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
9
|
-
* 1. radius: 全部指标映射至radius轴
|
10
|
-
* 2. tooltip: 全部指标映射至Tooltip
|
11
|
-
*
|
12
|
-
* 维度映射规则:
|
13
|
-
* 1. 用户指定的`angle`维度映射至angle轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至angle轴
|
14
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
15
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
16
|
-
* 指标映射规则:
|
17
|
-
* 1. 指标未配置`encoding`, 则默认映射至Y轴;
|
18
|
-
* 2. 用户指定的`radius`指标映射至radius轴, 支持多个指标;
|
19
|
-
* 3. 所有指标均映射到Tooltip
|
20
|
-
*/
|
2
|
+
export declare const defaultEncodingForRose: AdvancedPipe;
|
21
3
|
export declare const encodingForRose: AdvancedPipe;
|
@@ -1,20 +1,3 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
|
3
|
-
* @description 散点图
|
4
|
-
* 维度未包含任何`encoding`, 则使用默认映射规则:
|
5
|
-
* 1. color: 所有维度与指标名称, 合并映射至颜色通道, 作为图例展示
|
6
|
-
* 2. detail: 所有维度与指标名称, 映射至Detail通道
|
7
|
-
* 指标未包含任何`encoding`, 则使用默认映射规则:
|
8
|
-
* 1. x: 第一个指标映射至X轴
|
9
|
-
* 2. y: 第二个及其之后的指标映射至Y轴
|
10
|
-
* 3. tooltip: 全部指标映射至Tooltip
|
11
|
-
*
|
12
|
-
* 维度映射规则:
|
13
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
14
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
15
|
-
* 指标映射规则:
|
16
|
-
* 1. 指标未配置encoding, 则第一个指标默认映射至X轴, 第二个指标默认映射至Y轴
|
17
|
-
* 2. 用户指定的yAxis指标映射至Y轴X轴, 支持多个指标;
|
18
|
-
* 3. 所有指标均映射到Tooltip
|
19
|
-
*/
|
2
|
+
export declare const defaultEncodingForScatter: AdvancedPipe;
|
20
3
|
export declare const encodingForScatter: AdvancedPipe;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AdvancedVSeed, VSeed } from '../../../../../types';
|
1
|
+
import type { AdvancedVSeed, MeasureGroup, MeasureTree, VSeed } from '../../../../../types';
|
2
2
|
/**
|
3
3
|
* @description 检查是否为指标树, 指标树深度大于1. 如果存在一个指标为组, 即有children配置, 则认为是指标树.
|
4
4
|
* @param vseed vseed
|
@@ -11,3 +11,9 @@ export declare const isMeasureTreeWithChildren: (vseed: VSeed | AdvancedVSeed) =
|
|
11
11
|
* @returns
|
12
12
|
*/
|
13
13
|
export declare const isMeasureTreeWithParentId: (vseed: VSeed | AdvancedVSeed) => boolean;
|
14
|
+
/**
|
15
|
+
* @description 保证指标树中的每一组都有children, 没有children的指标, 会被放到一个默认的指标组中.
|
16
|
+
* @param measures 指标树
|
17
|
+
* @returns
|
18
|
+
*/
|
19
|
+
export declare const normalizeMeasureTree: (measures: MeasureTree) => MeasureGroup[];
|
@@ -1,2 +1,22 @@
|
|
1
|
-
import type { SpecPipe } from '../../../../../types';
|
1
|
+
import type { Dimensions, FoldInfo, Locale, Measures, SpecPipe, UnfoldInfo } from '../../../../../types';
|
2
2
|
export declare const tooltip: SpecPipe;
|
3
|
+
export declare const createDimensionContent: (measures: Measures, foldInfo: FoldInfo, unfoldInfo: UnfoldInfo, locale: Locale) => {
|
4
|
+
visible: boolean;
|
5
|
+
shapeType: string;
|
6
|
+
hasShape: boolean;
|
7
|
+
key: (v: unknown) => string;
|
8
|
+
value: (v: unknown) => string;
|
9
|
+
}[];
|
10
|
+
export declare const createMarkContent: (tooltip: string[], dimensions: Dimensions, measures: Measures, locale: Locale, foldInfo: FoldInfo, unfoldInfo: UnfoldInfo) => ({
|
11
|
+
visible: boolean;
|
12
|
+
hasShape: boolean;
|
13
|
+
shapeType: string;
|
14
|
+
key: (v: unknown) => string;
|
15
|
+
value: (v: unknown) => string;
|
16
|
+
} | {
|
17
|
+
visible: boolean;
|
18
|
+
hasShape: boolean;
|
19
|
+
shapeType: string;
|
20
|
+
key: string;
|
21
|
+
value: (v: unknown) => string;
|
22
|
+
})[];
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { Dimensions, FoldInfo, Locale, Measures, SpecPipe } from '../../../../../types';
|
2
|
+
export declare const tooltipHeatmap: SpecPipe;
|
3
|
+
export declare const createMarkContent: (tooltip: string[], dimensions: Dimensions, measures: Measures, locale: Locale, foldInfo: FoldInfo) => ({
|
4
|
+
visible: boolean;
|
5
|
+
hasShape: boolean;
|
6
|
+
shapeType: string;
|
7
|
+
key: (v: unknown) => string;
|
8
|
+
value: (v: unknown) => string;
|
9
|
+
} | {
|
10
|
+
visible: boolean;
|
11
|
+
hasShape: boolean;
|
12
|
+
shapeType: string;
|
13
|
+
key: string;
|
14
|
+
value: (v: unknown) => string;
|
15
|
+
})[];
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { Dimensions, FoldInfo, Locale, Measures, SpecPipe } from '../../../../../types';
|
2
|
+
export declare const tooltipScatter: SpecPipe;
|
3
|
+
export declare const createMarkContent: (tooltip: string[], dimensions: Dimensions, measures: Measures, locale: Locale, foldInfoList: FoldInfo[]) => ({
|
4
|
+
visible: boolean;
|
5
|
+
hasShape: boolean;
|
6
|
+
shapeType: string;
|
7
|
+
key: (v: unknown) => string;
|
8
|
+
value: (v: unknown) => string;
|
9
|
+
} | {
|
10
|
+
visible: boolean;
|
11
|
+
hasShape: boolean;
|
12
|
+
shapeType: string;
|
13
|
+
key: string;
|
14
|
+
value: (v: unknown) => string;
|
15
|
+
})[];
|
@@ -1,24 +1,16 @@
|
|
1
1
|
import type { Locale } from '../../i18n';
|
2
|
-
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend
|
2
|
+
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend } from '../../properties';
|
3
3
|
/**
|
4
4
|
* @recommend
|
5
5
|
* - 推荐字段配置: `1`个指标, `2`个维度
|
6
6
|
* - 支持数据重塑: 至少`1`个指标, `0`个维度
|
7
7
|
* @encoding
|
8
|
-
*
|
9
|
-
*
|
10
|
-
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
* 维度映射规则:
|
16
|
-
* 1. 用户指定的xAxis维度映射至X轴, 支持多个维度; 若未指定, 则默认映射第一个维度
|
17
|
-
* 2. 用户指定的color维度映射至颜色通道, 支持多个维度; 若未指定, 则默认映射指标名称
|
18
|
-
* 指标映射规则:
|
19
|
-
* 1. 指标未配置encoding, 则默认映射至Y轴;
|
20
|
-
* 2. 用户指定的yAxis指标映射至Y轴, 支持多个指标;
|
21
|
-
* 3. 所有指标均映射到Tooltip
|
8
|
+
* 面积图支持以下视觉通道:
|
9
|
+
* `xAxis` : x轴通道, 支持`多个维度`, 按维度值映射至x轴
|
10
|
+
* `yAxis` : y轴通道, 支持`多个指标`, 按指标值映射至y轴
|
11
|
+
* `color` : 颜色通道, 支持`多个维度`或 `一个指标`, 维度颜色用于区分不同的数据系列, 指标颜色用于线性映射指标值到图形颜色
|
12
|
+
* `tooltip`: 提示通道, 支持`多个维度`与 `多个指标`, 会在鼠标悬停在数据点上时展示
|
13
|
+
* `label` : 标签通道, 支持`多个维度`与 `多个指标`, 会在数据点上展示数据标签
|
22
14
|
*
|
23
15
|
* @description 面积图, 适用于展示数据随时间变化的趋势及累积关系, 通过填充区域增强数据对比. X轴为类目轴(分类数据), Y轴为数值轴(连续数据).
|
24
16
|
* 适用场景:
|
@@ -55,18 +47,6 @@ export interface Area {
|
|
55
47
|
* @example [{month:'1月', value:100}, {month:'2月', value:150}, {month:'3月', value:120}]
|
56
48
|
*/
|
57
49
|
dataset: Dataset;
|
58
|
-
/**
|
59
|
-
* @description 编码配置, 堆叠面积图的视觉通道, 包括: x通道, color通道, detail通道, label通道, tooltip通道
|
60
|
-
* - x: 映射到X轴的字段, 支持放入多个维度
|
61
|
-
* - detail: 细分映射通道, 支持放入多个维度
|
62
|
-
* - tooltip: 提示映射通道, 支持放入多个维度 和 多个指标
|
63
|
-
* - color: 颜色映射通道, 支持放入多个维度 或 1个 指标
|
64
|
-
* - label: 标签映射通道, 支持放入 多个维度 或 多个指标
|
65
|
-
*
|
66
|
-
* @tip 特殊的:
|
67
|
-
* - y: measures会直接映射到Y轴通道
|
68
|
-
*/
|
69
|
-
encoding?: Pick<Encoding, 'x' | 'color' | 'detail' | 'label' | 'tooltip'>;
|
70
50
|
/**
|
71
51
|
* 维度
|
72
52
|
* @description 第一个维度被映射到X轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Locale } from '../../i18n';
|
2
|
-
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend
|
2
|
+
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend } from '../../properties';
|
3
3
|
/**
|
4
4
|
* @description 百分比面积图,适用于展示多类别占比随时间变化的趋势,Y轴以百分比形式展示占比关系
|
5
5
|
* 适用场景:
|
@@ -7,20 +7,12 @@ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, Annotat
|
|
7
7
|
* - 多类别占比趋势对比
|
8
8
|
* - 累积占比与单一类别占比同时展示
|
9
9
|
* @encoding
|
10
|
-
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
* 维度映射规则:
|
18
|
-
* 1. 用户指定的xAxis维度映射至X轴, 支持多个维度; 若未指定, 则默认映射第一个维度
|
19
|
-
* 2. 用户指定的color维度映射至颜色通道, 支持多个维度; 若未指定, 则默认映射指标名称
|
20
|
-
* 指标映射规则:
|
21
|
-
* 1. 指标未配置encoding, 则默认映射至Y轴;
|
22
|
-
* 2. 用户指定的yAxis指标映射至Y轴, 支持多个指标;
|
23
|
-
* 3. 所有指标均映射到Tooltip
|
10
|
+
* 百分比面积图支持以下视觉通道:
|
11
|
+
* `xAxis` : x轴通道, 支持`多个维度`, 按维度值映射至x轴
|
12
|
+
* `yAxis` : y轴通道, 支持`多个指标`, 按指标值映射至y轴
|
13
|
+
* `color` : 颜色通道, 支持`多个维度`或 `一个指标`, 维度颜色用于区分不同的数据系列, 指标颜色用于线性映射指标值到图形颜色
|
14
|
+
* `tooltip`: 提示通道, 支持`多个维度`与 `多个指标`, 会在鼠标悬停在数据点上时展示
|
15
|
+
* `label` : 标签通道, 支持`多个维度`与 `多个指标`, 会在数据点上展示数据标签
|
24
16
|
* @warning
|
25
17
|
* 数据要求:
|
26
18
|
* - 至少1个指标字段(度量)
|
@@ -47,18 +39,6 @@ export interface AreaPercent {
|
|
47
39
|
* @example [{month:'1月', category:'A', value:30}, {month:'1月', category:'B', value:70}]
|
48
40
|
*/
|
49
41
|
dataset: Dataset;
|
50
|
-
/**
|
51
|
-
* @description 编码配置, 百分比面积图的视觉通道, 包括: x通道, color通道, detail通道, label通道, tooltip通道
|
52
|
-
* - x: 映射到X轴的字段, 支持放入多个维度
|
53
|
-
* - detail: 细分映射通道, 支持放入多个维度
|
54
|
-
* - tooltip: 提示映射通道, 支持放入多个维度 和 多个指标
|
55
|
-
* - color: 颜色映射通道, 支持放入多个维度 或 1个 指标
|
56
|
-
* - label: 标签映射通道, 支持放入 多个维度 或 多个指标
|
57
|
-
*
|
58
|
-
* @tip 特殊的:
|
59
|
-
* - y: measures会直接映射到Y轴通道
|
60
|
-
*/
|
61
|
-
encoding?: Pick<Encoding, 'x' | 'color' | 'detail' | 'label' | 'tooltip'>;
|
62
42
|
/**
|
63
43
|
* 维度
|
64
44
|
* @description 第一个维度被映射到X轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Locale } from '../../i18n';
|
2
|
-
import type {
|
2
|
+
import type { MeasureTree, Sort, SortLegend } from '../../properties';
|
3
3
|
import { type AnnotationArea, type AnnotationHorizontalLine, type AnnotationPoint, type AnnotationVerticalLine, type BackgroundColor, type BarStyle, type Color, type CrosshairRect, type Dataset, type Dimensions, type Label, type Legend, type StackCornerRadius, type Theme, type Tooltip, type XLinearAxis, type YBandAxis } from '../../properties';
|
4
4
|
/**
|
5
5
|
* @description 条形图,适用于横向数据对比场景,Y轴为类目轴(分类数据),X轴为数值轴(连续数据),柱子横向排列
|
@@ -8,22 +8,13 @@ import { type AnnotationArea, type AnnotationHorizontalLine, type AnnotationPoin
|
|
8
8
|
* - 需要展示数据排名对比
|
9
9
|
* - 展示正负双向数据
|
10
10
|
* @encoding
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
* 维度映射规则:
|
20
|
-
* 1. 用户指定的`yAxis`维度映射至Y轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至Y轴
|
21
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
22
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
23
|
-
* 指标映射规则:
|
24
|
-
* 1. 指标未配置`encoding`, 则默认映射至Y轴;
|
25
|
-
* 2. 用户指定的`xAxis`指标映射至`X`轴, 支持多个指标;
|
26
|
-
* 3. 所有指标均映射到`Tooltip`
|
11
|
+
* 条形图支持以下视觉通道:
|
12
|
+
* `yAxis` : y轴通道, 支持`多个维度`, 按维度值映射至y轴
|
13
|
+
* `xAxis` : x轴通道, 支持`多个指标`, 按指标值映射至x轴
|
14
|
+
* `detail` : 细分通道, 支持`多个维度`, 在同一个颜色系列下展示更细粒度的数据时使用
|
15
|
+
* `color` : 颜色通道, 支持`多个维度`或 `一个指标`, 维度颜色用于区分不同的数据系列, 指标颜色用于线性映射指标值到图形颜色
|
16
|
+
* `tooltip`: 提示通道, 支持`多个维度`与 `多个指标`, 会在鼠标悬停在数据点上时展示
|
17
|
+
* `label` : 标签通道, 支持`多个维度`与 `多个指标`, 会在数据点上展示数据标签
|
27
18
|
* @warning
|
28
19
|
* 数据要求:
|
29
20
|
* - 至少1个指标(度量)
|
@@ -48,18 +39,6 @@ export interface Bar {
|
|
48
39
|
* @example [{date:'2020-01-01', value:100}, {date:'2020-01-02', value:200}]
|
49
40
|
*/
|
50
41
|
dataset: Dataset;
|
51
|
-
/**
|
52
|
-
* @description 编码配置, 条形图的视觉通道, 包括: y通道, color通道, detail通道, label通道, tooltip通道
|
53
|
-
* - y: 映射到Y轴的字段, 支持放入多个维度
|
54
|
-
* - detail: 细分映射通道, 支持放入多个维度
|
55
|
-
* - tooltip: 提示映射通道, 支持放入多个维度 和 多个指标
|
56
|
-
* - color: 颜色映射通道, 支持放入多个维度 或 1个 指标
|
57
|
-
* - label: 标签映射通道, 支持放入 多个维度 或 多个指标
|
58
|
-
*
|
59
|
-
* @tip 特殊的:
|
60
|
-
* - x: measures会直接映射到X轴通道
|
61
|
-
*/
|
62
|
-
encoding?: Pick<Encoding, 'y' | 'color' | 'detail' | 'label' | 'tooltip'>;
|
63
42
|
/**
|
64
43
|
* @description 维度, 第一个维度被映射到Y轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
|
65
44
|
* @type {Dimensions}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Locale } from '../../i18n';
|
2
|
-
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend
|
2
|
+
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend } from '../../properties';
|
3
3
|
/**
|
4
4
|
* @description 并列条形图,适用于多指标横向并行对比场景,多个条形平行排列展示不同指标值
|
5
5
|
* 适用场景:
|
@@ -7,22 +7,13 @@ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, Annotat
|
|
7
7
|
* - 排名与数值同时展示的横向比较
|
8
8
|
* - 多维度数据的并列分析
|
9
9
|
* @encoding
|
10
|
-
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
* 维度映射规则:
|
19
|
-
* 1. 用户指定的`yAxis`维度映射至Y轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至Y轴
|
20
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
21
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
22
|
-
* 指标映射规则:
|
23
|
-
* 1. 指标未配置`encoding`, 则默认映射至Y轴;
|
24
|
-
* 2. 用户指定的`xAxis`指标映射至`X`轴, 支持多个指标;
|
25
|
-
* 3. 所有指标均映射到`Tooltip`
|
10
|
+
* 并列条形图支持以下视觉通道:
|
11
|
+
* `yAxis` : y轴通道, 支持`多个维度`, 按维度值映射至y轴
|
12
|
+
* `xAxis` : x轴通道, 支持`多个指标`, 按指标值映射至x轴
|
13
|
+
* `detail` : 细分通道, 支持`多个维度`, 在同一个颜色系列下展示更细粒度的数据时使用
|
14
|
+
* `color` : 颜色通道, 支持`多个维度`或 `一个指标`, 维度颜色用于区分不同的数据系列, 指标颜色用于线性映射指标值到图形颜色
|
15
|
+
* `tooltip`: 提示通道, 支持`多个维度`与 `多个指标`, 会在鼠标悬停在数据点上时展示
|
16
|
+
* `label` : 标签通道, 支持`多个维度`与 `多个指标`, 会在数据点上展示数据标签
|
26
17
|
* @warning
|
27
18
|
* 数据要求:
|
28
19
|
* - 至少1个指标字段(度量)
|
@@ -47,18 +38,6 @@ export interface BarParallel {
|
|
47
38
|
* @example [{category:'A', value1:100, value2:200}, {category:'B', value1:150, value2:250}]
|
48
39
|
*/
|
49
40
|
dataset: Dataset;
|
50
|
-
/**
|
51
|
-
* @description 编码配置, 并列条形图的视觉通道, 包括: y通道, color通道, detail通道, label通道, tooltip通道
|
52
|
-
* - y: 映射到Y轴的字段, 支持放入多个维度
|
53
|
-
* - detail: 细分映射通道, 支持放入多个维度
|
54
|
-
* - tooltip: 提示映射通道, 支持放入多个维度 和 多个指标
|
55
|
-
* - color: 颜色映射通道, 支持放入多个维度 或 1个 指标
|
56
|
-
* - label: 标签映射通道, 支持放入 多个维度 或 多个指标
|
57
|
-
*
|
58
|
-
* @tip 特殊的:
|
59
|
-
* - x: measures会直接映射到X轴通道
|
60
|
-
*/
|
61
|
-
encoding?: Pick<Encoding, 'y' | 'color' | 'detail' | 'label' | 'tooltip'>;
|
62
41
|
/**
|
63
42
|
* @description 维度, 第一个维度被映射到Y轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
|
64
43
|
* @type {Dimensions}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Locale } from '../../i18n';
|
2
|
-
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend
|
2
|
+
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend } from '../../properties';
|
3
3
|
/**
|
4
4
|
* @description 百分比条形图,适用于横向展示各类别占比关系的场景,X轴以百分比形式展示数据占比
|
5
5
|
* 适用场景:
|
@@ -7,22 +7,13 @@ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, Annotat
|
|
7
7
|
* - 多维度数据的横向构成分析
|
8
8
|
* - 排名与占比同时展示的场景
|
9
9
|
* @encoding
|
10
|
-
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
* 维度映射规则:
|
19
|
-
* 1. 用户指定的`yAxis`维度映射至Y轴, 支持多个维度; 若未指定, 则默认将第一个维度映射至Y轴
|
20
|
-
* 2. 用户指定的`color`维度映射至颜色通道, 支持多个维度; 若未指定, 则默认将指标名称映射至颜色通道, 作为图例展示
|
21
|
-
* 3. 用户指定的`detail`维度映射至Detail通道, 支持多个维度; 若未指定, 则默认将指标名称映射至Detail通道
|
22
|
-
* 指标映射规则:
|
23
|
-
* 1. 指标未配置`encoding`, 则默认映射至Y轴;
|
24
|
-
* 2. 用户指定的`xAxis`指标映射至`X`轴, 支持多个指标;
|
25
|
-
* 3. 所有指标均映射到`Tooltip`
|
10
|
+
* 百分比条形图支持以下视觉通道:
|
11
|
+
* `yAxis` : y轴通道, 支持`多个维度`, 按维度值映射至y轴
|
12
|
+
* `xAxis` : x轴通道, 支持`多个指标`, 按指标值映射至x轴
|
13
|
+
* `detail` : 细分通道, 支持`多个维度`, 在同一个颜色系列下展示更细粒度的数据时使用
|
14
|
+
* `color` : 颜色通道, 支持`多个维度`或 `一个指标`, 维度颜色用于区分不同的数据系列, 指标颜色用于线性映射指标值到图形颜色
|
15
|
+
* `tooltip`: 提示通道, 支持`多个维度`与 `多个指标`, 会在鼠标悬停在数据点上时展示
|
16
|
+
* `label` : 标签通道, 支持`多个维度`与 `多个指标`, 会在数据点上展示数据标签
|
26
17
|
* @warning
|
27
18
|
* 数据要求:
|
28
19
|
* - 至少1个维度字段和1个度量字段
|
@@ -47,18 +38,6 @@ export interface BarPercent {
|
|
47
38
|
* @example [{category:'A', value:30}, {category:'B', value:70}]
|
48
39
|
*/
|
49
40
|
dataset: Dataset;
|
50
|
-
/**
|
51
|
-
* @description 编码配置, 百分比条形图的视觉通道, 包括: y通道, color通道, detail通道, label通道, tooltip通道
|
52
|
-
* - y: 映射到Y轴的字段, 支持放入多个维度
|
53
|
-
* - detail: 细分映射通道, 支持放入多个维度
|
54
|
-
* - tooltip: 提示映射通道, 支持放入多个维度 和 多个指标
|
55
|
-
* - color: 颜色映射通道, 支持放入多个维度 或 1个 指标
|
56
|
-
* - label: 标签映射通道, 支持放入 多个维度 或 多个指标
|
57
|
-
*
|
58
|
-
* @tip 特殊的:
|
59
|
-
* - x: measures会直接映射到X轴通道
|
60
|
-
*/
|
61
|
-
encoding?: Pick<Encoding, 'y' | 'color' | 'detail' | 'label' | 'tooltip'>;
|
62
41
|
/**
|
63
42
|
* @description 维度, 第一个维度会放至Y轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
|
64
43
|
* @type {Dimensions}
|