@visactor/vchart-schema 1.13.7 → 1.13.8-alpha.0

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 +1 -1
  2. package/vchart.json +154 -1211
package/vchart.json CHANGED
@@ -37783,15 +37783,6 @@
37783
37783
  },
37784
37784
  "IFunnelLabelSpec": {
37785
37785
  "properties": {
37786
- "alignSelf": {
37787
- "description": "inline元素和其他同行元素的对齐方式\n顶部的inline元素,'start' - 顶部对齐;'end' - '底部对齐'; 'middle' - 居中对齐\n底部的inline元素,'start' - 底部对齐;'end' - '顶部对齐'; 'middle' - 居中对齐\n左侧的inline元素,'start' - 左侧对齐;'end' - '右侧对齐'; 'middle' - 居中对齐\n右侧的inline元素,'start' - 右侧对齐;'end' - '左侧对齐'; 'middle' - 居中对齐",
37788
- "enum": [
37789
- "end",
37790
- "middle",
37791
- "start"
37792
- ],
37793
- "type": "string"
37794
- },
37795
37786
  "animation": {
37796
37787
  "anyOf": [
37797
37788
  {
@@ -37838,18 +37829,6 @@
37838
37829
  }
37839
37830
  ]
37840
37831
  },
37841
- "bottom": {
37842
- "$ref": "#/definitions/ILayoutNumber",
37843
- "description": "模块绝对布局下,与图表底部的距离。注意仅在 layoutType === 'absolute' 时生效"
37844
- },
37845
- "center": {
37846
- "description": "模块绝对布局下,元素将放置在图表的正中间。注意仅在 layoutType === 'absolute' 时生效,同时将忽略 padding 属性",
37847
- "type": "boolean"
37848
- },
37849
- "clip": {
37850
- "description": "模块是否裁剪超出布局区域外的绘图内容",
37851
- "type": "boolean"
37852
- },
37853
37832
  "customLayoutFunc": {
37854
37833
  "typeof": "function"
37855
37834
  },
@@ -37877,13 +37856,6 @@
37877
37856
  "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
37878
37857
  "since": "1.7.0"
37879
37858
  },
37880
- "height": {
37881
- "$ref": "#/definitions/ILayoutNumber",
37882
- "description": "模块的布局大小:高度"
37883
- },
37884
- "id": {
37885
- "$ref": "#/definitions/StringOrNumber"
37886
- },
37887
37859
  "interactive": {
37888
37860
  "default": false,
37889
37861
  "description": "是否支持交互。",
@@ -37897,18 +37869,6 @@
37897
37869
  ],
37898
37870
  "type": "string"
37899
37871
  },
