@visactor/vseed 0.1.33 → 0.1.35
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/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +1189 -3271
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +31 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.d.ts +19 -3
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.js +21 -3
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +30 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js +27 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js +0 -3
- package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js +5 -4
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js +26 -11
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js +19 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js +8 -3
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js +22 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js +0 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js.map +1 -1
- package/dist/esm/pipeline/utils/constant.d.ts +1 -0
- package/dist/esm/pipeline/utils/constant.js +2 -1
- package/dist/esm/pipeline/utils/constant.js.map +1 -1
- package/dist/esm/theme/common/funnelTransform.d.ts +3 -0
- package/dist/esm/theme/common/funnelTransform.js +11 -0
- package/dist/esm/theme/common/funnelTransform.js.map +1 -0
- package/dist/esm/theme/common/heatmapCell.d.ts +3 -0
- package/dist/esm/theme/common/heatmapCell.js +9 -0
- package/dist/esm/theme/common/heatmapCell.js.map +1 -0
- package/dist/esm/theme/common/table.d.ts +47 -5
- package/dist/esm/theme/common/table.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +4 -0
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +4 -0
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +160 -958
- package/dist/esm/types/properties/config/annotation/zAnnotaion.d.ts +1 -1
- package/dist/esm/types/properties/config/annotation/zAnnotaion.js +2 -2
- package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +1 -1
- package/dist/esm/types/properties/config/area.d.ts +647 -0
- package/dist/esm/types/properties/config/area.js +26 -0
- package/dist/esm/types/properties/config/area.js.map +1 -0
- package/dist/esm/types/properties/config/axes/bandAxis.d.ts +149 -1
- package/dist/esm/types/properties/config/axes/linearAxis.d.ts +151 -1
- package/dist/esm/types/properties/config/bar.d.ts +970 -0
- package/dist/esm/types/properties/config/bar.js +29 -0
- package/dist/esm/types/properties/config/bar.js.map +1 -0
- package/dist/esm/types/properties/config/column.d.ts +970 -0
- package/dist/esm/types/properties/config/column.js +29 -0
- package/dist/esm/types/properties/config/column.js.map +1 -0
- package/dist/esm/types/properties/config/config.d.ts +138 -5667
- package/dist/esm/types/properties/config/config.js +13 -142
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/config/dualAxis.d.ts +566 -0
- package/dist/esm/types/properties/config/dualAxis.js +29 -0
- package/dist/esm/types/properties/config/dualAxis.js.map +1 -0
- package/dist/esm/types/properties/config/funnel.d.ts +124 -0
- package/dist/esm/types/properties/config/funnel.js +20 -0
- package/dist/esm/types/properties/config/funnel.js.map +1 -0
- package/dist/esm/types/properties/config/funnelTransform/funnelTransform.d.ts +13 -0
- package/dist/esm/types/properties/config/funnelTransform/funnelTransform.js +0 -0
- package/dist/esm/types/properties/config/funnelTransform/index.d.ts +2 -0
- package/dist/esm/types/properties/config/funnelTransform/index.js +1 -0
- package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.d.ts +5 -0
- package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js +8 -0
- package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js.map +1 -0
- package/dist/esm/types/properties/config/heatmap/heatmap.d.ts +17 -0
- package/dist/esm/types/properties/config/heatmap/heatmap.js +0 -0
- package/dist/esm/types/properties/config/heatmap/index.d.ts +2 -0
- package/dist/esm/types/properties/config/heatmap/index.js +1 -0
- package/dist/esm/types/properties/config/heatmap/zHeatmap.d.ts +6 -0
- package/dist/esm/types/properties/config/heatmap/zHeatmap.js +9 -0
- package/dist/esm/types/properties/config/heatmap/zHeatmap.js.map +1 -0
- package/dist/esm/types/properties/config/heatmap.d.ts +125 -0
- package/dist/esm/types/properties/config/heatmap.js +20 -0
- package/dist/esm/types/properties/config/heatmap.js.map +1 -0
- package/dist/esm/types/properties/config/index.d.ts +17 -2
- package/dist/esm/types/properties/config/index.js +17 -2
- package/dist/esm/types/properties/config/line.d.ts +324 -0
- package/dist/esm/types/properties/config/line.js +25 -0
- package/dist/esm/types/properties/config/line.js.map +1 -0
- package/dist/esm/types/properties/config/pie.d.ts +364 -0
- package/dist/esm/types/properties/config/pie.js +21 -0
- package/dist/esm/types/properties/config/pie.js.map +1 -0
- package/dist/esm/types/properties/config/pivotGrid/index.d.ts +2 -0
- package/dist/esm/types/properties/config/pivotGrid/index.js +2 -0
- package/dist/esm/types/properties/config/pivotGrid/pivotGrid.d.ts +10 -0
- package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js +12 -0
- package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js.map +1 -0
- package/dist/esm/types/properties/config/pivotTable.d.ts +18 -0
- package/dist/esm/types/properties/config/pivotTable.js +5 -0
- package/dist/esm/types/properties/config/pivotTable.js.map +1 -0
- package/dist/esm/types/properties/config/rose.d.ts +241 -0
- package/dist/esm/types/properties/config/rose.js +19 -0
- package/dist/esm/types/properties/config/rose.js.map +1 -0
- package/dist/esm/types/properties/config/scatter.d.ts +357 -0
- package/dist/esm/types/properties/config/scatter.js +27 -0
- package/dist/esm/types/properties/config/scatter.js.map +1 -0
- package/dist/esm/types/properties/config/table.d.ts +18 -0
- package/dist/esm/types/properties/config/table.js +21 -0
- package/dist/esm/types/properties/config/table.js.map +1 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +161 -959
- package/dist/umd/index.js +241 -137
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/esm/pipeline/advanced/chart/pipes/config/config.d.ts +0 -17
- package/dist/esm/pipeline/advanced/chart/pipes/config/config.js +0 -89
- package/dist/esm/pipeline/advanced/chart/pipes/config/config.js.map +0 -1
package/dist/umd/index.js
CHANGED
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
zCrosshairRect: ()=>zCrosshairRect,
|
|
77
77
|
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
|
78
78
|
intl: ()=>intl,
|
|
79
|
+
zAnnotationPointConfig: ()=>zAnnotationPointConfig,
|
|
79
80
|
columnPercentAdvancedPipeline: ()=>columnPercentAdvancedPipeline,
|
|
80
81
|
zColumnConfig: ()=>zColumnConfig,
|
|
81
82
|
zDualMeasure: ()=>zDualMeasure,
|
|
@@ -107,10 +108,13 @@
|
|
|
107
108
|
replaceNullToUndefined: ()=>replaceNullToUndefined,
|
|
108
109
|
zHeatmap: ()=>zHeatmap,
|
|
109
110
|
FoldXMeasureId: ()=>FoldXMeasureId,
|
|
110
|
-
|
|
111
|
+
zAnnotationAreaConfig: ()=>zAnnotationAreaConfig,
|
|
112
|
+
zAnnotationVerticalLineConfig: ()=>zAnnotationVerticalLineConfig,
|
|
113
|
+
zAnnotationConfig: ()=>zAnnotationConfig,
|
|
111
114
|
registerBarPercent: ()=>registerBarPercent,
|
|
112
115
|
ColorIdEncoding: ()=>ColorIdEncoding,
|
|
113
116
|
roseSpecPipeline: ()=>roseSpecPipeline,
|
|
117
|
+
zCrosshairLine: ()=>zCrosshairLine,
|
|
114
118
|
roseAdvancedPipeline: ()=>roseAdvancedPipeline,
|
|
115
119
|
zBarParallel: ()=>zBarParallel,
|
|
116
120
|
registerDarkTheme: ()=>registerDarkTheme,
|
|
@@ -118,9 +122,9 @@
|
|
|
118
122
|
tableAdvancedPipeline: ()=>tableAdvancedPipeline,
|
|
119
123
|
zMeasureTree: ()=>zMeasureTree,
|
|
120
124
|
zStackCornerRadius: ()=>zStackCornerRadius,
|
|
125
|
+
zRose: ()=>zRose,
|
|
121
126
|
registerRose: ()=>registerRose,
|
|
122
127
|
zPivotChartGridConfig: ()=>zPivotChartGridConfig,
|
|
123
|
-
zRose: ()=>zRose,
|
|
124
128
|
registerTable: ()=>registerTable,
|
|
125
129
|
isMeasureGroup: ()=>isMeasureGroup,
|
|
126
130
|
autoFormatter: ()=>autoFormatter,
|
|
@@ -141,8 +145,10 @@
|
|
|
141
145
|
darkTheme: ()=>darkTheme,
|
|
142
146
|
isVTable: ()=>isVTable,
|
|
143
147
|
ORIGINAL_DATA: ()=>ORIGINAL_DATA,
|
|
148
|
+
zAnnotationHorizontalLineConfig: ()=>zAnnotationHorizontalLineConfig,
|
|
144
149
|
columnParallelSpecPipeline: ()=>columnParallelSpecPipeline,
|
|
145
150
|
zAnnotationPoint: ()=>zAnnotationPoint,
|
|
151
|
+
DATUM_HIDE_KEY: ()=>DATUM_HIDE_KEY,
|
|
146
152
|
isMeasure: ()=>isMeasure,
|
|
147
153
|
FoldSecondaryMeasureValue: ()=>FoldSecondaryMeasureValue,
|
|
148
154
|
zSort: ()=>zSort,
|
|
@@ -165,10 +171,10 @@
|
|
|
165
171
|
autoNumFormatter: ()=>autoNumFormatter,
|
|
166
172
|
tableSpecPipeline: ()=>tableSpecPipeline,
|
|
167
173
|
isCombination: ()=>isCombination,
|
|
168
|
-
|
|
174
|
+
zConfig: ()=>zConfig,
|
|
169
175
|
zBarStyle: ()=>zBarStyle,
|
|
170
176
|
deleteDimensionTreeByCallback: ()=>deleteDimensionTreeByCallback,
|
|
171
|
-
|
|
177
|
+
zRoseParallelConfig: ()=>zRoseParallelConfig,
|
|
172
178
|
zXLinearAxis: ()=>zXLinearAxis,
|
|
173
179
|
columnParallelAdvancedPipeline: ()=>columnParallelAdvancedPipeline,
|
|
174
180
|
zColumnPercent: ()=>zColumnPercent,
|
|
@@ -194,10 +200,11 @@
|
|
|
194
200
|
zDualMeasures: ()=>zDualMeasures,
|
|
195
201
|
isTable: ()=>isTable,
|
|
196
202
|
zDonut: ()=>zDonut,
|
|
197
|
-
|
|
203
|
+
zFunnelTransform: ()=>zFunnelTransform,
|
|
198
204
|
XEncoding: ()=>XEncoding,
|
|
199
205
|
findFirstMeasure: ()=>findFirstMeasure,
|
|
200
206
|
scatterAdvancedPipeline: ()=>scatterAdvancedPipeline,
|
|
207
|
+
zRoseConfig: ()=>zRoseConfig,
|
|
201
208
|
zScatterMeasures: ()=>zScatterMeasures,
|
|
202
209
|
zAnnotation: ()=>zAnnotation,
|
|
203
210
|
selector: ()=>selector_selector,
|
|
@@ -291,9 +298,9 @@
|
|
|
291
298
|
zAdvancedVSeed: ()=>zAdvancedVSeed,
|
|
292
299
|
zAreaPercent: ()=>zAreaPercent,
|
|
293
300
|
isValueSelector: ()=>isValueSelector,
|
|
301
|
+
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
|
294
302
|
zScatter: ()=>zScatter,
|
|
295
303
|
zScatterConfig: ()=>zScatterConfig,
|
|
296
|
-
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
|
297
304
|
zTooltip: ()=>zTooltip,
|
|
298
305
|
isBarLikeChart: ()=>isBarLikeChart,
|
|
299
306
|
barParallelAdvancedPipeline: ()=>barParallelAdvancedPipeline,
|
|
@@ -557,6 +564,7 @@
|
|
|
557
564
|
Funnel: 'funnel',
|
|
558
565
|
Heatmap: 'heatmap'
|
|
559
566
|
};
|
|
567
|
+
const DATUM_HIDE_KEY = '__VSEED_HideItem__';
|
|
560
568
|
const isTable = (vseed)=>vseed.chartType === ChartTypeEnum.Table;
|
|
561
569
|
const isPivotTable = (vseed)=>vseed.chartType === ChartTypeEnum.PivotTable;
|
|
562
570
|
const isRadar = (vseed)=>vseed.chartType === ChartTypeEnum.Radar;
|
|
@@ -2384,65 +2392,6 @@
|
|
|
2384
2392
|
};
|
|
2385
2393
|
return result;
|
|
2386
2394
|
};
|
|
2387
|
-
const columnConfig = (advancedVSeed, context)=>{
|
|
2388
|
-
const { vseed } = context;
|
|
2389
|
-
const { chartType } = vseed;
|
|
2390
|
-
const result = {
|
|
2391
|
-
...advancedVSeed
|
|
2392
|
-
};
|
|
2393
|
-
const config = chunk_2T7K3PFL_i(vseed, [
|
|
2394
|
-
'backgroundColor',
|
|
2395
|
-
'color',
|
|
2396
|
-
'label',
|
|
2397
|
-
'legend',
|
|
2398
|
-
'tooltip',
|
|
2399
|
-
'xAxis',
|
|
2400
|
-
'yAxis',
|
|
2401
|
-
'crosshairRect',
|
|
2402
|
-
'stackCornerRadius'
|
|
2403
|
-
]);
|
|
2404
|
-
result.config = {
|
|
2405
|
-
...result.config || {},
|
|
2406
|
-
[chartType]: {
|
|
2407
|
-
...config
|
|
2408
|
-
}
|
|
2409
|
-
};
|
|
2410
|
-
return result;
|
|
2411
|
-
};
|
|
2412
|
-
const pieConfig = (advancedVSeed, context)=>{
|
|
2413
|
-
const { vseed } = context;
|
|
2414
|
-
const { chartType } = vseed;
|
|
2415
|
-
const result = {
|
|
2416
|
-
...advancedVSeed
|
|
2417
|
-
};
|
|
2418
|
-
const config = chunk_2T7K3PFL_i(vseed, [
|
|
2419
|
-
'backgroundColor',
|
|
2420
|
-
'color',
|
|
2421
|
-
'label',
|
|
2422
|
-
'legend',
|
|
2423
|
-
'tooltip'
|
|
2424
|
-
]);
|
|
2425
|
-
result.config = {
|
|
2426
|
-
...result.config || {},
|
|
2427
|
-
[chartType]: {
|
|
2428
|
-
...config
|
|
2429
|
-
}
|
|
2430
|
-
};
|
|
2431
|
-
return result;
|
|
2432
|
-
};
|
|
2433
|
-
const areaConfig = lineConfig;
|
|
2434
|
-
const areaPercentConfig = lineConfig;
|
|
2435
|
-
const barConfig = columnConfig;
|
|
2436
|
-
const barParallelConfig = columnConfig;
|
|
2437
|
-
const barPercentConfig = columnConfig;
|
|
2438
|
-
const columnParallelConfig = columnConfig;
|
|
2439
|
-
const columnPercentConfig = columnConfig;
|
|
2440
|
-
const donutConfig = pieConfig;
|
|
2441
|
-
const roseConfig = pieConfig;
|
|
2442
|
-
const roseParallelConfig = pieConfig;
|
|
2443
|
-
const funnelConfig = pieConfig;
|
|
2444
|
-
const heatmapConfig = pieConfig;
|
|
2445
|
-
const radarConfig = pieConfig;
|
|
2446
2395
|
const markStyle_markStyle = (advancedVSeed, context)=>{
|
|
2447
2396
|
const { vseed } = context;
|
|
2448
2397
|
const pickedMarkStyle = chunk_2T7K3PFL_i(vseed, [
|
|
@@ -2955,14 +2904,6 @@
|
|
|
2955
2904
|
autoPage: true,
|
|
2956
2905
|
orient,
|
|
2957
2906
|
position: legendPosition,
|
|
2958
|
-
data: border ? (items)=>items.map((item)=>{
|
|
2959
|
-
item.shape.outerBorder = {
|
|
2960
|
-
stroke: item.shape.fill,
|
|
2961
|
-
distance: 3,
|
|
2962
|
-
lineWidth: 1
|
|
2963
|
-
};
|
|
2964
|
-
return item;
|
|
2965
|
-
}) : void 0,
|
|
2966
2907
|
item: {
|
|
2967
2908
|
focus: true,
|
|
2968
2909
|
maxWidth: '30%',
|
|
@@ -2973,9 +2914,23 @@
|
|
|
2973
2914
|
},
|
|
2974
2915
|
shape: {
|
|
2975
2916
|
space: border ? 6 : 4,
|
|
2976
|
-
style: {
|
|
2977
|
-
|
|
2978
|
-
|
|
2917
|
+
style: (item)=>({
|
|
2918
|
+
symbolType: shapeType,
|
|
2919
|
+
size: border ? 8 : 10,
|
|
2920
|
+
fillOpacity: 1,
|
|
2921
|
+
opacity: 1,
|
|
2922
|
+
stroke: false,
|
|
2923
|
+
outerBorder: border ? {
|
|
2924
|
+
stroke: item.shape.fill,
|
|
2925
|
+
distance: 3,
|
|
2926
|
+
lineWidth: 1
|
|
2927
|
+
} : null
|
|
2928
|
+
}),
|
|
2929
|
+
state: {
|
|
2930
|
+
unSelected: {
|
|
2931
|
+
opacity: 0.2,
|
|
2932
|
+
fillOpacity: 1
|
|
2933
|
+
}
|
|
2979
2934
|
}
|
|
2980
2935
|
},
|
|
2981
2936
|
label: {
|
|
@@ -2984,6 +2939,12 @@
|
|
|
2984
2939
|
fontSize: labelFontSize,
|
|
2985
2940
|
fill: labelColor || labelFontColor,
|
|
2986
2941
|
fontWeight: labelFontWeight
|
|
2942
|
+
},
|
|
2943
|
+
state: {
|
|
2944
|
+
unSelected: {
|
|
2945
|
+
fill: labelColor || labelFontColor,
|
|
2946
|
+
fillOpacity: 0.8
|
|
2947
|
+
}
|
|
2987
2948
|
}
|
|
2988
2949
|
},
|
|
2989
2950
|
background: {
|
|
@@ -2991,6 +2952,9 @@
|
|
|
2991
2952
|
selectedHover: {
|
|
2992
2953
|
fill: labelColor || labelFontColor,
|
|
2993
2954
|
fillOpacity: 0.05
|
|
2955
|
+
},
|
|
2956
|
+
unSelectedHover: {
|
|
2957
|
+
fill: null
|
|
2994
2958
|
}
|
|
2995
2959
|
}
|
|
2996
2960
|
}
|
|
@@ -3402,6 +3366,7 @@
|
|
|
3402
3366
|
const percentFormatter = createFormatter(percentFormat);
|
|
3403
3367
|
const result = {
|
|
3404
3368
|
visible: enable,
|
|
3369
|
+
dataFilter: (data)=>data.filter((entry)=>entry.data?.[DATUM_HIDE_KEY] !== true),
|
|
3405
3370
|
formatMethod: (_, datum)=>{
|
|
3406
3371
|
const result = [];
|
|
3407
3372
|
const dimLabels = labelDims.map((item)=>{
|
|
@@ -3415,7 +3380,7 @@
|
|
|
3415
3380
|
const measure = findMeasureById(advancedVSeedMeasures, datum[measureId]);
|
|
3416
3381
|
if (measure) {
|
|
3417
3382
|
const measureValueLabel = generateMeasureValue(datum[measureValue], measure, autoFormat, numFormat);
|
|
3418
|
-
const measurePercentLabel = generateMeasurePercent(datum[measureValue], statistics.sum, percentFormatter);
|
|
3383
|
+
const measurePercentLabel = chunk_6GTAPB47_e(datum['__VCHART_ARC_RATIO']) ? generateMeasurePercent(datum['__VCHART_ARC_RATIO'], 1, percentFormatter) : generateMeasurePercent(datum[measureValue], statistics.sum, percentFormatter);
|
|
3419
3384
|
if (showValue) result.push(measureValueLabel);
|
|
3420
3385
|
if (showValuePercent) result.push(measurePercentLabel);
|
|
3421
3386
|
}
|
|
@@ -4290,7 +4255,6 @@
|
|
|
4290
4255
|
dimensionKey: dim.id,
|
|
4291
4256
|
title: dim.alias || dim.id
|
|
4292
4257
|
}));
|
|
4293
|
-
console.log('Pivot Column Dimensions:', columns);
|
|
4294
4258
|
return {
|
|
4295
4259
|
...result,
|
|
4296
4260
|
columns: columns
|
|
@@ -4620,6 +4584,32 @@
|
|
|
4620
4584
|
...tooltip
|
|
4621
4585
|
]);
|
|
4622
4586
|
};
|
|
4587
|
+
const columnConfig = (advancedVSeed, context)=>{
|
|
4588
|
+
const { vseed } = context;
|
|
4589
|
+
const { chartType } = vseed;
|
|
4590
|
+
const result = {
|
|
4591
|
+
...advancedVSeed
|
|
4592
|
+
};
|
|
4593
|
+
const pickedConfig = chunk_2T7K3PFL_i(vseed, [
|
|
4594
|
+
'backgroundColor',
|
|
4595
|
+
'color',
|
|
4596
|
+
'label',
|
|
4597
|
+
'legend',
|
|
4598
|
+
'tooltip',
|
|
4599
|
+
'xAxis',
|
|
4600
|
+
'yAxis',
|
|
4601
|
+
'crosshairRect',
|
|
4602
|
+
'stackCornerRadius'
|
|
4603
|
+
]);
|
|
4604
|
+
const config = replaceNullToUndefined(pickedConfig);
|
|
4605
|
+
result.config = {
|
|
4606
|
+
...result.config || {},
|
|
4607
|
+
[chartType]: {
|
|
4608
|
+
...config
|
|
4609
|
+
}
|
|
4610
|
+
};
|
|
4611
|
+
return result;
|
|
4612
|
+
};
|
|
4623
4613
|
const columnAdvancedPipeline = [
|
|
4624
4614
|
initAdvancedVSeed_initAdvancedVSeed,
|
|
4625
4615
|
default_defaultMeasures_defaultMeasures,
|
|
@@ -5016,6 +5006,41 @@
|
|
|
5016
5006
|
Builder._advancedPipelineMap.column = columnAdvancedPipeline;
|
|
5017
5007
|
Builder._specPipelineMap.column = columnSpecPipeline;
|
|
5018
5008
|
};
|
|
5009
|
+
const pieConfig = (advancedVSeed, context)=>{
|
|
5010
|
+
const { vseed } = context;
|
|
5011
|
+
const { chartType } = vseed;
|
|
5012
|
+
const result = {
|
|
5013
|
+
...advancedVSeed
|
|
5014
|
+
};
|
|
5015
|
+
const pickedConfig = chunk_2T7K3PFL_i(vseed, [
|
|
5016
|
+
'backgroundColor',
|
|
5017
|
+
'color',
|
|
5018
|
+
'label',
|
|
5019
|
+
'legend',
|
|
5020
|
+
'tooltip'
|
|
5021
|
+
]);
|
|
5022
|
+
const config = replaceNullToUndefined(pickedConfig);
|
|
5023
|
+
result.config = {
|
|
5024
|
+
...result.config || {},
|
|
5025
|
+
[chartType]: {
|
|
5026
|
+
...config
|
|
5027
|
+
}
|
|
5028
|
+
};
|
|
5029
|
+
return result;
|
|
5030
|
+
};
|
|
5031
|
+
const areaConfig = lineConfig;
|
|
5032
|
+
const areaPercentConfig = lineConfig;
|
|
5033
|
+
const barConfig = columnConfig;
|
|
5034
|
+
const barParallelConfig = columnConfig;
|
|
5035
|
+
const barPercentConfig = columnConfig;
|
|
5036
|
+
const columnParallelConfig = columnConfig;
|
|
5037
|
+
const columnPercentConfig = columnConfig;
|
|
5038
|
+
const donutConfig = pieConfig;
|
|
5039
|
+
const roseConfig = pieConfig;
|
|
5040
|
+
const roseParallelConfig = pieConfig;
|
|
5041
|
+
const radarConfig = pieConfig;
|
|
5042
|
+
const funnelConfig = pieConfig;
|
|
5043
|
+
const heatmapConfig = pieConfig;
|
|
5019
5044
|
const columnParallelAdvancedPipeline = [
|
|
5020
5045
|
initAdvancedVSeed_initAdvancedVSeed,
|
|
5021
5046
|
default_defaultMeasures_defaultMeasures,
|
|
@@ -8775,9 +8800,6 @@
|
|
|
8775
8800
|
clip: true
|
|
8776
8801
|
}
|
|
8777
8802
|
];
|
|
8778
|
-
result.transformLabel = {
|
|
8779
|
-
visible: true
|
|
8780
|
-
};
|
|
8781
8803
|
result.animation = true;
|
|
8782
8804
|
return result;
|
|
8783
8805
|
};
|
|
@@ -8805,7 +8827,7 @@
|
|
|
8805
8827
|
...result,
|
|
8806
8828
|
funnel: {
|
|
8807
8829
|
style: {
|
|
8808
|
-
cornerRadius:
|
|
8830
|
+
cornerRadius: 0
|
|
8809
8831
|
},
|
|
8810
8832
|
state: {
|
|
8811
8833
|
hover: {
|
|
@@ -8815,6 +8837,25 @@
|
|
|
8815
8837
|
}
|
|
8816
8838
|
};
|
|
8817
8839
|
};
|
|
8840
|
+
const funnelTransformStyle = (spec, context)=>{
|
|
8841
|
+
const { advancedVSeed, vseed } = context;
|
|
8842
|
+
const { chartType } = vseed;
|
|
8843
|
+
const config = advancedVSeed.config?.[chartType]?.transform;
|
|
8844
|
+
return {
|
|
8845
|
+
...spec,
|
|
8846
|
+
transform: {
|
|
8847
|
+
style: {
|
|
8848
|
+
fill: config?.backgroundColor
|
|
8849
|
+
}
|
|
8850
|
+
},
|
|
8851
|
+
transformLabel: {
|
|
8852
|
+
visible: true,
|
|
8853
|
+
style: {
|
|
8854
|
+
fill: config?.textColor
|
|
8855
|
+
}
|
|
8856
|
+
}
|
|
8857
|
+
};
|
|
8858
|
+
};
|
|
8818
8859
|
const funnel = [
|
|
8819
8860
|
initFunnel,
|
|
8820
8861
|
background_backgroundColor,
|
|
@@ -8823,6 +8864,7 @@
|
|
|
8823
8864
|
label_label,
|
|
8824
8865
|
colorAdapter(discreteLegend, colorLegend),
|
|
8825
8866
|
colorFunnelStyleFill(funnelStyle),
|
|
8867
|
+
funnelTransformStyle,
|
|
8826
8868
|
tooltip_tooltip,
|
|
8827
8869
|
annotationPoint_annotationPoint,
|
|
8828
8870
|
annotationVerticalLine_annotationVerticalLine,
|
|
@@ -8843,6 +8885,7 @@
|
|
|
8843
8885
|
label_label,
|
|
8844
8886
|
tooltip_tooltip,
|
|
8845
8887
|
colorFunnelStyleFill(funnelStyle),
|
|
8888
|
+
funnelTransformStyle,
|
|
8846
8889
|
annotationPoint_annotationPoint,
|
|
8847
8890
|
annotationVerticalLine_annotationVerticalLine,
|
|
8848
8891
|
annotationHorizontalLine_annotationHorizontalLine,
|
|
@@ -8964,6 +9007,20 @@
|
|
|
8964
9007
|
markStyle_markStyle,
|
|
8965
9008
|
annotation_annotation
|
|
8966
9009
|
];
|
|
9010
|
+
const heatmapColorLegend = (spec, context)=>{
|
|
9011
|
+
const result = colorLegend(spec, context);
|
|
9012
|
+
if (result.legends) result.legends.customFilter = (data, range, key)=>{
|
|
9013
|
+
const min = Math.min(range[0], range[1]);
|
|
9014
|
+
const max = Math.max(range[0], range[1]);
|
|
9015
|
+
return (data ?? []).map((entry)=>{
|
|
9016
|
+
const val = entry[key];
|
|
9017
|
+
const isHide = val - min < -0.000001 || val - max > 1e-6;
|
|
9018
|
+
entry[DATUM_HIDE_KEY] = isHide;
|
|
9019
|
+
return entry;
|
|
9020
|
+
});
|
|
9021
|
+
};
|
|
9022
|
+
return result;
|
|
9023
|
+
};
|
|
8967
9024
|
const colorCellStyleFill = (stylePipe)=>(spec, context)=>{
|
|
8968
9025
|
const result = stylePipe(spec, context);
|
|
8969
9026
|
const { advancedVSeed, vseed } = context;
|
|
@@ -8977,20 +9034,24 @@
|
|
|
8977
9034
|
}
|
|
8978
9035
|
return result;
|
|
8979
9036
|
};
|
|
8980
|
-
const cellStyle = (spec)=>{
|
|
9037
|
+
const cellStyle = (spec, context)=>{
|
|
8981
9038
|
const result = {
|
|
8982
9039
|
...spec,
|
|
8983
9040
|
cell: {
|
|
8984
9041
|
style: {}
|
|
8985
9042
|
}
|
|
8986
9043
|
};
|
|
9044
|
+
const { advancedVSeed, vseed } = context;
|
|
9045
|
+
const { chartType } = vseed;
|
|
9046
|
+
const cell = advancedVSeed.config?.[chartType]?.cell;
|
|
8987
9047
|
return {
|
|
8988
9048
|
...result,
|
|
8989
9049
|
cell: {
|
|
8990
9050
|
style: {
|
|
9051
|
+
visible: (datum)=>datum?.[DATUM_HIDE_KEY] !== true,
|
|
8991
9052
|
shape: 'rect',
|
|
8992
|
-
stroke:
|
|
8993
|
-
lineWidth: 1
|
|
9053
|
+
stroke: cell?.stroke,
|
|
9054
|
+
lineWidth: cell?.lineWidth ?? 1
|
|
8994
9055
|
}
|
|
8995
9056
|
}
|
|
8996
9057
|
};
|
|
@@ -9124,7 +9185,7 @@
|
|
|
9124
9185
|
datasetXY,
|
|
9125
9186
|
colorAdapter(color_color, linearColor),
|
|
9126
9187
|
label_label,
|
|
9127
|
-
colorAdapter(discreteLegend,
|
|
9188
|
+
colorAdapter(discreteLegend, heatmapColorLegend),
|
|
9128
9189
|
colorCellStyleFill(cellStyle),
|
|
9129
9190
|
tooltipHeatmap,
|
|
9130
9191
|
annotationPoint_annotationPoint,
|
|
@@ -9570,6 +9631,20 @@
|
|
|
9570
9631
|
annotationVerticalLine: getDarkAnnotationVerticalLine(),
|
|
9571
9632
|
annotationArea: getDarkAnnotationArea()
|
|
9572
9633
|
});
|
|
9634
|
+
const getLightFunnelTransformTheme = ()=>({
|
|
9635
|
+
backgroundColor: '#F6F7F9',
|
|
9636
|
+
textColor: '#737880'
|
|
9637
|
+
});
|
|
9638
|
+
const getDarkFunnelTransformTheme = ()=>({
|
|
9639
|
+
backgroundColor: '#2A2D33',
|
|
9640
|
+
textColor: '#888C93'
|
|
9641
|
+
});
|
|
9642
|
+
const getLightHeatmapCellTheme = ()=>({
|
|
9643
|
+
stroke: '#fff'
|
|
9644
|
+
});
|
|
9645
|
+
const getDarkHeatmapCellTheme = ()=>({
|
|
9646
|
+
stroke: '#404349'
|
|
9647
|
+
});
|
|
9573
9648
|
const lightTheme = ()=>{
|
|
9574
9649
|
const linearAxis = getLightLinearAxis();
|
|
9575
9650
|
const bandAxis = getLightBandAxis();
|
|
@@ -9805,6 +9880,7 @@
|
|
|
9805
9880
|
},
|
|
9806
9881
|
funnel: {
|
|
9807
9882
|
...baseConfig,
|
|
9883
|
+
transform: getLightFunnelTransformTheme(),
|
|
9808
9884
|
pivotGrid: getLightPivotChartGridConfig()
|
|
9809
9885
|
},
|
|
9810
9886
|
heatmap: {
|
|
@@ -9813,6 +9889,7 @@
|
|
|
9813
9889
|
...baseConfig.label,
|
|
9814
9890
|
labelColorSmartInvert: true
|
|
9815
9891
|
},
|
|
9892
|
+
cell: getLightHeatmapCellTheme(),
|
|
9816
9893
|
pivotGrid: getLightPivotChartGridConfig()
|
|
9817
9894
|
}
|
|
9818
9895
|
}
|
|
@@ -10047,6 +10124,7 @@
|
|
|
10047
10124
|
},
|
|
10048
10125
|
funnel: {
|
|
10049
10126
|
...baseConfig,
|
|
10127
|
+
transform: getDarkFunnelTransformTheme(),
|
|
10050
10128
|
pivotGrid: getDarkPivotChartGridConfig()
|
|
10051
10129
|
},
|
|
10052
10130
|
heatmap: {
|
|
@@ -10055,6 +10133,7 @@
|
|
|
10055
10133
|
...baseConfig.label,
|
|
10056
10134
|
labelColorSmartInvert: true
|
|
10057
10135
|
},
|
|
10136
|
+
cell: getDarkHeatmapCellTheme(),
|
|
10058
10137
|
pivotGrid: getDarkPivotChartGridConfig()
|
|
10059
10138
|
}
|
|
10060
10139
|
}
|
|
@@ -13644,6 +13723,23 @@
|
|
|
13644
13723
|
label: 'label',
|
|
13645
13724
|
tooltip: 'tooltip'
|
|
13646
13725
|
};
|
|
13726
|
+
const zBackgroundColor = schemas_string().default('transparent').nullish();
|
|
13727
|
+
const zTableConfig = schemas_object({
|
|
13728
|
+
backgroundColor: zBackgroundColor.nullish(),
|
|
13729
|
+
borderColor: schemas_string().nullish(),
|
|
13730
|
+
bodyFontSize: schemas_number().nullish(),
|
|
13731
|
+
bodyFontColor: schemas_string().nullish(),
|
|
13732
|
+
bodyBackgroundColor: schemas_string().nullish(),
|
|
13733
|
+
hoverBodyBackgroundColor: schemas_string().nullish(),
|
|
13734
|
+
hoverBodyInlineBackgroundColor: schemas_string().nullish(),
|
|
13735
|
+
headerFontSize: schemas_number().nullish(),
|
|
13736
|
+
headerFontColor: schemas_string().nullish(),
|
|
13737
|
+
headerBackgroundColor: schemas_string().nullish(),
|
|
13738
|
+
hoverHeaderBackgroundColor: schemas_string().nullish(),
|
|
13739
|
+
hoverHeaderInlineBackgroundColor: schemas_string().nullish(),
|
|
13740
|
+
selectedBorderColor: schemas_string().nullish(),
|
|
13741
|
+
selectedBackgroundColor: schemas_string().nullish()
|
|
13742
|
+
});
|
|
13647
13743
|
const zXBandAxis = schemas_object({
|
|
13648
13744
|
visible: schemas_boolean().default(true).nullish(),
|
|
13649
13745
|
labelAutoHide: schemas_boolean().default(true).nullish(),
|
|
@@ -13747,13 +13843,6 @@
|
|
|
13747
13843
|
labelVisible: schemas_boolean().nullish(),
|
|
13748
13844
|
labelBackgroundColor: schemas_string().nullish()
|
|
13749
13845
|
});
|
|
13750
|
-
const zStackCornerRadius = schemas_number().or(schemas_array(schemas_number())).default([
|
|
13751
|
-
3,
|
|
13752
|
-
3,
|
|
13753
|
-
0,
|
|
13754
|
-
0
|
|
13755
|
-
]);
|
|
13756
|
-
const zBackgroundColor = schemas_string().default('transparent').nullish();
|
|
13757
13846
|
const zColor = schemas_object({
|
|
13758
13847
|
colorScheme: schemas_array(schemas_string()).nullish(),
|
|
13759
13848
|
linearColorScheme: schemas_array(schemas_string()).nullish(),
|
|
@@ -13778,13 +13867,6 @@
|
|
|
13778
13867
|
labelPosition: schemas_string().nullish(),
|
|
13779
13868
|
labelOverlap: schemas_boolean().nullish()
|
|
13780
13869
|
});
|
|
13781
|
-
const zPieLabel = zLabel.extend({
|
|
13782
|
-
labelLayout: union([
|
|
13783
|
-
literal('arc'),
|
|
13784
|
-
literal('labelLine'),
|
|
13785
|
-
literal('edge')
|
|
13786
|
-
]).nullish()
|
|
13787
|
-
});
|
|
13788
13870
|
const zLegend = schemas_object({
|
|
13789
13871
|
enable: schemas_boolean().default(true).nullish(),
|
|
13790
13872
|
border: schemas_boolean().default(true).nullish(),
|
|
@@ -14088,29 +14170,12 @@
|
|
|
14088
14170
|
areaLineDash: true,
|
|
14089
14171
|
outerPadding: true
|
|
14090
14172
|
}).partial();
|
|
14091
|
-
const
|
|
14173
|
+
const zAnnotationConfig = schemas_object({
|
|
14092
14174
|
annotationPoint: zAnnotationPointConfig.nullish(),
|
|
14093
14175
|
annotationHorizontalLine: zAnnotationHorizontalLineConfig.nullish(),
|
|
14094
14176
|
annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),
|
|
14095
14177
|
annotationArea: zAnnotationAreaConfig.nullish()
|
|
14096
14178
|
});
|
|
14097
|
-
const zTableConfig = schemas_object({
|
|
14098
|
-
backgroundColor: zBackgroundColor.nullish(),
|
|
14099
|
-
borderColor: schemas_string().nullish(),
|
|
14100
|
-
bodyFontSize: schemas_number().nullish(),
|
|
14101
|
-
bodyFontColor: schemas_string().nullish(),
|
|
14102
|
-
bodyBackgroundColor: schemas_string().nullish(),
|
|
14103
|
-
hoverBodyBackgroundColor: schemas_string().nullish(),
|
|
14104
|
-
hoverBodyInlineBackgroundColor: schemas_string().nullish(),
|
|
14105
|
-
headerFontSize: schemas_number().nullish(),
|
|
14106
|
-
headerFontColor: schemas_string().nullish(),
|
|
14107
|
-
headerBackgroundColor: schemas_string().nullish(),
|
|
14108
|
-
hoverHeaderBackgroundColor: schemas_string().nullish(),
|
|
14109
|
-
hoverHeaderInlineBackgroundColor: schemas_string().nullish(),
|
|
14110
|
-
selectedBorderColor: schemas_string().nullish(),
|
|
14111
|
-
selectedBackgroundColor: schemas_string().nullish()
|
|
14112
|
-
});
|
|
14113
|
-
const zPivotTableConfig = zTableConfig;
|
|
14114
14179
|
const zPivotChartGridConfig = schemas_object({
|
|
14115
14180
|
borderColor: schemas_string().nullish(),
|
|
14116
14181
|
bodyFontColor: schemas_string().nullish(),
|
|
@@ -14129,8 +14194,14 @@
|
|
|
14129
14194
|
yAxis: zYLinearAxis.nullish(),
|
|
14130
14195
|
crosshairLine: zCrosshairLine.nullish(),
|
|
14131
14196
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14132
|
-
annotation:
|
|
14197
|
+
annotation: zAnnotationConfig.nullish()
|
|
14133
14198
|
});
|
|
14199
|
+
const zStackCornerRadius = schemas_number().or(schemas_array(schemas_number())).default([
|
|
14200
|
+
3,
|
|
14201
|
+
3,
|
|
14202
|
+
0,
|
|
14203
|
+
0
|
|
14204
|
+
]);
|
|
14134
14205
|
const zColumnConfig = schemas_object({
|
|
14135
14206
|
backgroundColor: zBackgroundColor.nullish(),
|
|
14136
14207
|
label: zLabel.nullish(),
|
|
@@ -14142,7 +14213,7 @@
|
|
|
14142
14213
|
crosshairRect: zCrosshairRect.nullish(),
|
|
14143
14214
|
stackCornerRadius: zStackCornerRadius.nullish(),
|
|
14144
14215
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14145
|
-
annotation:
|
|
14216
|
+
annotation: zAnnotationConfig.nullish()
|
|
14146
14217
|
});
|
|
14147
14218
|
const zColumnParallelConfig = zColumnConfig;
|
|
14148
14219
|
const zColumnPercentConfig = zColumnConfig;
|
|
@@ -14157,7 +14228,7 @@
|
|
|
14157
14228
|
crosshairRect: zCrosshairRect.nullish(),
|
|
14158
14229
|
stackCornerRadius: zStackCornerRadius.nullish(),
|
|
14159
14230
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14160
|
-
annotation:
|
|
14231
|
+
annotation: zAnnotationConfig.nullish()
|
|
14161
14232
|
});
|
|
14162
14233
|
const zBarParallelConfig = zBarConfig;
|
|
14163
14234
|
const zBarPercentConfig = zBarConfig;
|
|
@@ -14171,9 +14242,23 @@
|
|
|
14171
14242
|
yAxis: zYLinearAxis.nullish(),
|
|
14172
14243
|
crosshairLine: zCrosshairLine.nullish(),
|
|
14173
14244
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14174
|
-
annotation:
|
|
14245
|
+
annotation: zAnnotationConfig.nullish()
|
|
14175
14246
|
});
|
|
14176
14247
|
const zAreaPercentConfig = zAreaConfig;
|
|
14248
|
+
const zScatterConfig = schemas_object({
|
|
14249
|
+
backgroundColor: zBackgroundColor.nullish(),
|
|
14250
|
+
label: zLabel.nullish(),
|
|
14251
|
+
color: zColor.nullish(),
|
|
14252
|
+
tooltip: zTooltip.nullish(),
|
|
14253
|
+
legend: zLegend.nullish(),
|
|
14254
|
+
xAxis: zXLinearAxis.nullish(),
|
|
14255
|
+
yAxis: zYLinearAxis.nullish(),
|
|
14256
|
+
crosshairLine: zCrosshairLine.nullish(),
|
|
14257
|
+
size: schemas_number().or(schemas_array(schemas_number())).nullish(),
|
|
14258
|
+
sizeRange: schemas_number().or(schemas_array(schemas_number())).nullish(),
|
|
14259
|
+
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14260
|
+
annotation: zAnnotationConfig.nullish()
|
|
14261
|
+
});
|
|
14177
14262
|
const zDualAxisConfig = schemas_object({
|
|
14178
14263
|
backgroundColor: zBackgroundColor.nullish(),
|
|
14179
14264
|
label: zLabel.nullish(),
|
|
@@ -14187,22 +14272,26 @@
|
|
|
14187
14272
|
xAxis: zXBandAxis.nullish(),
|
|
14188
14273
|
crosshairRect: zCrosshairRect.nullish(),
|
|
14189
14274
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14190
|
-
annotation:
|
|
14275
|
+
annotation: zAnnotationConfig.nullish()
|
|
14191
14276
|
});
|
|
14192
|
-
const
|
|
14277
|
+
const zPieLabel = zLabel.extend({
|
|
14278
|
+
labelLayout: union([
|
|
14279
|
+
literal('arc'),
|
|
14280
|
+
literal('labelLine'),
|
|
14281
|
+
literal('edge')
|
|
14282
|
+
]).nullish()
|
|
14283
|
+
});
|
|
14284
|
+
const zPieConfig = schemas_object({
|
|
14193
14285
|
backgroundColor: zBackgroundColor.nullish(),
|
|
14194
|
-
label:
|
|
14286
|
+
label: zPieLabel.nullish(),
|
|
14195
14287
|
color: zColor.nullish(),
|
|
14196
14288
|
tooltip: zTooltip.nullish(),
|
|
14197
14289
|
legend: zLegend.nullish(),
|
|
14198
|
-
xAxis: zXLinearAxis.nullish(),
|
|
14199
|
-
yAxis: zYLinearAxis.nullish(),
|
|
14200
|
-
crosshairLine: zCrosshairLine.nullish(),
|
|
14201
|
-
size: schemas_number().or(schemas_array(schemas_number())).nullish(),
|
|
14202
|
-
sizeRange: schemas_number().or(schemas_array(schemas_number())).nullish(),
|
|
14203
14290
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14204
|
-
|
|
14291
|
+
cornerRadius: schemas_number().nullish()
|
|
14205
14292
|
});
|
|
14293
|
+
const zDonutConfig = zPieConfig;
|
|
14294
|
+
const zRadarConfig = zPieConfig;
|
|
14206
14295
|
const zRoseConfig = schemas_object({
|
|
14207
14296
|
backgroundColor: zBackgroundColor.nullish(),
|
|
14208
14297
|
label: zPieLabel.nullish(),
|
|
@@ -14212,19 +14301,34 @@
|
|
|
14212
14301
|
pivotGrid: zPivotChartGridConfig.nullish()
|
|
14213
14302
|
});
|
|
14214
14303
|
const zRoseParallelConfig = zRoseConfig;
|
|
14215
|
-
const
|
|
14304
|
+
const zFunnelTransform = schemas_object({
|
|
14305
|
+
backgroundColor: schemas_string().nullish(),
|
|
14306
|
+
textColor: schemas_string().nullish()
|
|
14307
|
+
});
|
|
14308
|
+
const zFunnelConfig = schemas_object({
|
|
14216
14309
|
backgroundColor: zBackgroundColor.nullish(),
|
|
14217
|
-
label:
|
|
14310
|
+
label: zLabel.nullish(),
|
|
14218
14311
|
color: zColor.nullish(),
|
|
14219
14312
|
tooltip: zTooltip.nullish(),
|
|
14220
14313
|
legend: zLegend.nullish(),
|
|
14221
14314
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14315
|
+
transform: zFunnelTransform.nullish()
|
|
14316
|
+
});
|
|
14317
|
+
const zHeatmapCell = schemas_object({
|
|
14318
|
+
stroke: schemas_string().nullish(),
|
|
14319
|
+
lineWidth: schemas_number().nullish(),
|
|
14222
14320
|
cornerRadius: schemas_number().nullish()
|
|
14223
14321
|
});
|
|
14224
|
-
const
|
|
14225
|
-
|
|
14226
|
-
|
|
14227
|
-
|
|
14322
|
+
const zHeatmapConfig = schemas_object({
|
|
14323
|
+
backgroundColor: zBackgroundColor.nullish(),
|
|
14324
|
+
label: zLabel.nullish(),
|
|
14325
|
+
color: zColor.nullish(),
|
|
14326
|
+
tooltip: zTooltip.nullish(),
|
|
14327
|
+
legend: zLegend.nullish(),
|
|
14328
|
+
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
14329
|
+
cell: zHeatmapCell.nullish()
|
|
14330
|
+
});
|
|
14331
|
+
const zPivotTableConfig = zTableConfig;
|
|
14228
14332
|
const zConfig = schemas_object({
|
|
14229
14333
|
table: zTableConfig.nullish(),
|
|
14230
14334
|
pivotTable: zPivotTableConfig.nullish(),
|