@visactor/vchart-schema 0.0.1-beta.4 → 0.0.1-beta.6

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/vchart.json +628 -113
package/vchart.json CHANGED
@@ -17831,6 +17831,10 @@
17831
17831
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
17832
17832
  "description": "循环动画"
17833
17833
  },
17834
+ "animationThreshold": {
17835
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
17836
+ "type": "number"
17837
+ },
17834
17838
  "animationUpdate": {
17835
17839
  "anyOf": [
17836
17840
  {
@@ -18534,6 +18538,10 @@
18534
18538
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
18535
18539
  "description": "循环动画"
18536
18540
  },
18541
+ "animationThreshold": {
18542
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
18543
+ "type": "number"
18544
+ },
18537
18545
  "animationUpdate": {
18538
18546
  "anyOf": [
18539
18547
  {
@@ -18881,8 +18889,7 @@
18881
18889
  "type": "number"
18882
18890
  }
18883
18891
  ],
18884
- "default": 0.2,
18885
- "description": "轴分组之间间隔,数值在(0,1)之间"
18892
+ "description": "同时设置轴的 paddingInner 和 paddingOuter\n**因为有可能存在多层 scale( xField 设置成了数组,即分组场景),所以支持了数组类型,用于多层 scale 的 bandPadding 配置**"
18886
18893
  },
18887
18894
  "domain": {
18888
18895
  "description": "配置离散轴的数值范围",
@@ -18903,7 +18910,9 @@
18903
18910
  {
18904
18911
  "type": "number"
18905
18912
  }
18906
- ]
18913
+ ],
18914
+ "default": 0.1,
18915
+ "description": "band 轴的内边距\n** 因为有可能存在多层 scale( xField 设置成了数组,即分组场景),所以支持了数组类型,用于多层 scale 的 paddingInner 配置**"
18907
18916
  },
18908
18917
  "paddingOuter": {
18909
18918
  "anyOf": [
@@ -18916,7 +18925,9 @@
18916
18925
  {
18917
18926
  "type": "number"
18918
18927
  }
18919
- ]
18928
+ ],
18929
+ "default": 0.3,
18930
+ "description": "band 轴的外边距\n** 因为有可能存在多层 scale( xField 设置成了数组,即分组场景),所以支持了数组类型,用于多层 scale 的 paddingOuter 配置**"
18920
18931
  }
18921
18932
  },
18922
18933
  "type": "object"
@@ -18987,6 +18998,10 @@
18987
18998
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
18988
18999
  "description": "循环动画"
18989
19000
  },