37900
- "layoutLevel": {
37901
- "description": "布局顺序等级,等级越大的,越优先布局\n比如顶部同时有标题和图例的场景,期望标题先放在顶部,然后放置图例。",
37902
- "type": "number"
37903
- },
37904
- "layoutType": {
37905
- "$ref": "#/definitions/ILayoutType",
37906
- "description": "当前模块的布局类型,配置为 absolute 的话,当前元素会以图表左上角为原点进行绝对布局"
37907
- },
37908
- "left": {
37909
- "$ref": "#/definitions/ILayoutNumber",
37910
- "description": "模块绝对布局下,与图表左侧的距离。注意仅在 layoutType === 'absolute' 时生效"
37911
- },
37912
37872
  "limit": {
37913
37873
  "anyOf": [
37914
37874
  {
@@ -37921,41 +37881,9 @@
37921
37881
  ],
37922
37882
  "description": "标签文字样式"
37923
37883
  },
37924
- "maxHeight": {
37925
- "$ref": "#/definitions/ILayoutNumber",
37926
- "description": "模块的布局最大高度"
37927
- },
37928
- "maxWidth": {
37929
- "$ref": "#/definitions/ILayoutNumber",
37930
- "description": "模块的布局最大宽度"
37931
- },
37932
- "minHeight": {
37933
- "$ref": "#/definitions/ILayoutNumber",
37934
- "description": "模块的布局最小高度"
37935
- },
37936
- "minWidth": {
37937
- "$ref": "#/definitions/ILayoutNumber",
37938
- "description": "模块的布局最小宽度"
37939
- },
37940
- "noOuterPadding": {
37941
- "description": "是否按照 orient 自动修改 padding,隐藏位于外侧的 padding。目前只在组件上生效",
37942
- "type": "boolean"
37943
- },
37944
- "offsetX": {
37945
- "$ref": "#/definitions/ILayoutNumber",
37946
- "description": "模块的布局位置偏移:X"
37947
- },
37948
- "offsetY": {
37949
- "$ref": "#/definitions/ILayoutNumber",
37950
- "description": "模块的布局位置偏移:Y"
37951
- },
37952
37884
  "onAfterOverlapping": {
37953
37885
  "typeof": "function"
37954
37886
  },
37955
- "orient": {
37956
- "$ref": "#/definitions/IOrientType",
37957
- "description": "模块布局位置"
37958
- },
37959
37887
  "overlap": {
37960
37888
  "anyOf": [
37961
37889
  {
@@ -37993,77 +37921,6 @@
37993
37921
  ],
37994
37922
  "description": "标签防重叠配置"
37995
37923
  },
37996
- "padding": {
37997
- "$ref": "#/definitions/ILayoutPaddingSpec",
37998
- "description": "模块的布局间距"
37999
- },
38000
- "regionId": {
38001
- "anyOf": [
38002
- {
38003
- "items": {
38004
- "$ref": "#/definitions/StringOrNumber"
38005
- },
38006
- "type": "array"
38007
- },
38008
- {
38009
- "type": [
38010
- "string",
38011
- "number"
38012
- ]
38013
- }
38014
- ],
38015
- "description": "组件关联的region id"
38016
- },
38017
- "regionIndex": {
38018
- "anyOf": [
38019
- {
38020
- "items": {
38021
- "type": "number"
38022
- },
38023
- "type": "array"
38024
- },
38025
- {
38026
- "type": "number"
38027
- }
38028
- ],
38029
- "default": 0,
38030
- "description": "组件关联的region索引"
38031
- },
38032
- "right": {
38033
- "$ref": "#/definitions/ILayoutNumber",
38034
- "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
38035
- },
38036
- "seriesId": {
38037
- "anyOf": [
38038
- {
38039
- "items": {
38040
- "$ref": "#/definitions/StringOrNumber"
38041
- },
38042
- "type": "array"
38043
- },
38044
- {
38045
- "type": [
38046
- "string",
38047
- "number"
38048
- ]
38049
- }
38050
- ],
38051
- "description": "组件关联的系列id"
38052
- },
38053
- "seriesIndex": {
38054
- "anyOf": [
38055
- {
38056
- "items": {
38057
- "type": "number"
38058
- },
38059
- "type": "array"
38060
- },
38061
- {
38062
- "type": "number"
38063
- }
38064
- ],
38065
- "description": "组件关联的系列索引"
38066
- },
38067
37924
  "showRelatedMarkTooltip": {
38068
37925
  "default": false,
38069
37926
  "description": "是否显示标签关联图元的 mark tooltip",
@@ -38116,20 +37973,12 @@
38116
37973
  "since": "1.7.0",
38117
37974
  "type": "string"
38118
37975
  },
38119
- "top": {
38120
- "$ref": "#/definitions/ILayoutNumber",
38121
- "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
38122
- },
38123
37976
  "visible": {
38124
37977
  "description": "默认不显示标签",
38125
37978
  "type": "boolean"
38126
37979
  },
38127
- "width": {
38128
- "$ref": "#/definitions/ILayoutNumber",
38129
- "description": "模块的布局大小:宽度"
38130
- },
38131
37980
  "zIndex": {
38132
- "description": "模块的展示层级,当2个模块重叠时,层级较大的展示在上方",
37981
+ "description": "标签组件的层级",
38133
37982
  "type": "number"
38134
37983
  }
38135
37984
  },
@@ -47649,15 +47498,6 @@
47649
47498
  "ILabelSpec": {
47650
47499
  "description": "系列图元标签配置,一般用于展示数据项",
47651
47500
  "properties": {
47652
- "alignSelf": {
47653
- "description": "inline元素和其他同行元素的对齐方式\n顶部的inline元素,'start' - 顶部对齐;'end' - '底部对齐'; 'middle' - 居中对齐\n底部的inline元素,'start' - 底部对齐;'end' - '顶部对齐'; 'middle' - 居中对齐\n左侧的inline元素,'start' - 左侧对齐;'end' - '右侧对齐'; 'middle' - 居中对齐\n右侧的inline元素,'start' - 右侧对齐;'end' - '左侧对齐'; 'middle' - 居中对齐",
47654
- "enum": [
47655
- "end",
47656
- "middle",
47657
- "start"
47658
- ],
47659
- "type": "string"
47660
- },
47661
47501
  "animation": {
47662
47502
  "anyOf": [
47663
47503
  {
@@ -47704,18 +47544,6 @@
47704
47544
  }
47705
47545
  ]
47706
47546
  },
47707
- "bottom": {
47708
- "$ref": "#/definitions/ILayoutNumber",
47709
- "description": "模块绝对布局下,与图表底部的距离。注意仅在 layoutType === 'absolute' 时生效"
47710
- },
47711
- "center": {
47712
- "description": "模块绝对布局下,元素将放置在图表的正中间。注意仅在 layoutType === 'absolute' 时生效,同时将忽略 padding 属性",
47713
- "type": "boolean"
47714
- },
47715
- "clip": {
47716
- "description": "模块是否裁剪超出布局区域外的绘图内容",
47717
- "type": "boolean"
47718
- },
47719
47547
  "customLayoutFunc": {
47720
47548
  "typeof": "function"
47721
47549
  },
@@ -47743,13 +47571,6 @@
47743
47571
  "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
47744
47572
  "since": "1.7.0"
47745
47573
  },
47746
- "height": {
47747
- "$ref": "#/definitions/ILayoutNumber",
47748
- "description": "模块的布局大小:高度"
47749
- },
47750
- "id": {
47751
- "$ref": "#/definitions/StringOrNumber"
47752
- },
47753
47574
  "interactive": {
47754
47575
  "default": false,
47755
47576
  "description": "是否支持交互。",
@@ -47763,57 +47584,13 @@
47763
47584
  ],
47764
47585
  "type": "string"
47765
47586
  },
47766
- "layoutLevel": {
47767
- "description": "布局顺序等级,等级越大的,越优先布局\n比如顶部同时有标题和图例的场景,期望标题先放在顶部,然后放置图例。",
47768
- "type": "number"
47769
- },
47770
- "layoutType": {
47771
- "$ref": "#/definitions/ILayoutType",
47772
- "description": "当前模块的布局类型,配置为 absolute 的话,当前元素会以图表左上角为原点进行绝对布局"
47773
- },
47774
- "left": {
47775
- "$ref": "#/definitions/ILayoutNumber",
47776
- "description": "模块绝对布局下,与图表左侧的距离。注意仅在 layoutType === 'absolute' 时生效"
47777
- },
47778
- "maxHeight": {
47779
- "$ref": "#/definitions/ILayoutNumber",
47780
- "description": "模块的布局最大高度"
47781
- },
47782
- "maxWidth": {
47783
- "$ref": "#/definitions/ILayoutNumber",
47784
- "description": "模块的布局最大宽度"
47785
- },
47786
- "minHeight": {
47787
- "$ref": "#/definitions/ILayoutNumber",
47788
- "description": "模块的布局最小高度"
47789
- },
47790
- "minWidth": {
47791
- "$ref": "#/definitions/ILayoutNumber",
47792
- "description": "模块的布局最小宽度"
47793
- },
47794
- "noOuterPadding": {
47795
- "description": "是否按照 orient 自动修改 padding,隐藏位于外侧的 padding。目前只在组件上生效",
47796
- "type": "boolean"
47797
- },
47798
47587
  "offset": {
47799
47588
  "description": "标签与其对应数据图元的间距",
47800
47589
  "type": "number"
47801
47590
  },
47802
- "offsetX": {
47803
- "$ref": "#/definitions/ILayoutNumber",
47804
- "description": "模块的布局位置偏移:X"
47805
- },
47806
- "offsetY": {
47807
- "$ref": "#/definitions/ILayoutNumber",
47808
- "description": "模块的布局位置偏移:Y"
47809
- },
47810
47591
  "onAfterOverlapping": {
47811
47592
  "typeof": "function"
47812
47593
  },
47813
- "orient": {
47814
- "$ref": "#/definitions/IOrientType",
47815
- "description": "模块布局位置"
47816
- },
47817
47594
  "overlap": {
47818
47595
  "anyOf": [
47819
47596
  {
@@ -47851,81 +47628,10 @@
47851
47628
  ],
47852
47629
  "description": "标签防重叠配置"
47853
47630
  },
47854
- "padding": {
47855
- "$ref": "#/definitions/ILayoutPaddingSpec",
47856
- "description": "模块的布局间距"
47857
- },
47858
47631
  "position": {
47859
47632
  "description": "标签位置",
47860
47633
  "type": "string"
47861
47634
  },
47862
- "regionId": {
47863
- "anyOf": [
47864
- {
47865
- "items": {
47866
- "$ref": "#/definitions/StringOrNumber"
47867
- },
47868
- "type": "array"
47869
- },
47870
- {
47871
- "type": [
47872
- "string",
47873
- "number"
47874
- ]
47875
- }
47876
- ],
47877
- "description": "组件关联的region id"
47878
- },
47879
- "regionIndex": {
47880
- "anyOf": [
47881
- {
47882
- "items": {
47883
- "type": "number"
47884
- },
47885
- "type": "array"
47886
- },
47887
- {
47888
- "type": "number"
47889
- }
47890
- ],
47891
- "default": 0,
47892
- "description": "组件关联的region索引"
47893
- },
47894
- "right": {
47895
- "$ref": "#/definitions/ILayoutNumber",
47896
- "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
47897
- },
47898
- "seriesId": {
47899
- "anyOf": [
47900
- {
47901
- "items": {
47902
- "$ref": "#/definitions/StringOrNumber"
47903
- },
47904
- "type": "array"
47905
- },
47906
- {
47907
- "type": [
47908
- "string",
47909
- "number"
47910
- ]
47911
- }
47912
- ],
47913
- "description": "组件关联的系列id"
47914
- },
47915
- "seriesIndex": {
47916
- "anyOf": [
47917
- {
47918
- "items": {
47919
- "type": "number"
47920
- },
47921
- "type": "array"
47922
- },
47923
- {
47924
- "type": "number"
47925
- }
47926
- ],
47927
- "description": "组件关联的系列索引"
47928
- },
47929
47635
  "showRelatedMarkTooltip": {
47930
47636
  "default": false,
47931
47637
  "description": "是否显示标签关联图元的 mark tooltip",
@@ -47978,20 +47684,12 @@
47978
47684
  "since": "1.7.0",
47979
47685
  "type": "string"
47980
47686
  },
47981
- "top": {
47982
- "$ref": "#/definitions/ILayoutNumber",
47983
- "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
47984
- },
47985
47687
  "visible": {
47986
47688
  "description": "默认不显示标签",
47987
47689
  "type": "boolean"
47988
47690
  },
47989
- "width": {
47990
- "$ref": "#/definitions/ILayoutNumber",
47991
- "description": "模块的布局大小:宽度"
47992
- },
47993
47691
  "zIndex": {
47994
- "description": "模块的展示层级,当2个模块重叠时,层级较大的展示在上方",
47692
+ "description": "标签组件的层级",
47995
47693
  "type": "number"
47996
47694
  }
47997
47695
  },
@@ -91574,15 +91272,6 @@
91574
91272
  },
