@visactor/vseed 0.1.29 → 0.1.30
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 +864 -0
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureName.js +4 -3
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureName.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js +6 -12
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +9 -7
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
- package/dist/esm/theme/common/table.d.ts +3 -1
- package/dist/esm/theme/common/table.js +11 -1
- package/dist/esm/theme/common/table.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +37 -19
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +37 -19
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +288 -0
- package/dist/esm/types/properties/config/config.d.ts +297 -0
- package/dist/esm/types/properties/config/config.js +25 -9
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/theme/customTheme.d.ts +288 -0
- package/dist/umd/index.js +126 -66
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
package/dist/umd/index.js
CHANGED
@@ -119,6 +119,7 @@
|
|
119
119
|
zMeasureTree: ()=>zMeasureTree,
|
120
120
|
zStackCornerRadius: ()=>zStackCornerRadius,
|
121
121
|
registerRose: ()=>registerRose,
|
122
|
+
zPivotChartGridConfig: ()=>zPivotChartGridConfig,
|
122
123
|
zRose: ()=>zRose,
|
123
124
|
registerTable: ()=>registerTable,
|
124
125
|
isMeasureGroup: ()=>isMeasureGroup,
|
@@ -1333,11 +1334,11 @@
|
|
1333
1334
|
const result = {
|
1334
1335
|
...advancedVSeed
|
1335
1336
|
};
|
1336
|
-
const
|
1337
|
+
const measures = findAllMeasures(advancedVSeed.measures);
|
1338
|
+
if (measures.length > 1 && !result.dimensions?.some((dim)=>dim.id === MeasureName)) result.dimensions?.push({
|
1337
1339
|
id: MeasureName,
|
1338
1340
|
alias: intl.i18n`指标名称`
|
1339
|
-
};
|
1340
|
-
if (!result.dimensions?.some((dim)=>dim.id === MeasureName)) result.dimensions?.push(MeaName);
|
1341
|
+
});
|
1341
1342
|
return result;
|
1342
1343
|
};
|
1343
1344
|
const encodingForPivotTable = (advancedVSeed)=>{
|
@@ -3556,22 +3557,14 @@
|
|
3556
3557
|
return selectedData.map((datum)=>({
|
3557
3558
|
zIndex: 1000,
|
3558
3559
|
regionRelative: true,
|
3559
|
-
|
3560
|
-
const targetDatum = data.find((item)=>isSubset(datum, item));
|
3561
|
-
if (targetDatum) {
|
3562
|
-
const { x, y } = context.dataToPosition(targetDatum);
|
3563
|
-
return {
|
3564
|
-
x,
|
3565
|
-
y
|
3566
|
-
};
|
3567
|
-
}
|
3568
|
-
},
|
3560
|
+
coordinate: (data)=>data.find((item)=>isSubset(datum, item)),
|
3569
3561
|
itemLine: {
|
3570
3562
|
visible: false
|
3571
3563
|
},
|
3572
3564
|
itemContent: {
|
3573
3565
|
offsetY,
|
3574
3566
|
offsetX,
|
3567
|
+
confine: true,
|
3575
3568
|
text: {
|
3576
3569
|
text: text,
|
3577
3570
|
style: {
|
@@ -3583,7 +3576,8 @@
|
|
3583
3576
|
lineWidth: 1,
|
3584
3577
|
fontSize: textFontSize,
|
3585
3578
|
fontWeight: textFontWeight,
|
3586
|
-
dy: textFontSize
|
3579
|
+
dy: textFontSize,
|
3580
|
+
dx: -10
|
3587
3581
|
},
|
3588
3582
|
labelBackground: {
|
3589
3583
|
visible: textBackgroundVisible,
|
@@ -3593,7 +3587,8 @@
|
|
3593
3587
|
fill: textBackgroundColor,
|
3594
3588
|
stroke: textBackgroundBorderColor,
|
3595
3589
|
lineWidth: textBackgroundBorderWidth,
|
3596
|
-
dy: textFontSize
|
3590
|
+
dy: textFontSize,
|
3591
|
+
dx: -10
|
3597
3592
|
}
|
3598
3593
|
}
|
3599
3594
|
}
|
@@ -3966,18 +3961,20 @@
|
|
3966
3961
|
};
|
3967
3962
|
};
|
3968
3963
|
const pivotGridStyle = (spec, context)=>{
|
3969
|
-
const { vseed } = context;
|
3964
|
+
const { vseed, advancedVSeed } = context;
|
3965
|
+
const { config, chartType } = advancedVSeed;
|
3966
|
+
const themConfig = config?.[chartType]?.pivotGrid ?? {};
|
3970
3967
|
const onlyCombination = !isPivot(vseed) && isCombination(vseed);
|
3971
3968
|
const result = {
|
3972
3969
|
...spec
|
3973
3970
|
};
|
3974
3971
|
const transparent = 'rgba(0,0,0,0)';
|
3975
|
-
const borderColor = '#e3e5eb';
|
3976
|
-
const bodyFontColor = '#141414';
|
3977
|
-
const headerFontColor = '#21252c';
|
3978
|
-
const headerBackgroundColor = 'rgba(0,0,0,0)';
|
3979
|
-
const hoverHeaderBackgroundColor = onlyCombination ? transparent : '#D9DDE4';
|
3980
|
-
const hoverHeaderInlineBackgroundColor = onlyCombination ? transparent : '#D9DDE455';
|
3972
|
+
const borderColor = themConfig.borderColor ?? '#e3e5eb';
|
3973
|
+
const bodyFontColor = themConfig.bodyFontColor ?? '#141414';
|
3974
|
+
const headerFontColor = themConfig.headerFontColor ?? '#21252c';
|
3975
|
+
const headerBackgroundColor = themConfig.headerBackgroundColor ?? 'rgba(0,0,0,0)';
|
3976
|
+
const hoverHeaderBackgroundColor = onlyCombination ? transparent : themConfig.hoverHeaderBackgroundColor ?? '#D9DDE4';
|
3977
|
+
const hoverHeaderInlineBackgroundColor = onlyCombination ? transparent : themConfig.hoverHeaderInlineBackgroundColor ?? '#D9DDE455';
|
3981
3978
|
return {
|
3982
3979
|
...result,
|
3983
3980
|
theme: {
|
@@ -4239,6 +4236,7 @@
|
|
4239
4236
|
dimensionKey: dim.id,
|
4240
4237
|
title: dim.alias || dim.id
|
4241
4238
|
}));
|
4239
|
+
console.log('Pivot Column Dimensions:', columns);
|
4242
4240
|
return {
|
4243
4241
|
...result,
|
4244
4242
|
columns: columns
|
@@ -9213,6 +9211,16 @@
|
|
9213
9211
|
selectedBorderColor: '#3073f2',
|
9214
9212
|
selectedBackgroundColor: '#4284ff33'
|
9215
9213
|
});
|
9214
|
+
const pickPivotChartGridConfig = (tableConfig)=>({
|
9215
|
+
borderColor: tableConfig.borderColor,
|
9216
|
+
bodyFontColor: tableConfig.bodyFontColor,
|
9217
|
+
headerFontColor: tableConfig.headerFontColor,
|
9218
|
+
headerBackgroundColor: tableConfig.headerBackgroundColor,
|
9219
|
+
hoverHeaderBackgroundColor: tableConfig.hoverHeaderBackgroundColor,
|
9220
|
+
hoverHeaderInlineBackgroundColor: tableConfig.hoverHeaderInlineBackgroundColor
|
9221
|
+
});
|
9222
|
+
const getLightPivotChartGridConfig = ()=>pickPivotChartGridConfig(getLightTableConfig());
|
9223
|
+
const getDarkPivotChartGridConfig = ()=>pickPivotChartGridConfig(getDarkTableConfig());
|
9216
9224
|
const getDefaultTooltip = ()=>({
|
9217
9225
|
enable: true
|
9218
9226
|
});
|
@@ -9403,7 +9411,8 @@
|
|
9403
9411
|
...baseConfig,
|
9404
9412
|
xAxis: bandAxis,
|
9405
9413
|
yAxis: linearAxis,
|
9406
|
-
crosshairLine
|
9414
|
+
crosshairLine,
|
9415
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9407
9416
|
},
|
9408
9417
|
column: {
|
9409
9418
|
...baseConfig,
|
@@ -9415,7 +9424,8 @@
|
|
9415
9424
|
4,
|
9416
9425
|
0,
|
9417
9426
|
0
|
9418
|
-
]
|
9427
|
+
],
|
9428
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9419
9429
|
},
|
9420
9430
|
columnParallel: {
|
9421
9431
|
...baseConfig,
|
@@ -9427,7 +9437,8 @@
|
|
9427
9437
|
4,
|
9428
9438
|
0,
|
9429
9439
|
0
|
9430
|
-
]
|
9440
|
+
],
|
9441
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9431
9442
|
},
|
9432
9443
|
columnPercent: {
|
9433
9444
|
...baseConfig,
|
@@ -9441,7 +9452,8 @@
|
|
9441
9452
|
4,
|
9442
9453
|
0,
|
9443
9454
|
0
|
9444
|
-
]
|
9455
|
+
],
|
9456
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9445
9457
|
},
|
9446
9458
|
bar: {
|
9447
9459
|
...baseConfig,
|
@@ -9453,7 +9465,8 @@
|
|
9453
9465
|
4,
|
9454
9466
|
4,
|
9455
9467
|
0
|
9456
|
-
]
|
9468
|
+
],
|
9469
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9457
9470
|
},
|
9458
9471
|
barParallel: {
|
9459
9472
|
...baseConfig,
|
@@ -9465,7 +9478,8 @@
|
|
9465
9478
|
4,
|
9466
9479
|
4,
|
9467
9480
|
0
|
9468
|
-
]
|
9481
|
+
],
|
9482
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9469
9483
|
},
|
9470
9484
|
barPercent: {
|
9471
9485
|
...baseConfig,
|
@@ -9479,13 +9493,15 @@
|
|
9479
9493
|
4,
|
9480
9494
|
4,
|
9481
9495
|
0
|
9482
|
-
]
|
9496
|
+
],
|
9497
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9483
9498
|
},
|
9484
9499
|
area: {
|
9485
9500
|
...baseConfig,
|
9486
9501
|
xAxis: bandAxis,
|
9487
9502
|
yAxis: linearAxis,
|
9488
|
-
crosshairLine
|
9503
|
+
crosshairLine,
|
9504
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9489
9505
|
},
|
9490
9506
|
areaPercent: {
|
9491
9507
|
...baseConfig,
|
@@ -9493,7 +9509,8 @@
|
|
9493
9509
|
yAxis: {
|
9494
9510
|
...linearAxis
|
9495
9511
|
},
|
9496
|
-
crosshairLine
|
9512
|
+
crosshairLine,
|
9513
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9497
9514
|
},
|
9498
9515
|
scatter: {
|
9499
9516
|
...baseConfig,
|
@@ -9520,7 +9537,8 @@
|
|
9520
9537
|
...baseConfig.label,
|
9521
9538
|
showValue: false,
|
9522
9539
|
showValuePercent: false
|
9523
|
-
}
|
9540
|
+
},
|
9541
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9524
9542
|
},
|
9525
9543
|
dualAxis: {
|
9526
9544
|
...baseConfig,
|
@@ -9536,7 +9554,8 @@
|
|
9536
9554
|
primary: 'column',
|
9537
9555
|
secondary: 'line'
|
9538
9556
|
},
|
9539
|
-
crosshairRect
|
9557
|
+
crosshairRect,
|
9558
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9540
9559
|
},
|
9541
9560
|
pie: {
|
9542
9561
|
...baseConfig,
|
@@ -9545,7 +9564,8 @@
|
|
9545
9564
|
showValuePercent: true,
|
9546
9565
|
labelLayout: 'labelLine',
|
9547
9566
|
showDimension: true
|
9548
|
-
}
|
9567
|
+
},
|
9568
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9549
9569
|
},
|
9550
9570
|
donut: {
|
9551
9571
|
...baseConfig,
|
@@ -9554,10 +9574,12 @@
|
|
9554
9574
|
showValuePercent: true,
|
9555
9575
|
labelLayout: 'labelLine',
|
9556
9576
|
showDimension: true
|
9557
|
-
}
|
9577
|
+
},
|
9578
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9558
9579
|
},
|
9559
9580
|
radar: {
|
9560
|
-
...baseConfig
|
9581
|
+
...baseConfig,
|
9582
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9561
9583
|
},
|
9562
9584
|
rose: {
|
9563
9585
|
...baseConfig,
|
@@ -9565,7 +9587,8 @@
|
|
9565
9587
|
...baseConfig.label,
|
9566
9588
|
showValuePercent: true,
|
9567
9589
|
showDimension: true
|
9568
|
-
}
|
9590
|
+
},
|
9591
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9569
9592
|
},
|
9570
9593
|
roseParallel: {
|
9571
9594
|
...baseConfig,
|
@@ -9573,17 +9596,20 @@
|
|
9573
9596
|
...baseConfig.label,
|
9574
9597
|
showValuePercent: true,
|
9575
9598
|
showDimension: true
|
9576
|
-
}
|
9599
|
+
},
|
9600
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9577
9601
|
},
|
9578
9602
|
funnel: {
|
9579
|
-
...baseConfig
|
9603
|
+
...baseConfig,
|
9604
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9580
9605
|
},
|
9581
9606
|
heatmap: {
|
9582
9607
|
...baseConfig,
|
9583
9608
|
label: {
|
9584
9609
|
...baseConfig.label,
|
9585
9610
|
labelColorSmartInvert: true
|
9586
|
-
}
|
9611
|
+
},
|
9612
|
+
pivotGrid: getLightPivotChartGridConfig()
|
9587
9613
|
}
|
9588
9614
|
}
|
9589
9615
|
};
|
@@ -9622,7 +9648,8 @@
|
|
9622
9648
|
...baseConfig,
|
9623
9649
|
xAxis: bandAxis,
|
9624
9650
|
yAxis: linearAxis,
|
9625
|
-
crosshairLine: crosshairLine
|
9651
|
+
crosshairLine: crosshairLine,
|
9652
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9626
9653
|
},
|
9627
9654
|
column: {
|
9628
9655
|
...baseConfig,
|
@@ -9634,7 +9661,8 @@
|
|
9634
9661
|
4,
|
9635
9662
|
0,
|
9636
9663
|
0
|
9637
|
-
]
|
9664
|
+
],
|
9665
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9638
9666
|
},
|
9639
9667
|
columnParallel: {
|
9640
9668
|
...baseConfig,
|
@@ -9646,7 +9674,8 @@
|
|
9646
9674
|
4,
|
9647
9675
|
0,
|
9648
9676
|
0
|
9649
|
-
]
|
9677
|
+
],
|
9678
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9650
9679
|
},
|
9651
9680
|
columnPercent: {
|
9652
9681
|
...baseConfig,
|
@@ -9658,7 +9687,8 @@
|
|
9658
9687
|
4,
|
9659
9688
|
0,
|
9660
9689
|
0
|
9661
|
-
]
|
9690
|
+
],
|
9691
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9662
9692
|
},
|
9663
9693
|
bar: {
|
9664
9694
|
...baseConfig,
|
@@ -9670,7 +9700,8 @@
|
|
9670
9700
|
4,
|
9671
9701
|
4,
|
9672
9702
|
0
|
9673
|
-
]
|
9703
|
+
],
|
9704
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9674
9705
|
},
|
9675
9706
|
barParallel: {
|
9676
9707
|
...baseConfig,
|
@@ -9682,7 +9713,8 @@
|
|
9682
9713
|
4,
|
9683
9714
|
4,
|
9684
9715
|
0
|
9685
|
-
]
|
9716
|
+
],
|
9717
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9686
9718
|
},
|
9687
9719
|
barPercent: {
|
9688
9720
|
...baseConfig,
|
@@ -9694,19 +9726,22 @@
|
|
9694
9726
|
4,
|
9695
9727
|
4,
|
9696
9728
|
0
|
9697
|
-
]
|
9729
|
+
],
|
9730
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9698
9731
|
},
|
9699
9732
|
area: {
|
9700
9733
|
...baseConfig,
|
9701
9734
|
xAxis: bandAxis,
|
9702
9735
|
yAxis: linearAxis,
|
9703
|
-
crosshairLine: crosshairLine
|
9736
|
+
crosshairLine: crosshairLine,
|
9737
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9704
9738
|
},
|
9705
9739
|
areaPercent: {
|
9706
9740
|
...baseConfig,
|
9707
9741
|
xAxis: bandAxis,
|
9708
9742
|
yAxis: linearAxis,
|
9709
|
-
crosshairLine: crosshairLine
|
9743
|
+
crosshairLine: crosshairLine,
|
9744
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9710
9745
|
},
|
9711
9746
|
scatter: {
|
9712
9747
|
...baseConfig,
|
@@ -9733,7 +9768,8 @@
|
|
9733
9768
|
...baseConfig.label,
|
9734
9769
|
showValue: false,
|
9735
9770
|
showValuePercent: false
|
9736
|
-
}
|
9771
|
+
},
|
9772
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9737
9773
|
},
|
9738
9774
|
dualAxis: {
|
9739
9775
|
...baseConfig,
|
@@ -9749,7 +9785,8 @@
|
|
9749
9785
|
primary: 'column',
|
9750
9786
|
secondary: 'line'
|
9751
9787
|
},
|
9752
|
-
crosshairRect
|
9788
|
+
crosshairRect,
|
9789
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9753
9790
|
},
|
9754
9791
|
pie: {
|
9755
9792
|
...baseConfig,
|
@@ -9758,7 +9795,8 @@
|
|
9758
9795
|
showValuePercent: true,
|
9759
9796
|
labelLayout: 'labelLine',
|
9760
9797
|
showDimension: true
|
9761
|
-
}
|
9798
|
+
},
|
9799
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9762
9800
|
},
|
9763
9801
|
donut: {
|
9764
9802
|
...baseConfig,
|
@@ -9767,10 +9805,12 @@
|
|
9767
9805
|
showValuePercent: true,
|
9768
9806
|
labelLayout: 'labelLine',
|
9769
9807
|
showDimension: true
|
9770
|
-
}
|
9808
|
+
},
|
9809
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9771
9810
|
},
|
9772
9811
|
radar: {
|
9773
|
-
...baseConfig
|
9812
|
+
...baseConfig,
|
9813
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9774
9814
|
},
|
9775
9815
|
rose: {
|
9776
9816
|
...baseConfig,
|
@@ -9778,7 +9818,8 @@
|
|
9778
9818
|
...baseConfig.label,
|
9779
9819
|
showValuePercent: true,
|
9780
9820
|
showDimension: true
|
9781
|
-
}
|
9821
|
+
},
|
9822
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9782
9823
|
},
|
9783
9824
|
roseParallel: {
|
9784
9825
|
...baseConfig,
|
@@ -9786,17 +9827,20 @@
|
|
9786
9827
|
...baseConfig.label,
|
9787
9828
|
showValuePercent: true,
|
9788
9829
|
showDimension: true
|
9789
|
-
}
|
9830
|
+
},
|
9831
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9790
9832
|
},
|
9791
9833
|
funnel: {
|
9792
|
-
...baseConfig
|
9834
|
+
...baseConfig,
|
9835
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9793
9836
|
},
|
9794
9837
|
heatmap: {
|
9795
9838
|
...baseConfig,
|
9796
9839
|
label: {
|
9797
9840
|
...baseConfig.label,
|
9798
9841
|
labelColorSmartInvert: true
|
9799
|
-
}
|
9842
|
+
},
|
9843
|
+
pivotGrid: getDarkPivotChartGridConfig()
|
9800
9844
|
}
|
9801
9845
|
}
|
9802
9846
|
};
|
@@ -13622,6 +13666,14 @@
|
|
13622
13666
|
selectedBackgroundColor: schemas_string().nullish()
|
13623
13667
|
});
|
13624
13668
|
const zPivotTableConfig = zTableConfig;
|
13669
|
+
const zPivotChartGridConfig = schemas_object({
|
13670
|
+
borderColor: schemas_string().nullish(),
|
13671
|
+
bodyFontColor: schemas_string().nullish(),
|
13672
|
+
headerFontColor: schemas_string().nullish(),
|
13673
|
+
headerBackgroundColor: schemas_string().nullish(),
|
13674
|
+
hoverHeaderBackgroundColor: schemas_string().nullish(),
|
13675
|
+
hoverHeaderInlineBackgroundColor: schemas_string().nullish()
|
13676
|
+
});
|
13625
13677
|
const zLineConfig = schemas_object({
|
13626
13678
|
backgroundColor: zBackgroundColor.nullish(),
|
13627
13679
|
label: zLabel.nullish(),
|
@@ -13630,7 +13682,8 @@
|
|
13630
13682
|
legend: zLegend.nullish(),
|
13631
13683
|
xAxis: zXBandAxis.nullish(),
|
13632
13684
|
yAxis: zYLinearAxis.nullish(),
|
13633
|
-
crosshairLine: zCrosshairLine.nullish()
|
13685
|
+
crosshairLine: zCrosshairLine.nullish(),
|
13686
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13634
13687
|
});
|
13635
13688
|
const zColumnConfig = schemas_object({
|
13636
13689
|
backgroundColor: zBackgroundColor.nullish(),
|
@@ -13641,7 +13694,8 @@
|
|
13641
13694
|
xAxis: zXBandAxis.nullish(),
|
13642
13695
|
yAxis: zYLinearAxis.nullish(),
|
13643
13696
|
crosshairRect: zCrosshairRect.nullish(),
|
13644
|
-
stackCornerRadius: zStackCornerRadius.nullish()
|
13697
|
+
stackCornerRadius: zStackCornerRadius.nullish(),
|
13698
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13645
13699
|
});
|
13646
13700
|
const zColumnParallelConfig = zColumnConfig;
|
13647
13701
|
const zColumnPercentConfig = zColumnConfig;
|
@@ -13654,7 +13708,8 @@
|
|
13654
13708
|
xAxis: zXLinearAxis.nullish(),
|
13655
13709
|
yAxis: zYBandAxis.nullish(),
|
13656
13710
|
crosshairRect: zCrosshairRect.nullish(),
|
13657
|
-
stackCornerRadius: zStackCornerRadius.nullish()
|
13711
|
+
stackCornerRadius: zStackCornerRadius.nullish(),
|
13712
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13658
13713
|
});
|
13659
13714
|
const zBarParallelConfig = zBarConfig;
|
13660
13715
|
const zBarPercentConfig = zBarConfig;
|
@@ -13666,7 +13721,8 @@
|
|
13666
13721
|
legend: zLegend.nullish(),
|
13667
13722
|
xAxis: zXBandAxis.nullish(),
|
13668
13723
|
yAxis: zYLinearAxis.nullish(),
|
13669
|
-
crosshairLine: zCrosshairLine.nullish()
|
13724
|
+
crosshairLine: zCrosshairLine.nullish(),
|
13725
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13670
13726
|
});
|
13671
13727
|
const zAreaPercentConfig = zAreaConfig;
|
13672
13728
|
const zDualAxisConfig = schemas_object({
|
@@ -13680,7 +13736,8 @@
|
|
13680
13736
|
primaryYAxis: schemas_array(zYLinearAxis).or(zYLinearAxis).nullish(),
|
13681
13737
|
secondaryYAxis: schemas_array(zYLinearAxis).or(zYLinearAxis).nullish(),
|
13682
13738
|
xAxis: zXBandAxis.nullish(),
|
13683
|
-
crosshairRect: zCrosshairRect.nullish()
|
13739
|
+
crosshairRect: zCrosshairRect.nullish(),
|
13740
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13684
13741
|
});
|
13685
13742
|
const zScatterConfig = schemas_object({
|
13686
13743
|
backgroundColor: zBackgroundColor.nullish(),
|
@@ -13692,14 +13749,16 @@
|
|
13692
13749
|
yAxis: zYLinearAxis.nullish(),
|
13693
13750
|
crosshairLine: zCrosshairLine.nullish(),
|
13694
13751
|
size: schemas_number().or(schemas_array(schemas_number())).nullish(),
|
13695
|
-
sizeRange: schemas_number().or(schemas_array(schemas_number())).nullish()
|
13752
|
+
sizeRange: schemas_number().or(schemas_array(schemas_number())).nullish(),
|
13753
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13696
13754
|
});
|
13697
13755
|
const zRoseConfig = schemas_object({
|
13698
13756
|
backgroundColor: zBackgroundColor.nullish(),
|
13699
13757
|
label: zPieLabel.nullish(),
|
13700
13758
|
color: zColor.nullish(),
|
13701
13759
|
tooltip: zTooltip.nullish(),
|
13702
|
-
legend: zLegend.nullish()
|
13760
|
+
legend: zLegend.nullish(),
|
13761
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13703
13762
|
});
|
13704
13763
|
const zRoseParallelConfig = zRoseConfig;
|
13705
13764
|
const zPieConfig = schemas_object({
|
@@ -13707,7 +13766,8 @@
|
|
13707
13766
|
label: zPieLabel.nullish(),
|
13708
13767
|
color: zColor.nullish(),
|
13709
13768
|
tooltip: zTooltip.nullish(),
|
13710
|
-
legend: zLegend.nullish()
|
13769
|
+
legend: zLegend.nullish(),
|
13770
|
+
pivotGrid: zPivotChartGridConfig.nullish()
|
13711
13771
|
});
|
13712
13772
|
const zDonutConfig = zPieConfig;
|
13713
13773
|
const zRadarConfig = zPieConfig;
|