19001
+ "animationThreshold": {
19002
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
19003
+ "type": "number"
19004
+ },
18990
19005
  "animationUpdate": {
18991
19006
  "anyOf": [
18992
19007
  {
@@ -19020,17 +19035,31 @@
19020
19035
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
19021
19036
  "description": "图元配置"
19022
19037
  },
19038
+ "barGapInGroup": {
19039
+ "$ref": "#/definitions/MaybeArray<string|number>",
19040
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19041
+ "since": "1.2.0"
19042
+ },
19023
19043
  "barMaxWidth": {
19024
- "description": "柱体最大宽度",
19025
- "type": "number"
19044
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19045
+ "type": [
19046
+ "string",
19047
+ "number"
19048
+ ]
19026
19049
  },
19027
19050
  "barMinWidth": {
19028
- "description": "柱体最小宽度",
19029
- "type": "number"
19051
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19052
+ "type": [
19053
+ "string",
19054
+ "number"
19055
+ ]
19030
19056
  },
19031
19057
  "barWidth": {
19032
- "description": "柱体宽度",
19033
- "type": "number"
19058
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19059
+ "type": [
19060
+ "string",
19061
+ "number"
19062
+ ]
19034
19063
  },
19035
19064
  "brush": {
19036
19065
  "$ref": "#/definitions/IBrushSpec",
@@ -19461,6 +19490,10 @@
19461
19490
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
19462
19491
  "description": "循环动画"
19463
19492
  },
19493
+ "animationThreshold": {
19494
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
19495
+ "type": "number"
19496
+ },
19464
19497
  "animationUpdate": {
19465
19498
  "anyOf": [
19466
19499
  {
@@ -19494,17 +19527,31 @@
19494
19527
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
19495
19528
  "description": "图元配置"
19496
19529
  },
19530
+ "barGapInGroup": {
19531
+ "$ref": "#/definitions/MaybeArray<string|number>",
19532
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19533
+ "since": "1.2.0"
19534
+ },
19497
19535
  "barMaxWidth": {
19498
- "description": "柱体最大宽度",
19499
- "type": "number"
19536
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19537
+ "type": [
19538
+ "string",
19539
+ "number"
19540
+ ]
19500
19541
  },
19501
19542
  "barMinWidth": {
19502
- "description": "柱体最小宽度",
19503
- "type": "number"
19543
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19544
+ "type": [
19545
+ "string",
19546
+ "number"
19547
+ ]
19504
19548
  },
19505
19549
  "barWidth": {
19506
- "description": "柱体宽度",
19507
- "type": "number"
19550
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19551
+ "type": [
19552
+ "string",
19553
+ "number"
19554
+ ]
19508
19555
  },
19509
19556
  "brush": {
19510
19557
  "$ref": "#/definitions/IBrushSpec",
@@ -19908,6 +19955,10 @@
19908
19955
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
19909
19956
  "description": "循环动画"
19910
19957
  },
19958
+ "animationThreshold": {
19959
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
19960
+ "type": "number"
19961
+ },
19911
19962
  "animationUpdate": {
19912
19963
  "anyOf": [
19913
19964
  {
@@ -19926,17 +19977,31 @@
19926
19977
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
19927
19978
  "description": "图元配置"
19928
19979
  },
19980
+ "barGapInGroup": {
19981
+ "$ref": "#/definitions/MaybeArray<string|number>",
19982
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19983
+ "since": "1.2.0"
19984
+ },
19929
19985
  "barMaxWidth": {
19930
- "description": "柱体最大宽度",
19931
- "type": "number"
19986
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19987
+ "type": [
19988
+ "string",
19989
+ "number"
19990
+ ]
19932
19991
  },
19933
19992
  "barMinWidth": {
19934
- "description": "柱体最小宽度",
19935
- "type": "number"
19993
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
19994
+ "type": [
19995
+ "string",
19996
+ "number"
19997
+ ]
19936
19998
  },
19937
19999
  "barWidth": {
19938
- "description": "柱体宽度",
19939
- "type": "number"
20000
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
20001
+ "type": [
20002
+ "string",
20003
+ "number"
20004
+ ]
19940
20005
  },
19941
20006
  "data": {
19942
20007
  "$ref": "#/definitions/IDataType",
@@ -20387,6 +20452,10 @@
20387
20452
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
20388
20453
  "description": "循环动画"
20389
20454
  },
20455
+ "animationThreshold": {
20456
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
20457
+ "type": "number"
20458
+ },
20390
20459
  "animationUpdate": {
20391
20460
  "anyOf": [
20392
20461
  {
@@ -21018,6 +21087,10 @@
21018
21087
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
21019
21088
  "description": "循环动画"
21020
21089
  },
21090
+ "animationThreshold": {
21091
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
21092
+ "type": "number"
21093
+ },
21021
21094
  "animationUpdate": {
21022
21095
  "anyOf": [
21023
21096
  {
@@ -21890,6 +21963,10 @@
21890
21963
  "description": "是否开启系列动画",
21891
21964
  "type": "boolean"
21892
21965
  },
21966
+ "animationThreshold": {
21967
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
21968
+ "type": "number"
21969
+ },
21893
21970
  "data": {
21894
21971
  "$ref": "#/definitions/IDataType",
21895
21972
  "description": "系列可以配置自身的数据,也可以从chart.data中获取数据"
@@ -22150,6 +22227,10 @@
22150
22227
  "$ref": "#/definitions/Partial<Record<CirclePackingMark,false|IAnimationConfig|IAnimationConfig[]>>",
22151
22228
  "description": "循环动画"
22152
22229
  },
22230
+ "animationThreshold": {
22231
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
22232
+ "type": "number"
22233
+ },
22153
22234
  "animationUpdate": {
22154
22235
  "anyOf": [
22155
22236
  {
@@ -22525,6 +22606,10 @@
22525
22606
  "$ref": "#/definitions/Partial<Record<CirclePackingMark,false|IAnimationConfig|IAnimationConfig[]>>",
22526
22607
  "description": "循环动画"
22527
22608
  },
22609
+ "animationThreshold": {
22610
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
22611
+ "type": "number"
22612
+ },
22528
22613
  "animationUpdate": {
22529
22614
  "anyOf": [
22530
22615
  {
@@ -22819,6 +22904,10 @@
22819
22904
  "$ref": "#/definitions/Partial<Record<CircularProgressMarks,false|IAnimationConfig|IAnimationConfig[]>>",
22820
22905
  "description": "循环动画"
22821
22906
  },
22907
+ "animationThreshold": {
22908
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
22909
+ "type": "number"
22910
+ },
22822
22911
  "animationUpdate": {
22823
22912
  "anyOf": [
22824
22913
  {
@@ -23280,6 +23369,10 @@
23280
23369
  "$ref": "#/definitions/Partial<Record<CircularProgressMarks,false|IAnimationConfig|IAnimationConfig[]>>",
23281
23370
  "description": "循环动画"
23282
23371
  },
23372
+ "animationThreshold": {
23373
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
23374
+ "type": "number"
23375
+ },
23283
23376
  "animationUpdate": {
23284
23377
  "anyOf": [
23285
23378
  {
@@ -23888,6 +23981,10 @@
23888
23981
  },
23889
23982
  "ICommonChartSpec": {
23890
23983
  "properties": {
23984
+ "animationThreshold": {
23985
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
23986
+ "type": "number"
23987
+ },
23891
23988
  "autoFit": {
23892
23989
  "description": "图表宽高是否自适应容器,浏览器环境下默认为 true。\n该配置的优先级高于构造函数中的 autoFit 配置。\n如果用户配置了 width,则以用户配置的 width 为准,height 同理。",
23893
23990
  "type": "boolean"
@@ -25475,12 +25572,6 @@
25475
25572
  }
25476
25573
  ]
25477
25574
  },
25478
- "IDataPos": {
25479
- "type": [
25480
- "string",
25481
- "number"
25482
- ]
25483
- },
25484
25575
  "IDataSetOptions": {
25485
25576
  "properties": {
25486
25577
  "name": {
@@ -26651,6 +26742,10 @@
26651
26742
  "description": "是否开启系列动画",
26652
26743
  "type": "boolean"
26653
26744
  },
26745
+ "animationThreshold": {
26746
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
26747
+ "type": "number"
26748
+ },
26654
26749
  "clipHeight": {
26655
26750
  "description": "dot 系列的可视高度",
26656
26751
  "type": "number"
@@ -27257,6 +27352,10 @@
27257
27352
  "$ref": "#/definitions/Partial<Record<\"funnel\",false|IAnimationConfig|IAnimationConfig[]>>",
27258
27353
  "description": "循环动画"
27259
27354
  },
27355
+ "animationThreshold": {
27356
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
27357
+ "type": "number"
27358
+ },
27260
27359
  "animationUpdate": {
27261
27360
  "anyOf": [
27262
27361
  {
@@ -27728,6 +27827,10 @@
27728
27827
  "$ref": "#/definitions/Partial<Record<\"funnel\",false|IAnimationConfig|IAnimationConfig[]>>",
27729
27828
  "description": "循环动画"
27730
27829
  },
27830
+ "animationThreshold": {
27831
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
27832
+ "type": "number"
27833
+ },
27731
27834
  "animationUpdate": {
27732
27835
  "anyOf": [
27733
27836
  {
@@ -28313,6 +28416,10 @@
28313
28416
  "$ref": "#/definitions/Partial<Record<\"funnel\",false|IAnimationConfig|IAnimationConfig[]>>",
28314
28417
  "description": "循环动画"
28315
28418
  },
28419
+ "animationThreshold": {
28420
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
28421
+ "type": "number"
28422
+ },
28316
28423
  "animationUpdate": {
28317
28424
  "anyOf": [
28318
28425
  {
@@ -28654,6 +28761,10 @@
28654
28761
  "$ref": "#/definitions/Partial<Record<GaugePointerMarks,false|IAnimationConfig|IAnimationConfig[]>>",
28655
28762
  "description": "循环动画"
28656
28763
  },
28764
+ "animationThreshold": {
28765
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
28766
+ "type": "number"
28767
+ },
28657
28768
  "animationUpdate": {
28658
28769
  "anyOf": [
28659
28770
  {
@@ -29158,6 +29269,10 @@
29158
29269
  "$ref": "#/definitions/Partial<Record<GaugePointerMarks,false|IAnimationConfig|IAnimationConfig[]>>",
29159
29270
  "description": "循环动画"
29160
29271
  },
29272
+ "animationThreshold": {
29273
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
29274
+ "type": "number"
29275
+ },
29161
29276
  "animationUpdate": {
29162
29277
  "anyOf": [
29163
29278
  {
@@ -29558,6 +29673,10 @@
29558
29673
  "$ref": "#/definitions/Partial<Record<GaugeMarks,false|IAnimationConfig|IAnimationConfig[]>>",
29559
29674
  "description": "循环动画"
29560
29675
  },
29676
+ "animationThreshold": {
29677
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
29678
+ "type": "number"
29679
+ },
29561
29680
  "animationUpdate": {
29562
29681
  "anyOf": [
29563
29682
  {
@@ -31821,6 +31940,10 @@
31821
31940
  "$ref": "#/definitions/Partial<Record<HeatmapMarks,false|IAnimationConfig|IAnimationConfig[]>>",
31822
31941
  "description": "循环动画"
31823
31942
  },
31943
+ "animationThreshold": {
31944
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
31945
+ "type": "number"
31946
+ },
31824
31947
  "animationUpdate": {
31825
31948
  "anyOf": [
31826
31949
  {
@@ -32264,6 +32387,10 @@
32264
32387
  "$ref": "#/definitions/Partial<Record<HeatmapMarks,false|IAnimationConfig|IAnimationConfig[]>>",
32265
32388
  "description": "循环动画"
32266
32389
  },
32390
+ "animationThreshold": {
32391
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
32392
+ "type": "number"
32393
+ },
32267
32394
  "animationUpdate": {
32268
32395
  "anyOf": [
32269
32396
  {
@@ -32629,6 +32756,10 @@
32629
32756
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
32630
32757
  "description": "循环动画"
32631
32758
  },
32759
+ "animationThreshold": {
32760
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
32761
+ "type": "number"
32762
+ },
32632
32763
  "animationUpdate": {
32633
32764
  "anyOf": [
32634
32765
  {
@@ -32662,17 +32793,31 @@
32662
32793
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
32663
32794
  "description": "图元配置"
32664
32795
  },
32796
+ "barGapInGroup": {
32797
+ "$ref": "#/definitions/MaybeArray<string|number>",
32798
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
32799
+ "since": "1.2.0"
32800
+ },
32665
32801
  "barMaxWidth": {
32666
- "description": "柱体最大宽度",
32667
- "type": "number"
32802
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
32803
+ "type": [
32804
+ "string",
32805
+ "number"
32806
+ ]
32668
32807
  },
32669
32808
  "barMinWidth": {
32670
- "description": "柱体最小宽度",
32671
- "type": "number"
32809
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
32810
+ "type": [
32811
+ "string",
32812
+ "number"
32813
+ ]
32672
32814
  },
32673
32815
  "barWidth": {
32674
- "description": "柱体宽度",
32675
- "type": "number"
32816
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
32817
+ "type": [
32818
+ "string",
32819
+ "number"
32820
+ ]
32676
32821
  },
32677
32822
  "brush": {
32678
32823
  "$ref": "#/definitions/IBrushSpec",
@@ -33076,6 +33221,10 @@
33076
33221
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
33077
33222
  "description": "循环动画"
33078
33223
  },
33224
+ "animationThreshold": {
33225
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
33226
+ "type": "number"
33227
+ },
33079
33228
  "animationUpdate": {
33080
33229
  "anyOf": [
33081
33230
  {
@@ -33109,17 +33258,31 @@
33109
33258
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
33110
33259
  "description": "图元配置"
33111
33260
  },
33261
+ "barGapInGroup": {
33262
+ "$ref": "#/definitions/MaybeArray<string|number>",
33263
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
33264
+ "since": "1.2.0"
33265
+ },
33112
33266
  "barMaxWidth": {
33113
- "description": "柱体最大宽度",
33114
- "type": "number"
33267
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
33268
+ "type": [
33269
+ "string",
33270
+ "number"
33271
+ ]
33115
33272
  },
33116
33273
  "barMinWidth": {
33117
- "description": "柱体最小宽度",
33118
- "type": "number"
33274
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
33275
+ "type": [
33276
+ "string",
33277
+ "number"
33278
+ ]
33119
33279
  },
33120
33280
  "barWidth": {
33121
- "description": "柱体宽度",
33122
- "type": "number"
33281
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
33282
+ "type": [
33283
+ "string",
33284
+ "number"
33285
+ ]
33123
33286
  },
33124
33287
  "brush": {
33125
33288
  "$ref": "#/definitions/IBrushSpec",
@@ -34840,6 +35003,10 @@
34840
35003
  "$ref": "#/definitions/Partial<Record<LineMarks,false|IAnimationConfig|IAnimationConfig[]>>",
34841
35004
  "description": "循环动画"
34842
35005
  },
35006
+ "animationThreshold": {
35007
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
35008
+ "type": "number"
35009
+ },
34843
35010
  "animationUpdate": {
34844
35011
  "anyOf": [
34845
35012
  {
@@ -35502,6 +35669,10 @@
35502
35669
  "$ref": "#/definitions/Partial<Record<LineMarks,false|IAnimationConfig|IAnimationConfig[]>>",
35503
35670
  "description": "循环动画"
35504
35671
  },
35672
+ "animationThreshold": {
35673
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
35674
+ "type": "number"
35675
+ },
35505
35676
  "animationUpdate": {
35506
35677
  "anyOf": [
35507
35678
  {
@@ -35884,6 +36055,10 @@
35884
36055
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
35885
36056
  "description": "循环动画"
35886
36057
  },
36058
+ "animationThreshold": {
36059
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
36060
+ "type": "number"
36061
+ },
35887
36062
  "animationUpdate": {
35888
36063
  "anyOf": [
35889
36064
  {
@@ -36285,6 +36460,10 @@
36285
36460
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
36286
36461
  "description": "循环动画"
36287
36462
  },
36463
+ "animationThreshold": {
36464
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
36465
+ "type": "number"
36466
+ },
36288
36467
  "animationUpdate": {
36289
36468
  "anyOf": [
36290
36469
  {
@@ -36500,6 +36679,10 @@
36500
36679
  "description": "是否开启系列动画",
36501
36680
  "type": "boolean"
36502
36681
  },
36682
+ "animationThreshold": {
36683
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
36684
+ "type": "number"
36685
+ },
36503
36686
  "clipHeight": {
36504
36687
  "description": "link 系列的可视高度",
36505
36688
  "type": "number"
@@ -36794,6 +36977,10 @@
36794
36977
  "$ref": "#/definitions/Partial<Record<\"area\",false|IAnimationConfig|IAnimationConfig[]>>",
36795
36978
  "description": "循环动画"
36796
36979
  },
36980
+ "animationThreshold": {
36981
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
36982
+ "type": "number"
36983
+ },
36797
36984
  "animationUpdate": {
36798
36985
  "anyOf": [
36799
36986
  {
@@ -37205,6 +37392,10 @@
37205
37392
  "$ref": "#/definitions/Partial<Record<\"area\",false|IAnimationConfig|IAnimationConfig[]>>",
37206
37393
  "description": "循环动画"
37207
37394
  },
37395
+ "animationThreshold": {
37396
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
37397
+ "type": "number"
37398
+ },
37208
37399
  "animationUpdate": {
37209
37400
  "anyOf": [
37210
37401
  {
@@ -37492,11 +37683,31 @@
37492
37683
  "type": "number"
37493
37684
  },
37494
37685
  "x": {
37495
- "$ref": "#/definitions/IDataPos",
37686
+ "anyOf": [
37687
+ {
37688
+ "typeof": "function"
37689
+ },
37690
+ {
37691
+ "type": [
37692
+ "string",
37693
+ "number"
37694
+ ]
37695
+ }
37696
+ ],
37496
37697
  "description": "x轴上的参考线。可以配置参考线在x轴上的值,或者聚合计算类型"
37497
37698
  },
37498
37699
  "x1": {
37499
- "$ref": "#/definitions/IDataPos"
37700
+ "anyOf": [
37701
+ {
37702
+ "typeof": "function"
37703
+ },
37704
+ {
37705
+ "type": [
37706
+ "string",
37707
+ "number"
37708
+ ]
37709
+ }
37710
+ ]
37500
37711
  }
37501
37712
  },
37502
37713
  "required": [
@@ -37525,11 +37736,31 @@
37525
37736
  "type": "number"
37526
37737
  },
37527
37738
  "y": {
37528
- "$ref": "#/definitions/IDataPos",
37739
+ "anyOf": [
37740
+ {
37741
+ "typeof": "function"
37742
+ },
37743
+ {
37744
+ "type": [
37745
+ "string",
37746
+ "number"
37747
+ ]
37748
+ }
37749
+ ],
37529
37750
  "description": "y轴上的参考线。可以配置参考线在y轴上的值,或者聚合计算类型"
37530
37751
  },
37531
37752
  "y1": {
37532
- "$ref": "#/definitions/IDataPos"
37753
+ "anyOf": [
37754
+ {
37755
+ "typeof": "function"
37756
+ },
37757
+ {
37758
+ "type": [
37759
+ "string",
37760
+ "number"
37761
+ ]
37762
+ }
37763
+ ]
37533
37764
  }
37534
37765
  },
37535
37766
  "required": [
@@ -37645,8 +37876,18 @@
37645
37876
  "type": "number"
37646
37877
  },
37647
37878
  "x": {
37648
- "$ref": "#/definitions/IDataPos",
37649
- "description": "x轴上的参考线。可以配置参考线在x轴上的值,或者聚合计算类型"
37879
+ "anyOf": [
37880
+ {
37881
+ "typeof": "function"
37882
+ },
37883
+ {
37884
+ "type": [
37885
+ "string",
37886
+ "number"
37887
+ ]
37888
+ }
37889
+ ],
37890
+ "description": "x轴上的参考线。可以配置参考线在x轴上的值,或者聚合计算类型,或者以回调的形式通过数据自行计算"
37650
37891
  }
37651
37892
  },
37652
37893
  "required": [
@@ -37674,8 +37915,18 @@
37674
37915
  "type": "number"
37675
37916
  },
37676
37917
  "y": {
37677
- "$ref": "#/definitions/IDataPos",
37678
- "description": "y轴上的参考线。可以配置参考线在y轴上的值,或者聚合计算类型"
37918
+ "anyOf": [
37919
+ {
37920
+ "typeof": "function"
37921
+ },
37922
+ {
37923
+ "type": [
37924
+ "string",
37925
+ "number"
37926
+ ]
37927
+ }
37928
+ ],
37929
+ "description": "y轴上的参考线。可以配置参考线在y轴上的值,或者聚合计算类型,或者以回调的形式通过数据自行计算"
37679
37930
  }
37680
37931
  },
37681
37932
  "required": [
@@ -38955,6 +39206,10 @@
38955
39206
  "$ref": "#/definitions/Partial<Record<PieMarks,false|IAnimationConfig|IAnimationConfig[]>>",
38956
39207
  "description": "循环动画"
38957
39208
  },
39209
+ "animationThreshold": {
39210
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
39211
+ "type": "number"
39212
+ },
38958
39213
  "animationUpdate": {
38959
39214
  "anyOf": [
38960
39215
  {
@@ -39416,6 +39671,10 @@
39416
39671
  "$ref": "#/definitions/Partial<Record<PieMarks,false|IAnimationConfig|IAnimationConfig[]>>",
39417
39672
  "description": "循环动画"
39418
39673
  },
39674
+ "animationThreshold": {
39675
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
39676
+ "type": "number"
39677
+ },
39419
39678
  "animationUpdate": {
39420
39679
  "anyOf": [
39421
39680
  {
@@ -39840,6 +40099,10 @@
39840
40099
  "$ref": "#/definitions/Partial<Record<PieMarks,false|IAnimationConfig|IAnimationConfig[]>>",
39841
40100
  "description": "循环动画"
39842
40101
  },
40102
+ "animationThreshold": {
40103
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
40104
+ "type": "number"
40105
+ },
39843
40106
  "animationUpdate": {
39844
40107
  "anyOf": [
39845
40108
  {
@@ -41542,6 +41805,10 @@
41542
41805
  "$ref": "#/definitions/Partial<Record<RadarMarks,false|IAnimationConfig|IAnimationConfig[]>>",
41543
41806
  "description": "循环动画"
41544
41807
  },
41808
+ "animationThreshold": {
41809
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
41810
+ "type": "number"
41811
+ },
41545
41812
  "animationUpdate": {
41546
41813
  "anyOf": [
41547
41814
  {
@@ -42005,6 +42272,10 @@
42005
42272
  "$ref": "#/definitions/Partial<Record<RadarMarks,false|IAnimationConfig|IAnimationConfig[]>>",
42006
42273
  "description": "循环动画"
42007
42274
  },
42275
+ "animationThreshold": {
42276
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
42277
+ "type": "number"
42278
+ },
42008
42279
  "animationUpdate": {
42009
42280
  "anyOf": [
42010
42281
  {
@@ -42388,6 +42659,10 @@
42388
42659
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
42389
42660
  "description": "循环动画"
42390
42661
  },
42662
+ "animationThreshold": {
42663
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
42664
+ "type": "number"
42665
+ },
42391
42666
  "animationUpdate": {
42392
42667
  "anyOf": [
42393
42668
  {
@@ -42838,6 +43113,10 @@
42838
43113
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
42839
43114
  "description": "循环动画"
42840
43115
  },
43116
+ "animationThreshold": {
43117
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
43118
+ "type": "number"
43119
+ },
42841
43120
  "animationUpdate": {
42842
43121
  "anyOf": [
42843
43122
  {
@@ -43139,6 +43418,10 @@
43139
43418
  "$ref": "#/definitions/Partial<Record<\"rangeColumn\",false|IAnimationConfig|IAnimationConfig[]>>",
43140
43419
  "description": "循环动画"
43141
43420
  },
43421
+ "animationThreshold": {
43422
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
43423
+ "type": "number"
43424
+ },
43142
43425
  "animationUpdate": {
43143
43426
  "anyOf": [
43144
43427
  {
@@ -43172,17 +43455,31 @@
43172
43455
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
43173
43456
  "description": "图元配置"
43174
43457
  },
43458
+ "barGapInGroup": {
43459
+ "$ref": "#/definitions/MaybeArray<string|number>",
43460
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43461
+ "since": "1.2.0"
43462
+ },
43175
43463
  "barMaxWidth": {
43176
- "description": "柱体最大宽度",
43177
- "type": "number"
43464
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43465
+ "type": [
43466
+ "string",
43467
+ "number"
43468
+ ]
43178
43469
  },
43179
43470
  "barMinWidth": {
43180
- "description": "柱体最小宽度",
43181
- "type": "number"
43471
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43472
+ "type": [
43473
+ "string",
43474
+ "number"
43475
+ ]
43182
43476
  },
43183
43477
  "barWidth": {
43184
- "description": "柱体宽度",
43185
- "type": "number"
43478
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43479
+ "type": [
43480
+ "string",
43481
+ "number"
43482
+ ]
43186
43483
  },
43187
43484
  "brush": {
43188
43485
  "$ref": "#/definitions/IBrushSpec",
@@ -43595,6 +43892,10 @@
43595
43892
  "$ref": "#/definitions/Partial<Record<\"rangeColumn\",false|IAnimationConfig|IAnimationConfig[]>>",
43596
43893
  "description": "循环动画"
43597
43894
  },
43895
+ "animationThreshold": {
43896
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
43897
+ "type": "number"
43898
+ },
43598
43899
  "animationUpdate": {
43599
43900
  "anyOf": [
43600
43901
  {
@@ -43613,17 +43914,31 @@
43613
43914
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
43614
43915
  "description": "图元配置"
43615
43916
  },
43917
+ "barGapInGroup": {
43918
+ "$ref": "#/definitions/MaybeArray<string|number>",
43919
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43920
+ "since": "1.2.0"
43921
+ },
43616
43922
  "barMaxWidth": {
43617
- "description": "柱体最大宽度",
43618
- "type": "number"
43923
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43924
+ "type": [
43925
+ "string",
43926
+ "number"
43927
+ ]
43619
43928
  },
43620
43929
  "barMinWidth": {
43621
- "description": "柱体最小宽度",
43622
- "type": "number"
43930
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43931
+ "type": [
43932
+ "string",
43933
+ "number"
43934
+ ]
43623
43935
  },
43624
43936
  "barWidth": {
43625
- "description": "柱体宽度",
43626
- "type": "number"
43937
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
43938
+ "type": [
43939
+ "string",
43940
+ "number"
43941
+ ]
43627
43942
  },
43628
43943
  "data": {
43629
43944
  "$ref": "#/definitions/IDataType",
@@ -43901,6 +44216,10 @@
43901
44216
  "$ref": "#/definitions/Partial<Record<\"rangeColumn\",false|IAnimationConfig|IAnimationConfig[]>>",
43902
44217
  "description": "循环动画"
43903
44218
  },
44219
+ "animationThreshold": {
44220
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
44221
+ "type": "number"
44222
+ },
43904
44223
  "animationUpdate": {
43905
44224
  "anyOf": [
43906
44225
  {
@@ -43934,17 +44253,31 @@
43934
44253
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
43935
44254
  "description": "图元配置"
43936
44255
  },
44256
+ "barGapInGroup": {
44257
+ "$ref": "#/definitions/MaybeArray<string|number>",
44258
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44259
+ "since": "1.2.0"
44260
+ },
43937
44261
  "barMaxWidth": {
43938
- "description": "柱体最大宽度",
43939
- "type": "number"
44262
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44263
+ "type": [
44264
+ "string",
44265
+ "number"
44266
+ ]
43940
44267
  },
43941
44268
  "barMinWidth": {
43942
- "description": "柱体最小宽度",
43943
- "type": "number"
44269
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44270
+ "type": [
44271
+ "string",
44272
+ "number"
44273
+ ]
43944
44274
  },
43945
44275
  "barWidth": {
43946
- "description": "柱体宽度",
43947
- "type": "number"
44276
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44277
+ "type": [
44278
+ "string",
44279
+ "number"
44280
+ ]
43948
44281
  },
43949
44282
  "brush": {
43950
44283
  "$ref": "#/definitions/IBrushSpec",
@@ -44357,6 +44690,10 @@
44357
44690
  "$ref": "#/definitions/Partial<Record<\"rangeColumn\",false|IAnimationConfig|IAnimationConfig[]>>",
44358
44691
  "description": "循环动画"
44359
44692
  },
44693
+ "animationThreshold": {
44694
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
44695
+ "type": "number"
44696
+ },
44360
44697
  "animationUpdate": {
44361
44698
  "anyOf": [
44362
44699
  {
@@ -44375,17 +44712,31 @@
44375
44712
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
44376
44713
  "description": "图元配置"
44377
44714
  },
44715
+ "barGapInGroup": {
44716
+ "$ref": "#/definitions/MaybeArray<string|number>",
44717
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44718
+ "since": "1.2.0"
44719
+ },
44378
44720
  "barMaxWidth": {
44379
- "description": "柱体最大宽度",
44380
- "type": "number"
44721
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44722
+ "type": [
44723
+ "string",
44724
+ "number"
44725
+ ]
44381
44726
  },
44382
44727
  "barMinWidth": {
44383
- "description": "柱体最小宽度",
44384
- "type": "number"
44728
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44729
+ "type": [
44730
+ "string",
44731
+ "number"
44732
+ ]
44385
44733
  },
44386
44734
  "barWidth": {
44387
- "description": "柱体宽度",
44388
- "type": "number"
44735
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
44736
+ "type": [
44737
+ "string",
44738
+ "number"
44739
+ ]
44389
44740
  },
44390
44741
  "data": {
44391
44742
  "$ref": "#/definitions/IDataType",
@@ -45364,6 +45715,10 @@
45364
45715
  "$ref": "#/definitions/Partial<Record<\"rose\",false|IAnimationConfig|IAnimationConfig[]>>",
45365
45716
  "description": "循环动画"
45366
45717
  },
45718
+ "animationThreshold": {
45719
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
45720
+ "type": "number"
45721
+ },
45367
45722
  "animationUpdate": {
45368
45723
  "anyOf": [
45369
45724
  {
@@ -45794,6 +46149,10 @@
45794
46149
  "$ref": "#/definitions/Partial<Record<\"rose\",false|IAnimationConfig|IAnimationConfig[]>>",
45795
46150
  "description": "循环动画"
45796
46151
  },
46152
+ "animationThreshold": {
46153
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
46154
+ "type": "number"
46155
+ },
45797
46156
  "animationUpdate": {
45798
46157
  "anyOf": [
45799
46158
  {
@@ -46321,6 +46680,10 @@
46321
46680
  "$ref": "#/definitions/Partial<Record<SankeyMark,false|IAnimationConfig|IAnimationConfig[]>>",
46322
46681
  "description": "循环动画"
46323
46682
  },
46683
+ "animationThreshold": {
46684
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
46685
+ "type": "number"
46686
+ },
46324
46687
  "animationUpdate": {
46325
46688
  "anyOf": [
46326
46689
  {
@@ -46776,6 +47139,10 @@
46776
47139
  "$ref": "#/definitions/Partial<Record<SankeyMark,false|IAnimationConfig|IAnimationConfig[]>>",
46777
47140
  "description": "循环动画"
46778
47141
  },
47142
+ "animationThreshold": {
47143
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
47144
+ "type": "number"
47145
+ },
46779
47146
  "animationUpdate": {
46780
47147
  "anyOf": [
46781
47148
  {
@@ -47109,6 +47476,10 @@
47109
47476
  "$ref": "#/definitions/Partial<Record<ScatterMarks,false|IAnimationConfig|IAnimationConfig[]>>",
47110
47477
  "description": "循环动画"
47111
47478
  },
47479
+ "animationThreshold": {
47480
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
47481
+ "type": "number"
47482
+ },
47112
47483
  "animationUpdate": {
47113
47484
  "anyOf": [
47114
47485
  {
@@ -47589,6 +47960,10 @@
47589
47960
  "$ref": "#/definitions/Partial<Record<ScatterMarks,false|IAnimationConfig|IAnimationConfig[]>>",
47590
47961
  "description": "循环动画"
47591
47962
  },
47963
+ "animationThreshold": {
47964
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
47965
+ "type": "number"
47966
+ },
47592
47967
  "animationUpdate": {
47593
47968
  "anyOf": [
47594
47969
  {
@@ -48236,6 +48611,10 @@
48236
48611
  },
48237
48612
  "ISequenceChartSpec": {
48238
48613
  "properties": {
48614
+ "animationThreshold": {
48615
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
48616
+ "type": "number"
48617
+ },
48239
48618
  "appendPadding": {
48240
48619
  "$ref": "#/definitions/IPadding",
48241
48620
  "description": "可以为左边的title预留padding"
@@ -48484,6 +48863,10 @@
48484
48863
  "description": "是否开启系列动画",
48485
48864
  "type": "boolean"
48486
48865
  },
48866
+ "animationThreshold": {
48867
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
48868
+ "type": "number"
48869
+ },
48487
48870
  "data": {
48488
48871
  "$ref": "#/definitions/IDataType",
48489
48872
  "description": "系列可以配置自身的数据,也可以从chart.data中获取数据"
@@ -49909,6 +50292,10 @@
49909
50292
  "$ref": "#/definitions/Partial<Record<SunburstMark,false|IAnimationConfig|IAnimationConfig[]>>",
49910
50293
  "description": "循环动画"
49911
50294
  },
50295
+ "animationThreshold": {
50296
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
50297
+ "type": "number"
50298
+ },
49912
50299
  "animationUpdate": {
49913
50300
  "anyOf": [
49914
50301
  {
@@ -50361,6 +50748,10 @@
50361
50748
  "$ref": "#/definitions/Partial<Record<SunburstMark,false|IAnimationConfig|IAnimationConfig[]>>",
50362
50749
  "description": "循环动画"
50363
50750
  },
50751
+ "animationThreshold": {
50752
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
50753
+ "type": "number"
50754
+ },
50364
50755
  "animationUpdate": {
50365
50756
  "anyOf": [
50366
50757
  {
@@ -51629,7 +52020,7 @@
51629
52020
  },
51630
52021
  "ITitleTextTheme": {
51631
52022
  "properties": {
51632
- "fontColor": {
52023
+ "fill": {
51633
52024
  "anyOf": [
51634
52025
  {
51635
52026
  "$ref": "#/definitions/IColorKey"
@@ -52166,6 +52557,10 @@
52166
52557
  "$ref": "#/definitions/Partial<Record<TreemapMark,false|IAnimationConfig|IAnimationConfig[]>>",
52167
52558
  "description": "循环动画"
52168
52559
  },
52560
+ "animationThreshold": {
52561
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
52562
+ "type": "number"
52563
+ },
52169
52564
  "animationUpdate": {
52170
52565
  "anyOf": [
52171
52566
  {
@@ -52649,6 +53044,10 @@
52649
53044
  "$ref": "#/definitions/Partial<Record<TreemapMark,false|IAnimationConfig|IAnimationConfig[]>>",
52650
53045
  "description": "循环动画"
52651
53046
  },
53047
+ "animationThreshold": {
53048
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
53049
+ "type": "number"
53050
+ },
52652
53051
  "animationUpdate": {
52653
53052
  "anyOf": [
52654
53053
  {
@@ -54458,6 +54857,10 @@
54458
54857
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
54459
54858
  "description": "循环动画"
54460
54859
  },
54860
+ "animationThreshold": {
54861
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
54862
+ "type": "number"
54863
+ },
54461
54864
  "animationUpdate": {
54462
54865
  "anyOf": [
54463
54866
  {
@@ -54491,17 +54894,31 @@
54491
54894
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
54492
54895
  "description": "图元配置"
54493
54896
  },
54897
+ "barGapInGroup": {
54898
+ "$ref": "#/definitions/MaybeArray<string|number>",
54899
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
54900
+ "since": "1.2.0"
54901
+ },
54494
54902
  "barMaxWidth": {
54495
- "description": "柱体最大宽度",
54496
- "type": "number"
54903
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
54904
+ "type": [
54905
+ "string",
54906
+ "number"
54907
+ ]
54497
54908
  },
54498
54909
  "barMinWidth": {
54499
- "description": "柱体最小宽度",
54500
- "type": "number"
54910
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
54911
+ "type": [
54912
+ "string",
54913
+ "number"
54914
+ ]
54501
54915
  },
54502
54916
  "barWidth": {
54503
- "description": "柱体宽度",
54504
- "type": "number"
54917
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
54918
+ "type": [
54919
+ "string",
54920
+ "number"
54921
+ ]
54505
54922
  },
54506
54923
  "brush": {
54507
54924
  "$ref": "#/definitions/IBrushSpec",
@@ -54934,6 +55351,10 @@
54934
55351
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
54935
55352
  "description": "循环动画"
54936
55353
  },
55354
+ "animationThreshold": {
55355
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
55356
+ "type": "number"
55357
+ },
54937
55358
  "animationUpdate": {
54938
55359
  "anyOf": [
54939
55360
  {
@@ -54952,17 +55373,31 @@
54952
55373
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
54953
55374
  "description": "图元配置"
54954
55375
  },
55376
+ "barGapInGroup": {
55377
+ "$ref": "#/definitions/MaybeArray<string|number>",
55378
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
55379
+ "since": "1.2.0"
55380
+ },
54955
55381
  "barMaxWidth": {
54956
- "description": "柱体最大宽度",
54957
- "type": "number"
55382
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
55383
+ "type": [
55384
+ "string",
55385
+ "number"
55386
+ ]
54958
55387
  },
54959
55388
  "barMinWidth": {
54960
- "description": "柱体最小宽度",
54961
- "type": "number"
55389
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
55390
+ "type": [
55391
+ "string",
55392
+ "number"
55393
+ ]
54962
55394
  },
54963
55395
  "barWidth": {
54964
- "description": "柱体宽度",
54965
- "type": "number"
55396
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
55397
+ "type": [
55398
+ "string",
55399
+ "number"
55400
+ ]
54966
55401
  },
54967
55402
  "data": {
54968
55403
  "$ref": "#/definitions/IDataType",
@@ -55520,6 +55955,10 @@
55520
55955
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
55521
55956
  "description": "循环动画"
55522
55957
  },
55958
+ "animationThreshold": {
55959
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
55960
+ "type": "number"
55961
+ },
55523
55962
  "animationUpdate": {
55524
55963
  "anyOf": [
55525
55964
  {
@@ -55985,6 +56424,10 @@
55985
56424
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
55986
56425
  "description": "循环动画"
55987
56426
  },
56427
+ "animationThreshold": {
56428
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
56429
+ "type": "number"
56430
+ },
55988
56431
  "animationUpdate": {
55989
56432
  "anyOf": [
55990
56433
  {
@@ -56348,6 +56791,10 @@
56348
56791
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
56349
56792
  "description": "循环动画"
56350
56793
  },
56794
+ "animationThreshold": {
56795
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
56796
+ "type": "number"
56797
+ },
56351
56798
  "animationUpdate": {
56352
56799
  "anyOf": [
56353
56800
  {
@@ -56806,6 +57253,10 @@
56806
57253
  "$ref": "#/definitions/Partial<Record<string,false|IAnimationConfig|IAnimationConfig[]>>",
56807
57254
  "description": "循环动画"
56808
57255
  },
57256
+ "animationThreshold": {
57257
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
57258
+ "type": "number"
57259
+ },
56809
57260
  "animationUpdate": {
56810
57261
  "anyOf": [
56811
57262
  {
@@ -57231,7 +57682,7 @@
57231
57682
  },
57232
57683
  "Map<Function,(...args:any[])=>void>": {
57233
57684
  "properties": {
57234
- "__@toStringTag@11003": {
57685
+ "__@toStringTag@11020": {
57235
57686
  "type": "string"
57236
57687
  },
57237
57688
  "size": {
@@ -57239,14 +57690,14 @@
57239
57690
  }
57240
57691
  },
57241
57692
  "required": [
57242
- "__@toStringTag@11003",
57693
+ "__@toStringTag@11020",
57243
57694
  "size"
57244
57695
  ],
57245
57696
  "type": "object"
57246
57697
  },
57247
57698
  "Map<number,IGraphicPicker>": {
57248
57699
  "properties": {
57249
- "__@toStringTag@11003": {
57700
+ "__@toStringTag@11020": {
57250
57701
  "type": "string"
57251
57702
  },
57252
57703
  "size": {
@@ -57254,14 +57705,14 @@
57254
57705
  }
57255
57706
  },
57256
57707
  "required": [
57257
- "__@toStringTag@11003",
57708
+ "__@toStringTag@11020",
57258
57709
  "size"
57259
57710
  ],
57260
57711
  "type": "object"
57261
57712
  },
57262
57713
  "Map<number,IGraphicRender>": {
57263
57714
  "properties": {
57264
- "__@toStringTag@11003": {
57715
+ "__@toStringTag@11020": {
57265
57716
  "type": "string"
57266
57717
  },
57267
57718
  "size": {
@@ -57269,14 +57720,14 @@
57269
57720
  }
57270
57721
  },
57271
57722
  "required": [
57272
- "__@toStringTag@11003",
57723
+ "__@toStringTag@11020",
57273
57724
  "size"
57274
57725
  ],
57275
57726
  "type": "object"
57276
57727
  },
57277
57728
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
57278
57729
  "properties": {
57279
- "__@toStringTag@11003": {
57730
+ "__@toStringTag@11020": {
57280
57731
  "type": "string"
57281
57732
  },
57282
57733
  "size": {
@@ -57284,14 +57735,14 @@
57284
57735
  }
57285
57736
  },
57286
57737
  "required": [
57287
- "__@toStringTag@11003",
57738
+ "__@toStringTag@11020",
57288
57739
  "size"
57289
57740
  ],
57290
57741
  "type": "object"
57291
57742
  },
57292
57743
  "Map<string,Map<number,IGraphicRender>>": {
57293
57744
  "properties": {
57294
- "__@toStringTag@11003": {
57745
+ "__@toStringTag@11020": {
57295
57746
  "type": "string"
57296
57747
  },
57297
57748
  "size": {
@@ -57299,14 +57750,14 @@
57299
57750
  }
57300
57751
  },
57301
57752
  "required": [
57302
- "__@toStringTag@11003",
57753
+ "__@toStringTag@11020",
57303
57754
  "size"
57304
57755
  ],
57305
57756
  "type": "object"
57306
57757
  },
57307
57758
  "Map<string,any>": {
57308
57759
  "properties": {
57309
- "__@toStringTag@11003": {
57760
+ "__@toStringTag@11020": {
57310
57761
  "type": "string"
57311
57762
  },
57312
57763
  "size": {
@@ -57314,14 +57765,14 @@
57314
57765
  }
57315
57766
  },
57316
57767
  "required": [
57317
- "__@toStringTag@11003",
57768
+ "__@toStringTag@11020",
57318
57769
  "size"
57319
57770
  ],
57320
57771
  "type": "object"
57321
57772
  },
57322
57773
  "Map<string|HTMLCanvasElement|HTMLImageElement,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
57323
57774
  "properties": {
57324
- "__@toStringTag@11003": {
57775
+ "__@toStringTag@11020": {
57325
57776
  "type": "string"
57326
57777
  },
57327
57778
  "size": {
@@ -57329,14 +57780,14 @@
57329
57780
  }
57330
57781
  },
57331
57782
  "required": [
57332
- "__@toStringTag@11003",
57783
+ "__@toStringTag@11020",
57333
57784
  "size"
57334
57785
  ],
57335
57786
  "type": "object"
57336
57787
  },
57337
57788
  "Map<string|number,IAnimate>": {
57338
57789
  "properties": {
57339
- "__@toStringTag@11003": {
57790
+ "__@toStringTag@11020": {
57340
57791
  "type": "string"
57341
57792
  },
57342
57793
  "size": {
@@ -57344,7 +57795,7 @@
57344
57795
  }
57345
57796
  },
57346
57797
  "required": [
57347
- "__@toStringTag@11003",
57798
+ "__@toStringTag@11020",
57348
57799
  "size"
57349
57800
  ],
57350
57801
  "type": "object"
@@ -57394,6 +57845,25 @@
57394
57845
  }
57395
57846
  ]
57396
57847
  },
57848
+ "MaybeArray<string|number>": {
57849
+ "anyOf": [
57850
+ {
57851
+ "items": {
57852
+ "type": [
57853
+ "string",
57854
+ "number"
57855
+ ]
57856
+ },
57857
+ "type": "array"
57858
+ },
57859
+ {
57860
+ "type": [
57861
+ "string",
57862
+ "number"
57863
+ ]
57864
+ }
57865
+ ]
57866
+ },
57397
57867
  "MediaCapabilities": {
57398
57868
  "type": "object"
57399
57869
  },
@@ -58073,6 +58543,10 @@
58073
58543
  "$ref": "#/definitions/Partial<Record<\"bar\",false|IAnimationConfig|IAnimationConfig[]>>",
58074
58544
  "description": "循环动画"
58075
58545
  },
58546
+ "animationThreshold": {
58547
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
58548
+ "type": "number"
58549
+ },
58076
58550
  "animationUpdate": {
58077
58551
  "anyOf": [
58078
58552
  {
@@ -58091,17 +58565,31 @@
58091
58565
  "$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
58092
58566
  "description": "图元配置"
58093
58567
  },
58568
+ "barGapInGroup": {
58569
+ "$ref": "#/definitions/MaybeArray<string|number>",
58570
+ "description": "分组柱图中各个分组内的柱子间距,可以设置绝对的像素值,也可以使用百分比(如 '10%')。\n当存在多层分组时,可以使用数组来设置不同层级的间距,如 [10, '20%'],表示第一层分组的间距为 10px,第二层分组的间距为 '20%'。\n如果 barGapInGroup 的数组个数小于分组层数,则后面的分组间距使用最后一个值。\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
58571
+ "since": "1.2.0"
58572
+ },
58094
58573
  "barMaxWidth": {
58095
- "description": "柱体最大宽度",
58096
- "type": "number"
58574
+ "description": "柱体最大宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
58575
+ "type": [
58576
+ "string",
58577
+ "number"
58578
+ ]
58097
58579
  },
58098
58580
  "barMinWidth": {
58099
- "description": "柱体最小宽度",
58100
- "type": "number"
58581
+ "description": "柱体最小宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
58582
+ "type": [
58583
+ "string",
58584
+ "number"
58585
+ ]
58101
58586
  },
58102
58587
  "barWidth": {
58103
- "description": "柱体宽度",
58104
- "type": "number"
58588
+ "description": "柱体宽度,可以设置绝对的像素值,也可以使用百分比(如 '10%')\n1. number 类型,表示像素值\n2. string 类型,百分比用法,如 '10%',该值为对应最后一个分组字段对应的 scale 的 bandWidth 占比(因为柱子是等宽的,所以采用最后一层分组的 scale)",
58589
+ "type": [
58590
+ "string",
58591
+ "number"
58592
+ ]
58105
58593
  },
58106
58594
  "data": {
58107
58595
  "$ref": "#/definitions/IDataType",
@@ -58679,6 +59167,10 @@
58679
59167
  "$ref": "#/definitions/Partial<Record<CircularProgressMarks,false|IAnimationConfig|IAnimationConfig[]>>",
58680
59168
  "description": "循环动画"
58681
59169
  },
59170
+ "animationThreshold": {
59171
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
59172
+ "type": "number"
59173
+ },
58682
59174
  "animationUpdate": {
58683
59175
  "anyOf": [
58684
59176
  {
@@ -58973,6 +59465,10 @@
58973
59465
  "$ref": "#/definitions/Partial<Record<\"funnel\",false|IAnimationConfig|IAnimationConfig[]>>",
58974
59466
  "description": "循环动画"
58975
59467
  },
59468
+ "animationThreshold": {
59469
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
59470
+ "type": "number"
59471
+ },
58976
59472
  "animationUpdate": {
58977
59473
  "anyOf": [
58978
59474
  {
@@ -59281,6 +59777,10 @@
59281
59777
  "$ref": "#/definitions/Partial<Record<GaugeMarks,false|IAnimationConfig|IAnimationConfig[]>>",
59282
59778
  "description": "循环动画"
59283
59779
  },
59780
+ "animationThreshold": {
59781
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
59782
+ "type": "number"
59783
+ },
59284
59784
  "animationUpdate": {
59285
59785
  "anyOf": [
59286
59786
  {
@@ -59972,6 +60472,10 @@
59972
60472
  "$ref": "#/definitions/Partial<Record<PieMarks,false|IAnimationConfig|IAnimationConfig[]>>",
59973
60473
  "description": "循环动画"
59974
60474
  },
60475
+ "animationThreshold": {
60476
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
60477
+ "type": "number"
60478
+ },
59975
60479
  "animationUpdate": {
59976
60480
  "anyOf": [
59977
60481
  {
@@ -60533,6 +61037,10 @@
60533
61037
  },
60534
61038
  "Omit<ITheme,\"name\">": {
60535
61039
  "properties": {
61040
+ "animationThreshold": {
61041
+ "description": "自动关闭动画的阀值,对应的是单系列data的长度",
61042
+ "type": "number"
61043
+ },
60536
61044
  "background": {
60537
61045
  "anyOf": [
60538
61046
  {
@@ -66957,6 +67465,9 @@
66957
67465
  "hideTooltip": {
66958
67466
  "typeof": "function"
66959
67467
  },
67468
+ "isTooltipShown": {
67469
+ "typeof": "function"
67470
+ },
66960
67471
  "release": {
66961
67472
  "typeof": "function"
66962
67473
  },
@@ -66968,6 +67479,10 @@
66968
67479
  },
66969
67480
  "Partial<Omit<IChartSpec,\"player\">>": {
66970
67481
  "properties": {
67482
+ "animationThreshold": {
67483
+ "since": "1.2.0\n自动关闭动画的阀值,对应的是单系列data的长度",
67484
+ "type": "number"
67485
+ },
66971
67486
  "autoFit": {
66972
67487
  "description": "图表宽高是否自适应容器,浏览器环境下默认为 true。\n该配置的优先级高于构造函数中的 autoFit 配置。\n如果用户配置了 width,则以用户配置的 width 为准,height 同理。",
66973
67488
  "type": "boolean"
@@ -68721,34 +69236,34 @@
68721
69236
  },
68722
69237
  "Promise<FontFaceSet>": {
68723
69238
  "properties": {
68724
- "__@toStringTag@11003": {
69239
+ "__@toStringTag@11020": {
68725
69240
  "type": "string"
68726
69241
  }
68727
69242
  },
68728
69243
  "required": [
68729
- "__@toStringTag@11003"
69244
+ "__@toStringTag@11020"
68730
69245
  ],
68731
69246
  "type": "object"
68732
69247
  },
68733
69248
  "Promise<ServiceWorkerRegistration>": {
68734
69249
  "properties": {
68735
- "__@toStringTag@11003": {
69250
+ "__@toStringTag@11020": {
68736
69251
  "type": "string"
68737
69252
  }
68738
69253
  },
68739
69254
  "required": [
68740
- "__@toStringTag@11003"
69255
+ "__@toStringTag@11020"
68741
69256
  ],
68742
69257
  "type": "object"
68743
69258
  },
68744
69259
  "Promise<any>": {
68745
69260
  "properties": {
68746
- "__@toStringTag@11003": {
69261
+ "__@toStringTag@11020": {
68747
69262
  "type": "string"
68748
69263
  }
68749
69264
  },
68750
69265
  "required": [
68751
- "__@toStringTag@11003"
69266
+ "__@toStringTag@11020"
68752
69267
  ],
68753
69268
  "type": "object"
68754
69269
  },