91575
91273
  "Omit<ILabelSpec,\"position\">": {
91576
91274
  "properties": {
91577
- "alignSelf": {
91578
- "description": "inline元素和其他同行元素的对齐方式\n顶部的inline元素,'start' - 顶部对齐;'end' - '底部对齐'; 'middle' - 居中对齐\n底部的inline元素,'start' - 底部对齐;'end' - '顶部对齐'; 'middle' - 居中对齐\n左侧的inline元素,'start' - 左侧对齐;'end' - '右侧对齐'; 'middle' - 居中对齐\n右侧的inline元素,'start' - 右侧对齐;'end' - '左侧对齐'; 'middle' - 居中对齐",
91579
- "enum": [
91580
- "end",
91581
- "middle",
91582
- "start"
91583
- ],
91584
- "type": "string"
91585
- },
91586
91275
  "animation": {
91587
91276
  "anyOf": [
91588
91277
  {
@@ -91629,18 +91318,6 @@
91629
91318
  }
91630
91319
  ]
91631
91320
  },
91632
- "bottom": {
91633
- "$ref": "#/definitions/ILayoutNumber",
91634
- "description": "模块绝对布局下,与图表底部的距离。注意仅在 layoutType === 'absolute' 时生效"
91635
- },
91636
- "center": {
91637
- "description": "模块绝对布局下,元素将放置在图表的正中间。注意仅在 layoutType === 'absolute' 时生效,同时将忽略 padding 属性",
91638
- "type": "boolean"
91639
- },
91640
- "clip": {
91641
- "description": "模块是否裁剪超出布局区域外的绘图内容",
91642
- "type": "boolean"
91643
- },
91644
91321
  "customLayoutFunc": {
91645
91322
  "typeof": "function"
91646
91323
  },
@@ -91668,13 +91345,6 @@
91668
91345
  "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
91669
91346
  "since": "1.7.0"
91670
91347
  },
91671
- "height": {
91672
- "$ref": "#/definitions/ILayoutNumber",
91673
- "description": "模块的布局大小:高度"
91674
- },
91675
- "id": {
91676
- "$ref": "#/definitions/StringOrNumber"
91677
- },
91678
91348
  "interactive": {
91679
91349
  "default": false,
91680
91350
  "description": "是否支持交互。",
@@ -91688,57 +91358,13 @@
91688
91358
  ],
91689
91359
  "type": "string"
91690
91360
  },
91691
- "layoutLevel": {
91692
- "description": "布局顺序等级,等级越大的,越优先布局\n比如顶部同时有标题和图例的场景,期望标题先放在顶部,然后放置图例。",
91693
- "type": "number"
91694
- },
91695
- "layoutType": {
91696
- "$ref": "#/definitions/ILayoutType",
91697
- "description": "当前模块的布局类型,配置为 absolute 的话,当前元素会以图表左上角为原点进行绝对布局"
91698
- },
91699
- "left": {
91700
- "$ref": "#/definitions/ILayoutNumber",
91701
- "description": "模块绝对布局下,与图表左侧的距离。注意仅在 layoutType === 'absolute' 时生效"
91702
- },
91703
- "maxHeight": {
91704
- "$ref": "#/definitions/ILayoutNumber",
91705
- "description": "模块的布局最大高度"
91706
- },
91707
- "maxWidth": {
91708
- "$ref": "#/definitions/ILayoutNumber",
91709
- "description": "模块的布局最大宽度"
91710
- },
91711
- "minHeight": {
91712
- "$ref": "#/definitions/ILayoutNumber",
91713
- "description": "模块的布局最小高度"
91714
- },
91715
- "minWidth": {
91716
- "$ref": "#/definitions/ILayoutNumber",
91717
- "description": "模块的布局最小宽度"
91718
- },
91719
- "noOuterPadding": {
91720
- "description": "是否按照 orient 自动修改 padding,隐藏位于外侧的 padding。目前只在组件上生效",
91721
- "type": "boolean"
91722
- },
91723
91361
  "offset": {
91724
91362
  "description": "标签与其对应数据图元的间距",
91725
91363
  "type": "number"
91726
91364
  },
91727
- "offsetX": {
91728
- "$ref": "#/definitions/ILayoutNumber",
91729
- "description": "模块的布局位置偏移:X"
91730
- },
91731
- "offsetY": {
91732
- "$ref": "#/definitions/ILayoutNumber",
91733
- "description": "模块的布局位置偏移:Y"
91734
- },
91735
91365
  "onAfterOverlapping": {
91736
91366
  "typeof": "function"
91737
91367
  },
91738
- "orient": {
91739
- "$ref": "#/definitions/IOrientType",
91740
- "description": "模块布局位置"
91741
- },
91742
91368
  "overlap": {
91743
91369
  "anyOf": [
91744
91370
  {
@@ -91776,77 +91402,6 @@
91776
91402
  ],
91777
91403
  "description": "标签防重叠配置"
91778
91404
  },
91779
- "padding": {
91780
- "$ref": "#/definitions/ILayoutPaddingSpec",
91781
- "description": "模块的布局间距"
91782
- },
91783
- "regionId": {
91784
- "anyOf": [
91785
- {
91786
- "items": {
91787
- "$ref": "#/definitions/StringOrNumber"
91788
- },
91789
- "type": "array"
91790
- },
91791
- {
91792
- "type": [
91793
- "string",
91794
- "number"
91795
- ]
91796
- }
91797
- ],
91798
- "description": "组件关联的region id"
91799
- },
91800
- "regionIndex": {
91801
- "anyOf": [
91802
- {
91803
- "items": {
91804
- "type": "number"
91805
- },
91806
- "type": "array"
91807
- },
91808
- {
91809
- "type": "number"
91810
- }
91811
- ],
91812
- "default": 0,
91813
- "description": "组件关联的region索引"
91814
- },
91815
- "right": {
91816
- "$ref": "#/definitions/ILayoutNumber",
91817
- "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
91818
- },
91819
- "seriesId": {
91820
- "anyOf": [
91821
- {
91822
- "items": {
91823
- "$ref": "#/definitions/StringOrNumber"
91824
- },
91825
- "type": "array"
91826
- },
91827
- {
91828
- "type": [
91829
- "string",
91830
- "number"
91831
- ]
91832
- }
91833
- ],
91834
- "description": "组件关联的系列id"
91835
- },
91836
- "seriesIndex": {
91837
- "anyOf": [
91838
- {
91839
- "items": {
91840
- "type": "number"
91841
- },
91842
- "type": "array"
91843
- },
91844
- {
91845
- "type": "number"
91846
- }
91847
- ],
91848
- "description": "组件关联的系列索引"
91849
- },
91850
91405
  "showRelatedMarkTooltip": {
91851
91406
  "default": false,
91852
91407
  "description": "是否显示标签关联图元的 mark tooltip",
@@ -91899,20 +91454,12 @@
91899
91454
  "since": "1.7.0",
91900
91455
  "type": "string"
91901
91456
  },
91902
- "top": {
91903
- "$ref": "#/definitions/ILayoutNumber",
91904
- "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
91905
- },
91906
91457
  "visible": {
91907
91458
  "description": "默认不显示标签",
91908
91459
  "type": "boolean"
91909
91460
  },
91910
- "width": {
91911
- "$ref": "#/definitions/ILayoutNumber",
91912
- "description": "模块的布局大小:宽度"
91913
- },
91914
91461
  "zIndex": {
91915
- "description": "模块的展示层级,当2个模块重叠时,层级较大的展示在上方",
91462
+ "description": "标签组件的层级",
91916
91463
  "type": "number"
91917
91464
  }
91918
91465
  },
@@ -91920,15 +91467,6 @@
91920
91467
  },
91921
91468
  "Omit<ILabelSpec,\"position\"|\"overlap\">": {
91922
91469
  "properties": {
91923
- "alignSelf": {
91924
- "description": "inline元素和其他同行元素的对齐方式\n顶部的inline元素,'start' - 顶部对齐;'end' - '底部对齐'; 'middle' - 居中对齐\n底部的inline元素,'start' - 底部对齐;'end' - '顶部对齐'; 'middle' - 居中对齐\n左侧的inline元素,'start' - 左侧对齐;'end' - '右侧对齐'; 'middle' - 居中对齐\n右侧的inline元素,'start' - 右侧对齐;'end' - '左侧对齐'; 'middle' - 居中对齐",
91925
- "enum": [
91926
- "end",
91927
- "middle",
91928
- "start"
91929
- ],
91930
- "type": "string"
91931
- },
91932
91470
  "animation": {
91933
91471
  "anyOf": [
91934
91472
  {
@@ -91975,327 +91513,6 @@
91975
91513
  }
91976
91514
  ]
91977
91515
  },
91978
- "bottom": {
91979
- "$ref": "#/definitions/ILayoutNumber",
91980
- "description": "模块绝对布局下,与图表底部的距离。注意仅在 layoutType === 'absolute' 时生效"
91981
- },
91982
- "center": {
91983
- "description": "模块绝对布局下,元素将放置在图表的正中间。注意仅在 layoutType === 'absolute' 时生效,同时将忽略 padding 属性",
91984
- "type": "boolean"
91985
- },
91986
- "clip": {
91987
- "description": "模块是否裁剪超出布局区域外的绘图内容",
91988
- "type": "boolean"
91989
- },
91990
- "customLayoutFunc": {
91991
- "typeof": "function"
91992
- },
91993
- "customOverlapFunc": {
91994
- "typeof": "function"
91995
- },
91996
- "dataFilter": {
91997
- "typeof": "function"
91998
- },
91999
- "formatMethod": {
92000
- "typeof": "function"
92001
- },
92002
- "formatter": {
92003
- "anyOf": [
92004
- {
92005
- "items": {
92006
- "type": "string"
92007
- },
92008
- "type": "array"
92009
- },
92010
- {
92011
- "type": "string"
92012
- }
92013
- ],
92014
- "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
92015
- "since": "1.7.0"
92016
- },
92017
- "height": {
92018
- "$ref": "#/definitions/ILayoutNumber",
92019
- "description": "模块的布局大小:高度"
92020
- },
92021
- "id": {
92022
- "$ref": "#/definitions/StringOrNumber"
92023
- },
92024
- "interactive": {
92025
- "default": false,
92026
- "description": "是否支持交互。",
92027
- "type": "boolean"
92028
- },
92029
- "labelLayout": {
92030
- "description": "标签布局",
92031
- "enum": [
92032
- "region",
92033
- "series"
92034
- ],
92035
- "type": "string"
92036
- },
92037
- "layoutLevel": {
92038
- "description": "布局顺序等级,等级越大的,越优先布局\n比如顶部同时有标题和图例的场景,期望标题先放在顶部,然后放置图例。",
92039
- "type": "number"
92040
- },
92041
- "layoutType": {
92042
- "$ref": "#/definitions/ILayoutType",
92043
- "description": "当前模块的布局类型,配置为 absolute 的话,当前元素会以图表左上角为原点进行绝对布局"
92044
- },
92045
- "left": {
92046
- "$ref": "#/definitions/ILayoutNumber",
92047
- "description": "模块绝对布局下,与图表左侧的距离。注意仅在 layoutType === 'absolute' 时生效"
92048
- },
92049
- "maxHeight": {
92050
- "$ref": "#/definitions/ILayoutNumber",
92051
- "description": "模块的布局最大高度"
92052
- },
92053
- "maxWidth": {
92054
- "$ref": "#/definitions/ILayoutNumber",
92055
- "description": "模块的布局最大宽度"
92056
- },
92057
- "minHeight": {
92058
- "$ref": "#/definitions/ILayoutNumber",
92059
- "description": "模块的布局最小高度"
92060
- },
92061
- "minWidth": {
92062
- "$ref": "#/definitions/ILayoutNumber",
92063
- "description": "模块的布局最小宽度"
92064
- },
92065
- "noOuterPadding": {
92066
- "description": "是否按照 orient 自动修改 padding,隐藏位于外侧的 padding。目前只在组件上生效",
92067
- "type": "boolean"
92068
- },
92069
- "offset": {
92070
- "description": "标签与其对应数据图元的间距",
92071
- "type": "number"
92072
- },
92073
- "offsetX": {
92074
- "$ref": "#/definitions/ILayoutNumber",
92075
- "description": "模块的布局位置偏移:X"
92076
- },
92077
- "offsetY": {
92078
- "$ref": "#/definitions/ILayoutNumber",
92079
- "description": "模块的布局位置偏移:Y"
92080
- },
92081
- "onAfterOverlapping": {
92082
- "typeof": "function"
92083
- },
92084
- "orient": {
92085
- "$ref": "#/definitions/IOrientType",
92086
- "description": "模块布局位置"
92087
- },
92088
- "padding": {
92089
- "$ref": "#/definitions/ILayoutPaddingSpec",
92090
- "description": "模块的布局间距"
92091
- },
92092
- "regionId": {
92093
- "anyOf": [
92094
- {
92095
- "items": {
92096
- "$ref": "#/definitions/StringOrNumber"
92097
- },
92098
- "type": "array"
92099
- },
92100
- {
92101
- "type": [
92102
- "string",
92103
- "number"
92104
- ]
92105
- }
92106
- ],
92107
- "description": "组件关联的region id"
92108
- },
92109
- "regionIndex": {
92110
- "anyOf": [
92111
- {
92112
- "items": {
92113
- "type": "number"
92114
- },
92115
- "type": "array"
92116
- },
92117
- {
92118
- "type": "number"
92119
- }
92120
- ],
92121
- "default": 0,
92122
- "description": "组件关联的region索引"
92123
- },
92124
- "right": {
92125
- "$ref": "#/definitions/ILayoutNumber",
92126
- "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
92127
- },
92128
- "seriesId": {
92129
- "anyOf": [
92130
- {
92131
- "items": {
92132
- "$ref": "#/definitions/StringOrNumber"
92133
- },
92134
- "type": "array"
92135
- },
92136
- {
92137
- "type": [
92138
- "string",
92139
- "number"
92140
- ]
92141
- }
92142
- ],
92143
- "description": "组件关联的系列id"
92144
- },
92145
- "seriesIndex": {
92146
- "anyOf": [
92147
- {
92148
- "items": {
92149
- "type": "number"
92150
- },
92151
- "type": "array"
92152
- },
92153
- {
92154
- "type": "number"
92155
- }
92156
- ],
92157
- "description": "组件关联的系列索引"
92158
- },
92159
- "showRelatedMarkTooltip": {
92160
- "default": false,
92161
- "description": "是否显示标签关联图元的 mark tooltip",
92162
- "since": "1.13.5",
92163
- "type": "boolean"
92164
- },
92165
- "smartInvert": {
92166
- "anyOf": [
92167
- {
92168
- "$ref": "#/definitions/SmartInvertAttrs"
92169
- },
92170
- {
92171
- "type": "boolean"
92172
- }
92173
- ],
92174
- "description": "标签智能反色配置"
92175
- },
92176
- "stackDataFilterType": {
92177
- "description": "堆积数据过滤类型",
92178
- "enum": [
92179
- "max",
92180
- "min"
92181
- ],
92182
- "since": "1.12.0",
92183
- "type": "string"
92184
- },
92185
- "state": {
92186
- "typeof": "function"
92187
- },
92188
- "style": {
92189
- "$ref": "#/definitions/ConvertToMarkStyleSpec<IComposedTextMarkSpec>",
92190
- "description": "标签样式配置"
92191
- },
92192
- "support3d": {
92193
- "description": "是否支持3D",
92194
- "type": "boolean"
92195
- },
92196
- "syncState": {
92197
- "default": false,
92198
- "description": "是否同步数据图元的状态变化",
92199
- "since": "1.9.0",
92200
- "type": "boolean"
92201
- },
92202
- "textType": {
92203
- "description": "文本类型:text, rich,",
92204
- "enum": [
92205
- "rich",
92206
- "text"
92207
- ],
92208
- "since": "1.7.0",
92209
- "type": "string"
92210
- },
92211
- "top": {
92212
- "$ref": "#/definitions/ILayoutNumber",
92213
- "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
92214
- },
92215
- "visible": {
92216
- "description": "默认不显示标签",
92217
- "type": "boolean"
92218
- },
92219
- "width": {
92220
- "$ref": "#/definitions/ILayoutNumber",
92221
- "description": "模块的布局大小:宽度"
92222
- },
92223
- "zIndex": {
92224
- "description": "模块的展示层级,当2个模块重叠时,层级较大的展示在上方",
92225
- "type": "number"
92226
- }
92227
- },
92228
- "type": "object"
92229
- },
92230
- "Omit<ILineLikeLabelSpec,\"position\">": {
92231
- "properties": {
92232
- "alignSelf": {
92233
- "description": "inline元素和其他同行元素的对齐方式\n顶部的inline元素,'start' - 顶部对齐;'end' - '底部对齐'; 'middle' - 居中对齐\n底部的inline元素,'start' - 底部对齐;'end' - '顶部对齐'; 'middle' - 居中对齐\n左侧的inline元素,'start' - 左侧对齐;'end' - '右侧对齐'; 'middle' - 居中对齐\n右侧的inline元素,'start' - 右侧对齐;'end' - '左侧对齐'; 'middle' - 居中对齐",
92234
- "enum": [
92235
- "end",
92236
- "middle",
92237
- "start"
92238
- ],
92239
- "type": "string"
92240
- },
92241
- "animation": {
92242
- "anyOf": [
92243
- {
92244
- "$ref": "#/definitions/ILabelAnimation"
92245
- },
92246
- {
92247
- "type": "boolean"
92248
- }
92249
- ]
92250
- },
92251
- "animationEnter": {
92252
- "anyOf": [
92253
- {
92254
- "$ref": "#/definitions/ILabelUpdateAnimation"
92255
- },
92256
- {
92257
- "type": "boolean"
92258
- }
92259
- ]
92260
- },
92261
- "animationExit": {
92262
- "anyOf": [
92263
- {
92264
- "$ref": "#/definitions/ILabelExitAnimation"
92265
- },
92266
- {
92267
- "type": "boolean"
92268
- }
92269
- ]
92270
- },
92271
- "animationUpdate": {
92272
- "anyOf": [
92273
- {
92274
- "$ref": "#/definitions/ILabelUpdateAnimation"
92275
- },
92276
- {
92277
- "items": {
92278
- "$ref": "#/definitions/ILabelUpdateChannelAnimation"
92279
- },
92280
- "type": "array"
92281
- },
92282
- {
92283
- "type": "boolean"
92284
- }
92285
- ]
92286
- },
92287
- "bottom": {
92288
- "$ref": "#/definitions/ILayoutNumber",
92289
- "description": "模块绝对布局下,与图表底部的距离。注意仅在 layoutType === 'absolute' 时生效"
92290
- },
92291
- "center": {
92292
- "description": "模块绝对布局下,元素将放置在图表的正中间。注意仅在 layoutType === 'absolute' 时生效,同时将忽略 padding 属性",
92293
- "type": "boolean"
92294
- },
92295
- "clip": {
92296
- "description": "模块是否裁剪超出布局区域外的绘图内容",
92297
- "type": "boolean"
92298
- },
92299
91516
  "customLayoutFunc": {
92300
91517
  "typeof": "function"
92301
91518
  },
@@ -92323,13 +91540,6 @@
92323
91540
  "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
92324
91541
  "since": "1.7.0"
92325
91542
  },
92326
- "height": {
92327
- "$ref": "#/definitions/ILayoutNumber",
92328
- "description": "模块的布局大小:高度"
92329
- },
92330
- "id": {
92331
- "$ref": "#/definitions/StringOrNumber"
92332
- },
92333
91543
  "interactive": {
92334
91544
  "default": false,
92335
91545
  "description": "是否支持交互。",
@@ -92343,164 +91553,207 @@
92343
91553
  ],
92344
91554
  "type": "string"
92345
91555
  },
92346
- "layoutLevel": {
92347
- "description": "布局顺序等级,等级越大的,越优先布局\n比如顶部同时有标题和图例的场景,期望标题先放在顶部,然后放置图例。",
91556
+ "offset": {
91557
+ "description": "标签与其对应数据图元的间距",
92348
91558
  "type": "number"
92349
91559
  },
92350
- "layoutType": {
92351
- "$ref": "#/definitions/ILayoutType",
92352
- "description": "当前模块的布局类型,配置为 absolute 的话,当前元素会以图表左上角为原点进行绝对布局"
91560
+ "onAfterOverlapping": {
91561
+ "typeof": "function"
92353
91562
  },
92354
- "left": {
92355
- "$ref": "#/definitions/ILayoutNumber",
92356
- "description": "模块绝对布局下,与图表左侧的距离。注意仅在 layoutType === 'absolute' 时生效"
91563
+ "showRelatedMarkTooltip": {
91564
+ "default": false,
91565
+ "description": "是否显示标签关联图元的 mark tooltip",
91566
+ "since": "1.13.5",
91567
+ "type": "boolean"
92357
91568
  },
92358
- "maxHeight": {
92359
- "$ref": "#/definitions/ILayoutNumber",
92360
- "description": "模块的布局最大高度"
91569
+ "smartInvert": {
91570
+ "anyOf": [
91571
+ {
91572
+ "$ref": "#/definitions/SmartInvertAttrs"
91573
+ },
91574
+ {
91575
+ "type": "boolean"
91576
+ }
91577
+ ],
91578
+ "description": "标签智能反色配置"
92361
91579
  },
92362
- "maxWidth": {
92363
- "$ref": "#/definitions/ILayoutNumber",
92364
- "description": "模块的布局最大宽度"
91580
+ "stackDataFilterType": {
91581
+ "description": "堆积数据过滤类型",
91582
+ "enum": [
91583
+ "max",
91584
+ "min"
91585
+ ],
91586
+ "since": "1.12.0",
91587
+ "type": "string"
92365
91588
  },
92366
- "minHeight": {
92367
- "$ref": "#/definitions/ILayoutNumber",
92368
- "description": "模块的布局最小高度"
91589
+ "state": {
91590
+ "typeof": "function"
92369
91591
  },
92370
- "minWidth": {
92371
- "$ref": "#/definitions/ILayoutNumber",
92372
- "description": "模块的布局最小宽度"
91592
+ "style": {
91593
+ "$ref": "#/definitions/ConvertToMarkStyleSpec<IComposedTextMarkSpec>",
91594
+ "description": "标签样式配置"
92373
91595
  },
92374
- "noOuterPadding": {
92375
- "description": "是否按照 orient 自动修改 padding,隐藏位于外侧的 padding。目前只在组件上生效",
91596
+ "support3d": {
91597
+ "description": "是否支持3D",
92376
91598
  "type": "boolean"
92377
91599
  },
92378
- "offset": {
92379
- "description": "标签与其对应数据图元的间距",
92380
- "type": "number"
92381
- },
92382
- "offsetX": {
92383
- "$ref": "#/definitions/ILayoutNumber",
92384
- "description": "模块的布局位置偏移:X"
92385
- },
92386
- "offsetY": {
92387
- "$ref": "#/definitions/ILayoutNumber",
92388
- "description": "模块的布局位置偏移:Y"
91600
+ "syncState": {
91601
+ "default": false,
91602
+ "description": "是否同步数据图元的状态变化",
91603
+ "since": "1.9.0",
91604
+ "type": "boolean"
92389
91605
  },
92390
- "onAfterOverlapping": {
92391
- "typeof": "function"
91606
+ "textType": {
91607
+ "description": "文本类型:text, rich,",
91608
+ "enum": [
91609
+ "rich",
91610
+ "text"
91611
+ ],
91612
+ "since": "1.7.0",
91613
+ "type": "string"
92392
91614
  },
92393
- "orient": {
92394
- "$ref": "#/definitions/IOrientType",
92395
- "description": "模块布局位置"
91615
+ "visible": {
91616
+ "description": "默认不显示标签",
91617
+ "type": "boolean"
92396
91618
  },
92397
- "overlap": {
91619
+ "zIndex": {
91620
+ "description": "标签组件的层级",
91621
+ "type": "number"
91622
+ }
91623
+ },
91624
+ "type": "object"
91625
+ },
91626
+ "Omit<ILineLikeLabelSpec,\"position\">": {
91627
+ "properties": {
91628
+ "animation": {
92398
91629
  "anyOf": [
92399
91630
  {
92400
- "allOf": [
92401
- {
92402
- "const": false,
92403
- "type": "boolean"
92404
- },
92405
- {
92406
- "typeof": "function"
92407
- }
92408
- ]
91631
+ "$ref": "#/definitions/ILabelAnimation"
92409
91632
  },
92410
91633
  {
92411
- "allOf": [
92412
- {
92413
- "const": true,
92414
- "type": "boolean"
92415
- },
92416
- {
92417
- "typeof": "function"
92418
- }
92419
- ]
91634
+ "type": "boolean"
91635
+ }
91636
+ ]
91637
+ },
91638
+ "animationEnter": {
91639
+ "anyOf": [
91640
+ {
91641
+ "$ref": "#/definitions/ILabelUpdateAnimation"
92420
91642
  },
92421
91643
  {
92422
- "allOf": [
92423
- {
92424
- "$ref": "#/definitions/OverlapAttrs"
92425
- },
92426
- {
92427
- "typeof": "function"
92428
- }
92429
- ]
91644
+ "type": "boolean"
92430
91645
  }
92431
- ],
92432
- "description": "标签防重叠配置"
92433
- },
92434
- "padding": {
92435
- "$ref": "#/definitions/ILayoutPaddingSpec",
92436
- "description": "模块的布局间距"
91646
+ ]
92437
91647
  },
92438
- "regionId": {
91648
+ "animationExit": {
92439
91649
  "anyOf": [
92440
91650
  {
92441
- "items": {
92442
- "$ref": "#/definitions/StringOrNumber"
92443
- },
92444
- "type": "array"
91651
+ "$ref": "#/definitions/ILabelExitAnimation"
92445
91652
  },
92446
91653
  {
92447
- "type": [
92448
- "string",
92449
- "number"
92450
- ]
91654
+ "type": "boolean"
92451
91655
  }
92452
- ],
92453
- "description": "组件关联的region id"
91656
+ ]
92454
91657
  },
92455
- "regionIndex": {
91658
+ "animationUpdate": {
92456
91659
  "anyOf": [
91660
+ {
91661
+ "$ref": "#/definitions/ILabelUpdateAnimation"
91662
+ },
92457
91663
  {
92458
91664
  "items": {
92459
- "type": "number"
91665
+ "$ref": "#/definitions/ILabelUpdateChannelAnimation"
92460
91666
  },
92461
91667
  "type": "array"
92462
91668
  },
92463
91669
  {
92464
- "type": "number"
91670
+ "type": "boolean"
92465
91671
  }
92466
- ],
92467
- "default": 0,
92468
- "description": "组件关联的region索引"
91672
+ ]
92469
91673
  },
92470
- "right": {
92471
- "$ref": "#/definitions/ILayoutNumber",
92472
- "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
91674
+ "customLayoutFunc": {
91675
+ "typeof": "function"
92473
91676
  },
92474
- "seriesId": {
91677
+ "customOverlapFunc": {
91678
+ "typeof": "function"
91679
+ },
91680
+ "dataFilter": {
91681
+ "typeof": "function"
91682
+ },
91683
+ "formatMethod": {
91684
+ "typeof": "function"
91685
+ },
91686
+ "formatter": {
92475
91687
  "anyOf": [
92476
91688
  {
92477
91689
  "items": {
92478
- "$ref": "#/definitions/StringOrNumber"
91690
+ "type": "string"
92479
91691
  },
92480
91692
  "type": "array"
92481
91693
  },
92482
91694
  {
92483
- "type": [
92484
- "string",
92485
- "number"
92486
- ]
91695
+ "type": "string"
92487
91696
  }
92488
91697
  ],
92489
- "description": "组件关联的系列id"
91698
+ "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
91699
+ "since": "1.7.0"
92490
91700
  },
92491
- "seriesIndex": {
91701
+ "interactive": {
91702
+ "default": false,
91703
+ "description": "是否支持交互。",
91704
+ "type": "boolean"
91705
+ },
91706
+ "labelLayout": {
91707
+ "description": "标签布局",
91708
+ "enum": [
91709
+ "region",
91710
+ "series"
91711
+ ],
91712
+ "type": "string"
91713
+ },
91714
+ "offset": {
91715
+ "description": "标签与其对应数据图元的间距",
91716
+ "type": "number"
91717
+ },
91718
+ "onAfterOverlapping": {
91719
+ "typeof": "function"
91720
+ },
91721
+ "overlap": {
92492
91722
  "anyOf": [
92493
91723
  {
92494
- "items": {
92495
- "type": "number"
92496
- },
92497
- "type": "array"
91724
+ "allOf": [
91725
+ {
91726
+ "const": false,
91727
+ "type": "boolean"
91728
+ },
91729
+ {
91730
+ "typeof": "function"
91731
+ }
91732
+ ]
92498
91733
  },
92499
91734
  {
92500
- "type": "number"
91735
+ "allOf": [
91736
+ {
91737
+ "const": true,
91738
+ "type": "boolean"
91739
+ },
91740
+ {
91741
+ "typeof": "function"
91742
+ }
91743
+ ]
91744
+ },
91745
+ {
91746
+ "allOf": [
91747
+ {
91748
+ "$ref": "#/definitions/OverlapAttrs"
91749
+ },
91750
+ {
91751
+ "typeof": "function"
91752
+ }
91753
+ ]
92501
91754
  }
92502
91755
  ],
92503
- "description": "组件关联的系列索引"
91756
+ "description": "标签防重叠配置"
92504
91757
  },
92505
91758
  "showRelatedMarkTooltip": {
92506
91759
  "default": false,
@@ -92554,20 +91807,12 @@
92554
91807
  "since": "1.7.0",
92555
91808
  "type": "string"
92556
91809
  },
92557
- "top": {
92558
- "$ref": "#/definitions/ILayoutNumber",
92559
- "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
92560
- },
92561
91810
  "visible": {
92562
91811
  "description": "默认不显示标签",
92563
91812
  "type": "boolean"
92564
91813
  },
92565
- "width": {
92566
- "$ref": "#/definitions/ILayoutNumber",
92567
- "description": "模块的布局大小:宽度"
92568
- },
92569
91814
  "zIndex": {
92570
- "description": "模块的展示层级,当2个模块重叠时,层级较大的展示在上方",
91815
+ "description": "标签组件的层级",
92571
91816
  "type": "number"
92572
91817
  }
92573
91818
  },
@@ -99801,15 +99046,6 @@
99801
99046
  },
99802
99047
  "Partial<ILabelSpec>": {
99803
99048
  "properties": {
99804
- "alignSelf": {
99805
- "description": "inline元素和其他同行元素的对齐方式\n顶部的inline元素,'start' - 顶部对齐;'end' - '底部对齐'; 'middle' - 居中对齐\n底部的inline元素,'start' - 底部对齐;'end' - '顶部对齐'; 'middle' - 居中对齐\n左侧的inline元素,'start' - 左侧对齐;'end' - '右侧对齐'; 'middle' - 居中对齐\n右侧的inline元素,'start' - 右侧对齐;'end' - '左侧对齐'; 'middle' - 居中对齐",
99806
- "enum": [
99807
- "end",
99808
- "middle",
99809
- "start"
99810
- ],
99811
- "type": "string"
99812
- },
99813
99049
  "animation": {
99814
99050
  "anyOf": [
99815
99051
  {
@@ -99856,18 +99092,6 @@
99856
99092
  }
99857
99093
  ]
99858
99094
  },
99859
- "bottom": {
99860
- "$ref": "#/definitions/ILayoutNumber",
99861
- "description": "模块绝对布局下,与图表底部的距离。注意仅在 layoutType === 'absolute' 时生效"
99862
- },
99863
- "center": {
99864
- "description": "模块绝对布局下,元素将放置在图表的正中间。注意仅在 layoutType === 'absolute' 时生效,同时将忽略 padding 属性",
99865
- "type": "boolean"
99866
- },
99867
- "clip": {
99868
- "description": "模块是否裁剪超出布局区域外的绘图内容",
99869
- "type": "boolean"
99870
- },
99871
99095
  "customLayoutFunc": {
99872
99096
  "typeof": "function"
99873
99097
  },
@@ -99895,13 +99119,6 @@
99895
99119
  "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
99896
99120
  "since": "1.7.0"
99897
99121
  },
99898
- "height": {
99899
- "$ref": "#/definitions/ILayoutNumber",
99900
- "description": "模块的布局大小:高度"
99901
- },
99902
- "id": {
99903
- "$ref": "#/definitions/StringOrNumber"
99904
- },
99905
99122
  "interactive": {
99906
99123
  "default": false,
99907
99124
  "description": "是否支持交互。",
@@ -99915,57 +99132,13 @@
99915
99132
  ],
99916
99133
  "type": "string"
99917
99134
  },
99918
- "layoutLevel": {
99919
- "description": "布局顺序等级,等级越大的,越优先布局\n比如顶部同时有标题和图例的场景,期望标题先放在顶部,然后放置图例。",
99920
- "type": "number"
99921
- },
99922
- "layoutType": {
99923
- "$ref": "#/definitions/ILayoutType",
99924
- "description": "当前模块的布局类型,配置为 absolute 的话,当前元素会以图表左上角为原点进行绝对布局"
99925
- },
99926
- "left": {
99927
- "$ref": "#/definitions/ILayoutNumber",
99928
- "description": "模块绝对布局下,与图表左侧的距离。注意仅在 layoutType === 'absolute' 时生效"
99929
- },
99930
- "maxHeight": {
99931
- "$ref": "#/definitions/ILayoutNumber",
99932
- "description": "模块的布局最大高度"
99933
- },
99934
- "maxWidth": {
99935
- "$ref": "#/definitions/ILayoutNumber",
99936
- "description": "模块的布局最大宽度"
99937
- },
99938
- "minHeight": {
99939
- "$ref": "#/definitions/ILayoutNumber",
99940
- "description": "模块的布局最小高度"
99941
- },
99942
- "minWidth": {
99943
- "$ref": "#/definitions/ILayoutNumber",
99944
- "description": "模块的布局最小宽度"
99945
- },
99946
- "noOuterPadding": {
99947
- "description": "是否按照 orient 自动修改 padding,隐藏位于外侧的 padding。目前只在组件上生效",
99948
- "type": "boolean"
99949
- },
99950
99135
  "offset": {
99951
99136
  "description": "标签与其对应数据图元的间距",
99952
99137
  "type": "number"
99953
99138
  },
99954
- "offsetX": {
99955
- "$ref": "#/definitions/ILayoutNumber",
99956
- "description": "模块的布局位置偏移:X"
99957
- },
99958
- "offsetY": {
99959
- "$ref": "#/definitions/ILayoutNumber",
99960
- "description": "模块的布局位置偏移:Y"
99961
- },
99962
99139
  "onAfterOverlapping": {
99963
99140
  "typeof": "function"
99964
99141
  },
99965
- "orient": {
99966
- "$ref": "#/definitions/IOrientType",
99967
- "description": "模块布局位置"
99968
- },
99969
99142
  "overlap": {
99970
99143
  "anyOf": [
99971
99144
  {
@@ -100003,81 +99176,10 @@
100003
99176
  ],
100004
99177
  "description": "标签防重叠配置"
100005
99178
  },
100006
- "padding": {
100007
- "$ref": "#/definitions/ILayoutPaddingSpec",
100008
- "description": "模块的布局间距"
100009
- },
100010
99179
  "position": {
100011
99180
  "description": "标签位置",
100012
99181
  "type": "string"
100013
99182
  },
100014
- "regionId": {
100015
- "anyOf": [
100016
- {
100017
- "items": {
100018
- "$ref": "#/definitions/StringOrNumber"
100019
- },
100020
- "type": "array"
100021
- },
100022
- {
100023
- "type": [
100024
- "string",
100025
- "number"
100026
- ]
100027
- }
100028
- ],
100029
- "description": "组件关联的region id"
100030
- },
100031
- "regionIndex": {
100032
- "anyOf": [
100033
- {
100034
- "items": {
100035
- "type": "number"
100036
- },
100037
- "type": "array"
100038
- },
100039
- {
100040
- "type": "number"
100041
- }
100042
- ],
100043
- "default": 0,
100044
- "description": "组件关联的region索引"
100045
- },
100046
- "right": {
100047
- "$ref": "#/definitions/ILayoutNumber",
100048
- "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
100049
- },
100050
- "seriesId": {
100051
- "anyOf": [
100052
- {
100053
- "items": {
100054
- "$ref": "#/definitions/StringOrNumber"
100055
- },
100056
- "type": "array"
100057
- },
100058
- {
100059
- "type": [
100060
- "string",
100061
- "number"
100062
- ]
100063
- }
100064
- ],
100065
- "description": "组件关联的系列id"
100066
- },
100067
- "seriesIndex": {
100068
- "anyOf": [
100069
- {
100070
- "items": {
100071
- "type": "number"
100072
- },
100073
- "type": "array"
100074
- },
100075
- {
100076
- "type": "number"
100077
- }
100078
- ],
100079
- "description": "组件关联的系列索引"
100080
- },
100081
99183
  "showRelatedMarkTooltip": {
100082
99184
  "default": false,
100083
99185
  "description": "是否显示标签关联图元的 mark tooltip",
@@ -100130,20 +99232,12 @@
100130
99232
  "since": "1.7.0",
100131
99233
  "type": "string"
100132
99234
  },
100133
- "top": {
100134
- "$ref": "#/definitions/ILayoutNumber",
100135
- "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
100136
- },
100137
99235
  "visible": {
100138
99236
  "description": "默认不显示标签",
100139
99237
  "type": "boolean"
100140
99238
  },
100141
- "width": {
100142
- "$ref": "#/definitions/ILayoutNumber",
100143
- "description": "模块的布局大小:宽度"
100144
- },
100145
99239
  "zIndex": {
100146
- "description": "模块的展示层级,当2个模块重叠时,层级较大的展示在上方",
99240
+ "description": "标签组件的层级",
100147
99241
  "type": "number"
100148
99242
  }
100149
99243
  },
@@ -100691,15 +99785,6 @@
100691
99785
  },
100692
99786
  "Partial<ILineLikeLabelSpec>": {
100693
99787
  "properties": {
100694
- "alignSelf": {
100695
- "description": "inline元素和其他同行元素的对齐方式\n顶部的inline元素,'start' - 顶部对齐;'end' - '底部对齐'; 'middle' - 居中对齐\n底部的inline元素,'start' - 底部对齐;'end' - '顶部对齐'; 'middle' - 居中对齐\n左侧的inline元素,'start' - 左侧对齐;'end' - '右侧对齐'; 'middle' - 居中对齐\n右侧的inline元素,'start' - 右侧对齐;'end' - '左侧对齐'; 'middle' - 居中对齐",
100696
- "enum": [
100697
- "end",
100698
- "middle",
100699
- "start"
100700
- ],
100701
- "type": "string"
100702
- },
100703
99788
  "animation": {
100704
99789
  "anyOf": [
100705
99790
  {
@@ -100746,18 +99831,6 @@
100746
99831
  }
100747
99832
  ]
100748
99833
  },
100749
- "bottom": {
100750
- "$ref": "#/definitions/ILayoutNumber",
100751
- "description": "模块绝对布局下,与图表底部的距离。注意仅在 layoutType === 'absolute' 时生效"
100752
- },
100753
- "center": {
100754
- "description": "模块绝对布局下,元素将放置在图表的正中间。注意仅在 layoutType === 'absolute' 时生效,同时将忽略 padding 属性",
100755
- "type": "boolean"
100756
- },
100757
- "clip": {
100758
- "description": "模块是否裁剪超出布局区域外的绘图内容",
100759
- "type": "boolean"
100760
- },
100761
99834
  "customLayoutFunc": {
100762
99835
  "typeof": "function"
100763
99836
  },
@@ -100785,13 +99858,6 @@
100785
99858
  "description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\neg: 'type={type},value={value}'",
100786
99859
  "since": "1.7.0"
100787
99860
  },
100788
- "height": {
100789
- "$ref": "#/definitions/ILayoutNumber",
100790
- "description": "模块的布局大小:高度"
100791
- },
100792
- "id": {
100793
- "$ref": "#/definitions/StringOrNumber"
100794
- },
100795
99861
  "interactive": {
100796
99862
  "default": false,
100797
99863
  "description": "是否支持交互。",
@@ -100805,57 +99871,13 @@
100805
99871
  ],
100806
99872
  "type": "string"
100807
99873
  },
100808
- "layoutLevel": {
100809
- "description": "布局顺序等级,等级越大的,越优先布局\n比如顶部同时有标题和图例的场景,期望标题先放在顶部,然后放置图例。",
100810
- "type": "number"
100811
- },
100812
- "layoutType": {
100813
- "$ref": "#/definitions/ILayoutType",
100814
- "description": "当前模块的布局类型,配置为 absolute 的话,当前元素会以图表左上角为原点进行绝对布局"
100815
- },
100816
- "left": {
100817
- "$ref": "#/definitions/ILayoutNumber",
100818
- "description": "模块绝对布局下,与图表左侧的距离。注意仅在 layoutType === 'absolute' 时生效"
100819
- },
100820
- "maxHeight": {
100821
- "$ref": "#/definitions/ILayoutNumber",
100822
- "description": "模块的布局最大高度"
100823
- },
100824
- "maxWidth": {
100825
- "$ref": "#/definitions/ILayoutNumber",
100826
- "description": "模块的布局最大宽度"
100827
- },
100828
- "minHeight": {
100829
- "$ref": "#/definitions/ILayoutNumber",
100830
- "description": "模块的布局最小高度"
100831
- },
100832
- "minWidth": {
100833
- "$ref": "#/definitions/ILayoutNumber",
100834
- "description": "模块的布局最小宽度"
100835
- },
100836
- "noOuterPadding": {
100837
- "description": "是否按照 orient 自动修改 padding,隐藏位于外侧的 padding。目前只在组件上生效",
100838
- "type": "boolean"
100839
- },
100840
99874
  "offset": {
100841
99875
  "description": "标签与其对应数据图元的间距",
100842
99876
  "type": "number"
100843
99877
  },
100844
- "offsetX": {
100845
- "$ref": "#/definitions/ILayoutNumber",
100846
- "description": "模块的布局位置偏移:X"
100847
- },
100848
- "offsetY": {
100849
- "$ref": "#/definitions/ILayoutNumber",
100850
- "description": "模块的布局位置偏移:Y"
100851
- },
100852
99878
  "onAfterOverlapping": {
100853
99879
  "typeof": "function"
100854
99880
  },
100855
- "orient": {
100856
- "$ref": "#/definitions/IOrientType",
100857
- "description": "模块布局位置"
100858
- },
100859
99881
  "overlap": {
100860
99882
  "anyOf": [
100861
99883
  {
@@ -100893,82 +99915,11 @@
100893
99915
  ],
100894
99916
  "description": "标签防重叠配置"
100895
99917
  },
100896
- "padding": {
100897
- "$ref": "#/definitions/ILayoutPaddingSpec",
100898
- "description": "模块的布局间距"
100899
- },
100900
99918
  "position": {
100901
99919
  "$ref": "#/definitions/Functional<\"center\"|\"left\"|\"right\"|\"bottom\"|\"top\"|\"top-right\"|\"top-left\"|\"bottom-right\"|\"bottom-left\">",
100902
99920
  "description": "标签位置",
100903
99921
  "since": "1.6.0\n支持以函数形式配置"
100904
99922
  },
100905
- "regionId": {
100906
- "anyOf": [
100907
- {
100908
- "items": {
100909
- "$ref": "#/definitions/StringOrNumber"
100910
- },
100911
- "type": "array"
100912
- },
100913
- {
100914
- "type": [
100915
- "string",
100916
- "number"
100917
- ]
100918
- }
100919
- ],
100920
- "description": "组件关联的region id"
100921
- },
100922
- "regionIndex": {
100923
- "anyOf": [
100924
- {
100925
- "items": {
100926
- "type": "number"
100927
- },
100928
- "type": "array"
100929
- },
100930
- {
100931
- "type": "number"
100932
- }
100933
- ],
100934
- "default": 0,
100935
- "description": "组件关联的region索引"
100936
- },
100937
- "right": {
100938
- "$ref": "#/definitions/ILayoutNumber",
100939
- "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
100940
- },
100941
- "seriesId": {
100942
- "anyOf": [
100943
- {
100944
- "items": {
100945
- "$ref": "#/definitions/StringOrNumber"
100946
- },
100947
- "type": "array"
100948
- },
100949
- {
100950
- "type": [
100951
- "string",
100952
- "number"
100953
- ]
100954
- }
100955
- ],
100956
- "description": "组件关联的系列id"
100957
- },
100958
- "seriesIndex": {
100959
- "anyOf": [
100960
- {
100961
- "items": {
100962
- "type": "number"
100963
- },
100964
- "type": "array"
100965
- },
100966
- {
100967
- "type": "number"
100968
- }
100969
- ],
100970
- "description": "组件关联的系列索引"
100971
- },
100972
99923
  "showRelatedMarkTooltip": {
100973
99924
  "default": false,
100974
99925
  "description": "是否显示标签关联图元的 mark tooltip",
@@ -101021,20 +99972,12 @@
101021
99972
  "since": "1.7.0",
101022
99973
  "type": "string"
101023
99974
  },
101024
- "top": {
101025
- "$ref": "#/definitions/ILayoutNumber",
101026
- "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
101027
- },
101028
99975
  "visible": {
101029
99976
  "description": "默认不显示标签",
101030
99977
  "type": "boolean"
101031
99978
  },
101032
- "width": {
101033
- "$ref": "#/definitions/ILayoutNumber",
101034
- "description": "模块的布局大小:宽度"
101035
- },
101036
99979
  "zIndex": {
101037
- "description": "模块的展示层级,当2个模块重叠时,层级较大的展示在上方",
99980
+ "description": "标签组件的层级",
101038
99981
  "type": "number"
101039
99982
  }
101040
99983
  },