@visactor/vchart-schema 1.7.0-alpha.1 → 1.7.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.
- package/package.json +3 -3
- package/vchart.json +420 -144
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vchart-schema",
|
|
3
|
-
"version": "1.7.0
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "The VChart JSON schema file.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "vchart.json",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"jest-electron": "^0.1.12",
|
|
20
20
|
"ts-jest": "^26.0.0",
|
|
21
21
|
"@types/semver": "7.3.12",
|
|
22
|
-
"@internal/
|
|
23
|
-
"@internal/
|
|
22
|
+
"@internal/ts-config": "0.0.1",
|
|
23
|
+
"@internal/eslint-config": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"homepage": "",
|
|
26
26
|
"bugs": "https://github.com/VisActor/VChart/issues",
|
package/vchart.json
CHANGED
|
@@ -1477,9 +1477,6 @@
|
|
|
1477
1477
|
"defined": {
|
|
1478
1478
|
"$ref": "#/definitions/VisualType<boolean>"
|
|
1479
1479
|
},
|
|
1480
|
-
"enableSegments": {
|
|
1481
|
-
"$ref": "#/definitions/VisualType<boolean>"
|
|
1482
|
-
},
|
|
1483
1480
|
"fill": {
|
|
1484
1481
|
"$ref": "#/definitions/VisualType<false|IColorKey|IGradient|VisualType<string>>"
|
|
1485
1482
|
},
|
|
@@ -1603,9 +1600,6 @@
|
|
|
1603
1600
|
"defined": {
|
|
1604
1601
|
"$ref": "#/definitions/VisualType<boolean>"
|
|
1605
1602
|
},
|
|
1606
|
-
"enableSegments": {
|
|
1607
|
-
"$ref": "#/definitions/VisualType<boolean>"
|
|
1608
|
-
},
|
|
1609
1603
|
"fill": {
|
|
1610
1604
|
"$ref": "#/definitions/VisualType<false|IColorKey|IGradient|VisualType<string>>"
|
|
1611
1605
|
},
|
|
@@ -2501,9 +2495,6 @@
|
|
|
2501
2495
|
"defined": {
|
|
2502
2496
|
"$ref": "#/definitions/VisualType<boolean>"
|
|
2503
2497
|
},
|
|
2504
|
-
"enableSegments": {
|
|
2505
|
-
"$ref": "#/definitions/VisualType<boolean>"
|
|
2506
|
-
},
|
|
2507
2498
|
"fill": {
|
|
2508
2499
|
"$ref": "#/definitions/VisualType<false|IColorKey|IGradient|VisualType<string>>"
|
|
2509
2500
|
},
|
|
@@ -2630,9 +2621,6 @@
|
|
|
2630
2621
|
"defined": {
|
|
2631
2622
|
"$ref": "#/definitions/VisualType<boolean>"
|
|
2632
2623
|
},
|
|
2633
|
-
"enableSegments": {
|
|
2634
|
-
"$ref": "#/definitions/VisualType<boolean>"
|
|
2635
|
-
},
|
|
2636
2624
|
"fill": {
|
|
2637
2625
|
"$ref": "#/definitions/VisualType<false|IColorKey|IGradient|VisualType<string>>"
|
|
2638
2626
|
},
|
|
@@ -2759,9 +2747,6 @@
|
|
|
2759
2747
|
"defined": {
|
|
2760
2748
|
"$ref": "#/definitions/VisualType<boolean>"
|
|
2761
2749
|
},
|
|
2762
|
-
"enableSegments": {
|
|
2763
|
-
"$ref": "#/definitions/VisualType<boolean>"
|
|
2764
|
-
},
|
|
2765
2750
|
"fill": {
|
|
2766
2751
|
"$ref": "#/definitions/VisualType<false|IColorKey|IGradient|VisualType<string>>"
|
|
2767
2752
|
},
|
|
@@ -5008,9 +4993,6 @@
|
|
|
5008
4993
|
"defined": {
|
|
5009
4994
|
"$ref": "#/definitions/VisualType<boolean>"
|
|
5010
4995
|
},
|
|
5011
|
-
"enableSegments": {
|
|
5012
|
-
"$ref": "#/definitions/VisualType<boolean>"
|
|
5013
|
-
},
|
|
5014
4996
|
"fill": {
|
|
5015
4997
|
"$ref": "#/definitions/VisualType<false|IColorKey|IGradient|VisualType<string>>"
|
|
5016
4998
|
},
|
|
@@ -5143,9 +5125,6 @@
|
|
|
5143
5125
|
"defined": {
|
|
5144
5126
|
"$ref": "#/definitions/VisualType<boolean>"
|
|
5145
5127
|
},
|
|
5146
|
-
"enableSegments": {
|
|
5147
|
-
"$ref": "#/definitions/VisualType<boolean>"
|
|
5148
|
-
},
|
|
5149
5128
|
"fill": {
|
|
5150
5129
|
"$ref": "#/definitions/VisualType<false|IColorKey|IGradient|VisualType<string>>"
|
|
5151
5130
|
},
|
|
@@ -5773,7 +5752,7 @@
|
|
|
5773
5752
|
"$ref": "#/definitions/VisualType<number>"
|
|
5774
5753
|
},
|
|
5775
5754
|
"text": {
|
|
5776
|
-
"$ref": "#/definitions/VisualType<string[]|StringOrNumber>",
|
|
5755
|
+
"$ref": "#/definitions/VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>",
|
|
5777
5756
|
"description": "文字内容"
|
|
5778
5757
|
},
|
|
5779
5758
|
"textAlign": {
|
|
@@ -5800,6 +5779,11 @@
|
|
|
5800
5779
|
"$ref": "#/definitions/VisualType<number>",
|
|
5801
5780
|
"description": "纹理单元的大小"
|
|
5802
5781
|
},
|
|
5782
|
+
"type": {
|
|
5783
|
+
"$ref": "#/definitions/VisualType<\"text\"|\"html\"|\"rich\">",
|
|
5784
|
+
"default": "'text'",
|
|
5785
|
+
"description": "文字类型\n可选,'html', 'rich', 'text'"
|
|
5786
|
+
},
|
|
5803
5787
|
"underline": {
|
|
5804
5788
|
"$ref": "#/definitions/VisualType<boolean>",
|
|
5805
5789
|
"description": "下划线"
|
|
@@ -5950,7 +5934,7 @@
|
|
|
5950
5934
|
"$ref": "#/definitions/VisualType<number>"
|
|
5951
5935
|
},
|
|
5952
5936
|
"text": {
|
|
5953
|
-
"$ref": "#/definitions/VisualType<string[]|StringOrNumber>",
|
|
5937
|
+
"$ref": "#/definitions/VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>",
|
|
5954
5938
|
"description": "文字内容"
|
|
5955
5939
|
},
|
|
5956
5940
|
"textAlign": {
|
|
@@ -5977,6 +5961,11 @@
|
|
|
5977
5961
|
"$ref": "#/definitions/VisualType<number>",
|
|
5978
5962
|
"description": "纹理单元的大小"
|
|
5979
5963
|
},
|
|
5964
|
+
"type": {
|
|
5965
|
+
"$ref": "#/definitions/VisualType<\"text\"|\"html\"|\"rich\">",
|
|
5966
|
+
"default": "'text'",
|
|
5967
|
+
"description": "文字类型\n可选,'html', 'rich', 'text'"
|
|
5968
|
+
},
|
|
5980
5969
|
"underline": {
|
|
5981
5970
|
"$ref": "#/definitions/VisualType<boolean>",
|
|
5982
5971
|
"description": "下划线"
|
|
@@ -6127,7 +6116,7 @@
|
|
|
6127
6116
|
"$ref": "#/definitions/VisualType<number>"
|
|
6128
6117
|
},
|
|
6129
6118
|
"text": {
|
|
6130
|
-
"$ref": "#/definitions/VisualType<string[]|StringOrNumber>",
|
|
6119
|
+
"$ref": "#/definitions/VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>",
|
|
6131
6120
|
"description": "文字内容"
|
|
6132
6121
|
},
|
|
6133
6122
|
"textAlign": {
|
|
@@ -6154,6 +6143,11 @@
|
|
|
6154
6143
|
"$ref": "#/definitions/VisualType<number>",
|
|
6155
6144
|
"description": "纹理单元的大小"
|
|
6156
6145
|
},
|
|
6146
|
+
"type": {
|
|
6147
|
+
"$ref": "#/definitions/VisualType<\"text\"|\"html\"|\"rich\">",
|
|
6148
|
+
"default": "'text'",
|
|
6149
|
+
"description": "文字类型\n可选,'html', 'rich', 'text'"
|
|
6150
|
+
},
|
|
6157
6151
|
"underline": {
|
|
6158
6152
|
"$ref": "#/definitions/VisualType<boolean>",
|
|
6159
6153
|
"description": "下划线"
|
|
@@ -8353,6 +8347,29 @@
|
|
|
8353
8347
|
"normal"
|
|
8354
8348
|
]
|
|
8355
8349
|
},
|
|
8350
|
+
"Function": {
|
|
8351
|
+
"properties": {
|
|
8352
|
+
"arguments": {},
|
|
8353
|
+
"caller": {
|
|
8354
|
+
"$ref": "#/definitions/Function"
|
|
8355
|
+
},
|
|
8356
|
+
"length": {
|
|
8357
|
+
"type": "number"
|
|
8358
|
+
},
|
|
8359
|
+
"name": {
|
|
8360
|
+
"type": "string"
|
|
8361
|
+
},
|
|
8362
|
+
"prototype": {}
|
|
8363
|
+
},
|
|
8364
|
+
"required": [
|
|
8365
|
+
"arguments",
|
|
8366
|
+
"caller",
|
|
8367
|
+
"length",
|
|
8368
|
+
"name",
|
|
8369
|
+
"prototype"
|
|
8370
|
+
],
|
|
8371
|
+
"type": "object"
|
|
8372
|
+
},
|
|
8356
8373
|
"Functional<\"center\"|\"left\"|\"right\"|\"bottom\"|\"top\"|\"top-right\"|\"top-left\"|\"bottom-right\"|\"bottom-left\">": {
|
|
8357
8374
|
"anyOf": [
|
|
8358
8375
|
{
|
|
@@ -17317,6 +17334,9 @@
|
|
|
17317
17334
|
"delay": {
|
|
17318
17335
|
"$ref": "#/definitions/MarkFunctionValueType<number>"
|
|
17319
17336
|
},
|
|
17337
|
+
"delayAfter": {
|
|
17338
|
+
"$ref": "#/definitions/MarkFunctionValueType<number>"
|
|
17339
|
+
},
|
|
17320
17340
|
"duration": {
|
|
17321
17341
|
"$ref": "#/definitions/MarkFunctionValueType<number>"
|
|
17322
17342
|
},
|
|
@@ -17416,6 +17436,9 @@
|
|
|
17416
17436
|
"delay": {
|
|
17417
17437
|
"$ref": "#/definitions/MarkFunctionValueType<number>"
|
|
17418
17438
|
},
|
|
17439
|
+
"delayAfter": {
|
|
17440
|
+
"$ref": "#/definitions/MarkFunctionValueType<number>"
|
|
17441
|
+
},
|
|
17419
17442
|
"duration": {
|
|
17420
17443
|
"$ref": "#/definitions/MarkFunctionValueType<number>"
|
|
17421
17444
|
},
|
|
@@ -17742,6 +17765,9 @@
|
|
|
17742
17765
|
},
|
|
17743
17766
|
"IArcLabelLineSpec": {
|
|
17744
17767
|
"properties": {
|
|
17768
|
+
"customShape": {
|
|
17769
|
+
"typeof": "function"
|
|
17770
|
+
},
|
|
17745
17771
|
"id": {
|
|
17746
17772
|
"$ref": "#/definitions/StringOrNumber",
|
|
17747
17773
|
"description": "用户id"
|
|
@@ -17779,6 +17805,7 @@
|
|
|
17779
17805
|
"smooth": {
|
|
17780
17806
|
"default": false,
|
|
17781
17807
|
"description": "引导线是否光滑",
|
|
17808
|
+
"since": "1.4.0",
|
|
17782
17809
|
"type": "boolean"
|
|
17783
17810
|
},
|
|
17784
17811
|
"state": {
|
|
@@ -17851,6 +17878,11 @@
|
|
|
17851
17878
|
"formatMethod": {
|
|
17852
17879
|
"typeof": "function"
|
|
17853
17880
|
},
|
|
17881
|
+
"formatter": {
|
|
17882
|
+
"description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\n在饼图中支持配置百分比, {_percent_}\neg: 'type={type},value={value},percent={_percent_}'",
|
|
17883
|
+
"since": "1.7.0",
|
|
17884
|
+
"type": "string"
|
|
17885
|
+
},
|
|
17854
17886
|
"height": {
|
|
17855
17887
|
"$ref": "#/definitions/ILayoutNumber",
|
|
17856
17888
|
"description": "模块的布局大小:高度"
|
|
@@ -18068,6 +18100,9 @@
|
|
|
18068
18100
|
"description": "是否支持3D",
|
|
18069
18101
|
"type": "boolean"
|
|
18070
18102
|
},
|
|
18103
|
+
"textType": {
|
|
18104
|
+
"type": "string"
|
|
18105
|
+
},
|
|
18071
18106
|
"top": {
|
|
18072
18107
|
"$ref": "#/definitions/ILayoutNumber",
|
|
18073
18108
|
"description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
|
|
@@ -19157,9 +19192,6 @@
|
|
|
19157
19192
|
"defined": {
|
|
19158
19193
|
"type": "boolean"
|
|
19159
19194
|
},
|
|
19160
|
-
"enableSegments": {
|
|
19161
|
-
"type": "boolean"
|
|
19162
|
-
},
|
|
19163
19195
|
"fill": {
|
|
19164
19196
|
"anyOf": [
|
|
19165
19197
|
{
|
|
@@ -19936,6 +19968,12 @@
|
|
|
19936
19968
|
],
|
|
19937
19969
|
"default": 0.3,
|
|
19938
19970
|
"description": "band 轴的外边距\n** 因为有可能存在多层 scale( xField 设置成了数组,即分组场景),所以支持了数组类型,用于多层 scale 的 paddingOuter 配置**"
|
|
19971
|
+
},
|
|
19972
|
+
"trimPadding": {
|
|
19973
|
+
"default": false,
|
|
19974
|
+
"description": "是否去除 band 轴两端的留白,如果为 true,则两端的 padding 为 0,\n**并且 bandPadding、paddingInner 和 paddingOuter 的设置将被忽略**。",
|
|
19975
|
+
"since": "1.7.0",
|
|
19976
|
+
"type": "boolean"
|
|
19939
19977
|
}
|
|
19940
19978
|
},
|
|
19941
19979
|
"type": "object"
|
|
@@ -28884,6 +28922,9 @@
|
|
|
28884
28922
|
},
|
|
28885
28923
|
"ICustomMarkSpec<keyofIBuildinMarkSpec>": {
|
|
28886
28924
|
"properties": {
|
|
28925
|
+
"customShape": {
|
|
28926
|
+
"typeof": "function"
|
|
28927
|
+
},
|
|
28887
28928
|
"dataId": {
|
|
28888
28929
|
"$ref": "#/definitions/StringOrNumber",
|
|
28889
28930
|
"description": "关联的数据id"
|
|
@@ -30985,6 +31026,9 @@
|
|
|
30985
31026
|
},
|
|
30986
31027
|
"type": "array"
|
|
30987
31028
|
},
|
|
31029
|
+
"customShape": {
|
|
31030
|
+
"typeof": "function"
|
|
31031
|
+
},
|
|
30988
31032
|
"dataId": {
|
|
30989
31033
|
"$ref": "#/definitions/StringOrNumber",
|
|
30990
31034
|
"description": "关联的数据id"
|
|
@@ -31049,6 +31093,9 @@
|
|
|
31049
31093
|
},
|
|
31050
31094
|
"IExtensionMarkSpec<MarkTypeEnum.symbol|MarkTypeEnum.rule|MarkTypeEnum.line|MarkTypeEnum.text|MarkTypeEnum.rect|MarkTypeEnum.rect3d|MarkTypeEnum.image|MarkTypeEnum.path|MarkTypeEnum.area|MarkTypeEnum.arc|MarkTypeEnum.arc3d|MarkTypeEnum.polygon|MarkTypeEnum.pyramid3d|MarkTypeEnum.boxPlot|MarkTypeEnum.linkPath|MarkTypeEnum.progressArc|MarkTypeEnum.ripple>": {
|
|
31051
31095
|
"properties": {
|
|
31096
|
+
"customShape": {
|
|
31097
|
+
"typeof": "function"
|
|
31098
|
+
},
|
|
31052
31099
|
"dataId": {
|
|
31053
31100
|
"$ref": "#/definitions/StringOrNumber",
|
|
31054
31101
|
"description": "关联的数据id"
|
|
@@ -32211,6 +32258,9 @@
|
|
|
32211
32258
|
},
|
|
32212
32259
|
"IFunnelLabelSpec": {
|
|
32213
32260
|
"properties": {
|
|
32261
|
+
"customShape": {
|
|
32262
|
+
"typeof": "function"
|
|
32263
|
+
},
|
|
32214
32264
|
"formatMethod": {
|
|
32215
32265
|
"typeof": "function"
|
|
32216
32266
|
},
|
|
@@ -32279,6 +32329,9 @@
|
|
|
32279
32329
|
"description": "文字是否对齐",
|
|
32280
32330
|
"type": "boolean"
|
|
32281
32331
|
},
|
|
32332
|
+
"customShape": {
|
|
32333
|
+
"typeof": "function"
|
|
32334
|
+
},
|
|
32282
32335
|
"formatMethod": {
|
|
32283
32336
|
"typeof": "function"
|
|
32284
32337
|
},
|
|
@@ -38668,12 +38721,19 @@
|
|
|
38668
38721
|
"type": "number"
|
|
38669
38722
|
},
|
|
38670
38723
|
"style": {
|
|
38671
|
-
"
|
|
38672
|
-
|
|
38673
|
-
|
|
38674
|
-
|
|
38675
|
-
|
|
38676
|
-
|
|
38724
|
+
"allOf": [
|
|
38725
|
+
{
|
|
38726
|
+
"additionalProperties": false,
|
|
38727
|
+
"patternProperties": {
|
|
38728
|
+
"^[a-zA-Z0-9]+$": {}
|
|
38729
|
+
},
|
|
38730
|
+
"type": "object"
|
|
38731
|
+
},
|
|
38732
|
+
{
|
|
38733
|
+
"typeof": "function"
|
|
38734
|
+
}
|
|
38735
|
+
],
|
|
38736
|
+
"description": "文字样式"
|
|
38677
38737
|
},
|
|
38678
38738
|
"visible": {
|
|
38679
38739
|
"default": true,
|
|
@@ -39210,7 +39270,7 @@
|
|
|
39210
39270
|
},
|
|
39211
39271
|
"text": {
|
|
39212
39272
|
"$ref": "#/definitions/IMarkerLabelSpec",
|
|
39213
|
-
"description": "type为text时, text
|
|
39273
|
+
"description": "type为text时, text的样式\n'text'类型的ItemContent新增三种子类型:'text','rich','html'。配置在textStyle.type上。"
|
|
39214
39274
|
},
|
|
39215
39275
|
"type": {
|
|
39216
39276
|
"description": "标注类型",
|
|
@@ -39260,6 +39320,15 @@
|
|
|
39260
39320
|
],
|
|
39261
39321
|
"description": "文本样式设置"
|
|
39262
39322
|
},
|
|
39323
|
+
"type": {
|
|
39324
|
+
"description": "文本类型:text, rich, html",
|
|
39325
|
+
"enum": [
|
|
39326
|
+
"html",
|
|
39327
|
+
"rich",
|
|
39328
|
+
"text"
|
|
39329
|
+
],
|
|
39330
|
+
"type": "string"
|
|
39331
|
+
},
|
|
39263
39332
|
"visible": {
|
|
39264
39333
|
"type": "boolean"
|
|
39265
39334
|
}
|
|
@@ -39333,6 +39402,11 @@
|
|
|
39333
39402
|
"formatMethod": {
|
|
39334
39403
|
"typeof": "function"
|
|
39335
39404
|
},
|
|
39405
|
+
"formatter": {
|
|
39406
|
+
"description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\n在饼图中支持配置百分比, {_percent_}\neg: 'type={type},value={value},percent={_percent_}'",
|
|
39407
|
+
"since": "1.7.0",
|
|
39408
|
+
"type": "string"
|
|
39409
|
+
},
|
|
39336
39410
|
"height": {
|
|
39337
39411
|
"$ref": "#/definitions/ILayoutNumber",
|
|
39338
39412
|
"description": "模块的布局大小:高度"
|
|
@@ -39510,6 +39584,9 @@
|
|
|
39510
39584
|
"description": "是否支持3D",
|
|
39511
39585
|
"type": "boolean"
|
|
39512
39586
|
},
|
|
39587
|
+
"textType": {
|
|
39588
|
+
"type": "string"
|
|
39589
|
+
},
|
|
39513
39590
|
"top": {
|
|
39514
39591
|
"$ref": "#/definitions/ILayoutNumber",
|
|
39515
39592
|
"description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
|
|
@@ -41254,9 +41331,6 @@
|
|
|
41254
41331
|
"defined": {
|
|
41255
41332
|
"type": "boolean"
|
|
41256
41333
|
},
|
|
41257
|
-
"enableSegments": {
|
|
41258
|
-
"type": "boolean"
|
|
41259
|
-
},
|
|
41260
41334
|
"fill": {
|
|
41261
41335
|
"anyOf": [
|
|
41262
41336
|
{
|
|
@@ -54804,9 +54878,6 @@
|
|
|
54804
54878
|
"defined": {
|
|
54805
54879
|
"type": "boolean"
|
|
54806
54880
|
},
|
|
54807
|
-
"enableSegments": {
|
|
54808
|
-
"type": "boolean"
|
|
54809
|
-
},
|
|
54810
54881
|
"fill": {
|
|
54811
54882
|
"anyOf": [
|
|
54812
54883
|
{
|
|
@@ -60568,12 +60639,21 @@
|
|
|
60568
60639
|
},
|
|
60569
60640
|
"text": {
|
|
60570
60641
|
"anyOf": [
|
|
60642
|
+
{
|
|
60643
|
+
"$ref": "#/definitions/Function"
|
|
60644
|
+
},
|
|
60571
60645
|
{
|
|
60572
60646
|
"items": {
|
|
60573
60647
|
"type": "string"
|
|
60574
60648
|
},
|
|
60575
60649
|
"type": "array"
|
|
60576
60650
|
},
|
|
60651
|
+
{
|
|
60652
|
+
"items": {
|
|
60653
|
+
"$ref": "#/definitions/IRichTextCharacter"
|
|
60654
|
+
},
|
|
60655
|
+
"type": "array"
|
|
60656
|
+
},
|
|
60577
60657
|
{
|
|
60578
60658
|
"type": [
|
|
60579
60659
|
"string",
|
|
@@ -60607,6 +60687,16 @@
|
|
|
60607
60687
|
"description": "纹理单元的大小",
|
|
60608
60688
|
"type": "number"
|
|
60609
60689
|
},
|
|
60690
|
+
"type": {
|
|
60691
|
+
"default": "'text'",
|
|
60692
|
+
"description": "文字类型\n可选,'html', 'rich', 'text'",
|
|
60693
|
+
"enum": [
|
|
60694
|
+
"html",
|
|
60695
|
+
"rich",
|
|
60696
|
+
"text"
|
|
60697
|
+
],
|
|
60698
|
+
"type": "string"
|
|
60699
|
+
},
|
|
60610
60700
|
"underline": {
|
|
60611
60701
|
"description": "下划线",
|
|
60612
60702
|
"type": "boolean"
|
|
@@ -60935,10 +61025,26 @@
|
|
|
60935
61025
|
},
|
|
60936
61026
|
"type": "array"
|
|
60937
61027
|
},
|
|
61028
|
+
{
|
|
61029
|
+
"items": {
|
|
61030
|
+
"$ref": "#/definitions/IRichTextCharacter"
|
|
61031
|
+
},
|
|
61032
|
+
"type": "array"
|
|
61033
|
+
},
|
|
60938
61034
|
{
|
|
60939
61035
|
"type": "string"
|
|
60940
61036
|
}
|
|
60941
|
-
]
|
|
61037
|
+
],
|
|
61038
|
+
"description": "文本内容\n支持富文本内容, 如textConfig, html"
|
|
61039
|
+
},
|
|
61040
|
+
"type": {
|
|
61041
|
+
"description": "文本类型:text, rich, html",
|
|
61042
|
+
"enum": [
|
|
61043
|
+
"html",
|
|
61044
|
+
"rich",
|
|
61045
|
+
"text"
|
|
61046
|
+
],
|
|
61047
|
+
"type": "string"
|
|
60942
61048
|
},
|
|
60943
61049
|
"visible": {
|
|
60944
61050
|
"type": "boolean"
|
|
@@ -61108,7 +61214,19 @@
|
|
|
61108
61214
|
"anyOf": [
|
|
61109
61215
|
{
|
|
61110
61216
|
"items": {
|
|
61111
|
-
"
|
|
61217
|
+
"type": "string"
|
|
61218
|
+
},
|
|
61219
|
+
"type": "array"
|
|
61220
|
+
},
|
|
61221
|
+
{
|
|
61222
|
+
"items": {
|
|
61223
|
+
"type": "number"
|
|
61224
|
+
},
|
|
61225
|
+
"type": "array"
|
|
61226
|
+
},
|
|
61227
|
+
{
|
|
61228
|
+
"items": {
|
|
61229
|
+
"$ref": "#/definitions/IRichTextCharacter"
|
|
61112
61230
|
},
|
|
61113
61231
|
"type": "array"
|
|
61114
61232
|
},
|
|
@@ -61119,7 +61237,7 @@
|
|
|
61119
61237
|
]
|
|
61120
61238
|
}
|
|
61121
61239
|
],
|
|
61122
|
-
"description": "
|
|
61240
|
+
"description": "副标题文本内容\n- 支持富文本配置"
|
|
61123
61241
|
},
|
|
61124
61242
|
"subtextStyle": {
|
|
61125
61243
|
"allOf": [
|
|
@@ -61132,11 +61250,27 @@
|
|
|
61132
61250
|
],
|
|
61133
61251
|
"description": "副标题样式"
|
|
61134
61252
|
},
|
|
61253
|
+
"subtextType": {
|
|
61254
|
+
"description": "副标题文本类型(默认类型为text)\ntext, rich, html",
|
|
61255
|
+
"type": "string"
|
|
61256
|
+
},
|
|
61135
61257
|
"text": {
|
|
61136
61258
|
"anyOf": [
|
|
61137
61259
|
{
|
|
61138
61260
|
"items": {
|
|
61139
|
-
"
|
|
61261
|
+
"type": "string"
|
|
61262
|
+
},
|
|
61263
|
+
"type": "array"
|
|
61264
|
+
},
|
|
61265
|
+
{
|
|
61266
|
+
"items": {
|
|
61267
|
+
"type": "number"
|
|
61268
|
+
},
|
|
61269
|
+
"type": "array"
|
|
61270
|
+
},
|
|
61271
|
+
{
|
|
61272
|
+
"items": {
|
|
61273
|
+
"$ref": "#/definitions/IRichTextCharacter"
|
|
61140
61274
|
},
|
|
61141
61275
|
"type": "array"
|
|
61142
61276
|
},
|
|
@@ -61147,7 +61281,7 @@
|
|
|
61147
61281
|
]
|
|
61148
61282
|
}
|
|
61149
61283
|
],
|
|
61150
|
-
"description": "
|
|
61284
|
+
"description": "主标题文本内容\n- 支持富文本配置"
|
|
61151
61285
|
},
|
|
61152
61286
|
"textStyle": {
|
|
61153
61287
|
"allOf": [
|
|
@@ -61160,6 +61294,10 @@
|
|
|
61160
61294
|
],
|
|
61161
61295
|
"description": "主标题样式"
|
|
61162
61296
|
},
|
|
61297
|
+
"textType": {
|
|
61298
|
+
"description": "主标题文本类型(默认类型为text)\ntext, rich, html",
|
|
61299
|
+
"type": "string"
|
|
61300
|
+
},
|
|
61163
61301
|
"top": {
|
|
61164
61302
|
"$ref": "#/definitions/ILayoutNumber",
|
|
61165
61303
|
"description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
|
|
@@ -61189,9 +61327,6 @@
|
|
|
61189
61327
|
"type": "number"
|
|
61190
61328
|
}
|
|
61191
61329
|
},
|
|
61192
|
-
"required": [
|
|
61193
|
-
"text"
|
|
61194
|
-
],
|
|
61195
61330
|
"type": "object"
|
|
61196
61331
|
},
|
|
61197
61332
|
"ITitleTextTheme": {
|
|
@@ -61399,8 +61534,8 @@
|
|
|
61399
61534
|
"since": "1.4.0"
|
|
61400
61535
|
},
|
|
61401
61536
|
"value": {
|
|
61402
|
-
"$ref": "#/definitions/TooltipContentProperty<string>",
|
|
61403
|
-
"description": "tooltip value
|
|
61537
|
+
"$ref": "#/definitions/TooltipContentProperty<string|TooltipRichTextAttrs>",
|
|
61538
|
+
"description": "tooltip value 值内容\n支持富文本配置\n - type 文本类型:text, rich, html\n - text 文本内容:string | string[] | number | number[] | IRichTextCharacter[];"
|
|
61404
61539
|
},
|
|
61405
61540
|
"valueStyle": {
|
|
61406
61541
|
"$ref": "#/definitions/TooltipContentProperty<ITooltipTextTheme<string>>",
|
|
@@ -63177,6 +63312,43 @@
|
|
|
63177
63312
|
],
|
|
63178
63313
|
"type": "object"
|
|
63179
63314
|
},
|
|
63315
|
+
"IVisualSpecStyle<unknown,\"text\"|\"html\"|\"rich\">": {
|
|
63316
|
+
"properties": {
|
|
63317
|
+
"domain": {
|
|
63318
|
+
"description": "will set to scale.domain, it means input of scale",
|
|
63319
|
+
"items": {},
|
|
63320
|
+
"type": "array"
|
|
63321
|
+
},
|
|
63322
|
+
"field": {
|
|
63323
|
+
"type": "string"
|
|
63324
|
+
},
|
|
63325
|
+
"range": {
|
|
63326
|
+
"description": "will set to scale.range, it means output of scale",
|
|
63327
|
+
"items": {
|
|
63328
|
+
"enum": [
|
|
63329
|
+
"html",
|
|
63330
|
+
"rich",
|
|
63331
|
+
"text"
|
|
63332
|
+
],
|
|
63333
|
+
"type": "string"
|
|
63334
|
+
},
|
|
63335
|
+
"type": "array"
|
|
63336
|
+
},
|
|
63337
|
+
"specified": {
|
|
63338
|
+
"typeof": "function"
|
|
63339
|
+
},
|
|
63340
|
+
"type": {
|
|
63341
|
+
"$ref": "#/definitions/ScaleType",
|
|
63342
|
+
"description": "type of scale"
|
|
63343
|
+
}
|
|
63344
|
+
},
|
|
63345
|
+
"required": [
|
|
63346
|
+
"domain",
|
|
63347
|
+
"range",
|
|
63348
|
+
"type"
|
|
63349
|
+
],
|
|
63350
|
+
"type": "object"
|
|
63351
|
+
},
|
|
63180
63352
|
"IVisualSpecStyle<unknown,(datum:Datum)=>number>": {
|
|
63181
63353
|
"properties": {
|
|
63182
63354
|
"domain": {
|
|
@@ -63433,6 +63605,60 @@
|
|
|
63433
63605
|
],
|
|
63434
63606
|
"type": "object"
|
|
63435
63607
|
},
|
|
63608
|
+
"IVisualSpecStyle<unknown,Function|string[]|StringOrNumber|IRichTextCharacter[]>": {
|
|
63609
|
+
"properties": {
|
|
63610
|
+
"domain": {
|
|
63611
|
+
"description": "will set to scale.domain, it means input of scale",
|
|
63612
|
+
"items": {},
|
|
63613
|
+
"type": "array"
|
|
63614
|
+
},
|
|
63615
|
+
"field": {
|
|
63616
|
+
"type": "string"
|
|
63617
|
+
},
|
|
63618
|
+
"range": {
|
|
63619
|
+
"description": "will set to scale.range, it means output of scale",
|
|
63620
|
+
"items": {
|
|
63621
|
+
"anyOf": [
|
|
63622
|
+
{
|
|
63623
|
+
"$ref": "#/definitions/Function"
|
|
63624
|
+
},
|
|
63625
|
+
{
|
|
63626
|
+
"items": {
|
|
63627
|
+
"type": "string"
|
|
63628
|
+
},
|
|
63629
|
+
"type": "array"
|
|
63630
|
+
},
|
|
63631
|
+
{
|
|
63632
|
+
"items": {
|
|
63633
|
+
"$ref": "#/definitions/IRichTextCharacter"
|
|
63634
|
+
},
|
|
63635
|
+
"type": "array"
|
|
63636
|
+
},
|
|
63637
|
+
{
|
|
63638
|
+
"type": [
|
|
63639
|
+
"string",
|
|
63640
|
+
"number"
|
|
63641
|
+
]
|
|
63642
|
+
}
|
|
63643
|
+
]
|
|
63644
|
+
},
|
|
63645
|
+
"type": "array"
|
|
63646
|
+
},
|
|
63647
|
+
"specified": {
|
|
63648
|
+
"typeof": "function"
|
|
63649
|
+
},
|
|
63650
|
+
"type": {
|
|
63651
|
+
"$ref": "#/definitions/ScaleType",
|
|
63652
|
+
"description": "type of scale"
|
|
63653
|
+
}
|
|
63654
|
+
},
|
|
63655
|
+
"required": [
|
|
63656
|
+
"domain",
|
|
63657
|
+
"range",
|
|
63658
|
+
"type"
|
|
63659
|
+
],
|
|
63660
|
+
"type": "object"
|
|
63661
|
+
},
|
|
63436
63662
|
"IVisualSpecStyle<unknown,IBorder>": {
|
|
63437
63663
|
"properties": {
|
|
63438
63664
|
"domain": {
|
|
@@ -64097,51 +64323,6 @@
|
|
|
64097
64323
|
],
|
|
64098
64324
|
"type": "object"
|
|
64099
64325
|
},
|
|
64100
|
-
"IVisualSpecStyle<unknown,string[]|StringOrNumber>": {
|
|
64101
|
-
"properties": {
|
|
64102
|
-
"domain": {
|
|
64103
|
-
"description": "will set to scale.domain, it means input of scale",
|
|
64104
|
-
"items": {},
|
|
64105
|
-
"type": "array"
|
|
64106
|
-
},
|
|
64107
|
-
"field": {
|
|
64108
|
-
"type": "string"
|
|
64109
|
-
},
|
|
64110
|
-
"range": {
|
|
64111
|
-
"description": "will set to scale.range, it means output of scale",
|
|
64112
|
-
"items": {
|
|
64113
|
-
"anyOf": [
|
|
64114
|
-
{
|
|
64115
|
-
"items": {
|
|
64116
|
-
"type": "string"
|
|
64117
|
-
},
|
|
64118
|
-
"type": "array"
|
|
64119
|
-
},
|
|
64120
|
-
{
|
|
64121
|
-
"type": [
|
|
64122
|
-
"string",
|
|
64123
|
-
"number"
|
|
64124
|
-
]
|
|
64125
|
-
}
|
|
64126
|
-
]
|
|
64127
|
-
},
|
|
64128
|
-
"type": "array"
|
|
64129
|
-
},
|
|
64130
|
-
"specified": {
|
|
64131
|
-
"typeof": "function"
|
|
64132
|
-
},
|
|
64133
|
-
"type": {
|
|
64134
|
-
"$ref": "#/definitions/ScaleType",
|
|
64135
|
-
"description": "type of scale"
|
|
64136
|
-
}
|
|
64137
|
-
},
|
|
64138
|
-
"required": [
|
|
64139
|
-
"domain",
|
|
64140
|
-
"range",
|
|
64141
|
-
"type"
|
|
64142
|
-
],
|
|
64143
|
-
"type": "object"
|
|
64144
|
-
},
|
|
64145
64326
|
"IVisualSpecStyle<unknown,string|HTMLCanvasElement|HTMLImageElement>": {
|
|
64146
64327
|
"properties": {
|
|
64147
64328
|
"domain": {
|
|
@@ -67650,7 +67831,7 @@
|
|
|
67650
67831
|
},
|
|
67651
67832
|
"Map<Function,(...args:any[])=>void>": {
|
|
67652
67833
|
"properties": {
|
|
67653
|
-
"__@toStringTag@
|
|
67834
|
+
"__@toStringTag@13826": {
|
|
67654
67835
|
"type": "string"
|
|
67655
67836
|
},
|
|
67656
67837
|
"size": {
|
|
@@ -67658,14 +67839,14 @@
|
|
|
67658
67839
|
}
|
|
67659
67840
|
},
|
|
67660
67841
|
"required": [
|
|
67661
|
-
"__@toStringTag@
|
|
67842
|
+
"__@toStringTag@13826",
|
|
67662
67843
|
"size"
|
|
67663
67844
|
],
|
|
67664
67845
|
"type": "object"
|
|
67665
67846
|
},
|
|
67666
67847
|
"Map<number,IGraphicPicker>": {
|
|
67667
67848
|
"properties": {
|
|
67668
|
-
"__@toStringTag@
|
|
67849
|
+
"__@toStringTag@13826": {
|
|
67669
67850
|
"type": "string"
|
|
67670
67851
|
},
|
|
67671
67852
|
"size": {
|
|
@@ -67673,14 +67854,14 @@
|
|
|
67673
67854
|
}
|
|
67674
67855
|
},
|
|
67675
67856
|
"required": [
|
|
67676
|
-
"__@toStringTag@
|
|
67857
|
+
"__@toStringTag@13826",
|
|
67677
67858
|
"size"
|
|
67678
67859
|
],
|
|
67679
67860
|
"type": "object"
|
|
67680
67861
|
},
|
|
67681
67862
|
"Map<number,IGraphicRender>": {
|
|
67682
67863
|
"properties": {
|
|
67683
|
-
"__@toStringTag@
|
|
67864
|
+
"__@toStringTag@13826": {
|
|
67684
67865
|
"type": "string"
|
|
67685
67866
|
},
|
|
67686
67867
|
"size": {
|
|
@@ -67688,14 +67869,14 @@
|
|
|
67688
67869
|
}
|
|
67689
67870
|
},
|
|
67690
67871
|
"required": [
|
|
67691
|
-
"__@toStringTag@
|
|
67872
|
+
"__@toStringTag@13826",
|
|
67692
67873
|
"size"
|
|
67693
67874
|
],
|
|
67694
67875
|
"type": "object"
|
|
67695
67876
|
},
|
|
67696
67877
|
"Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
|
|
67697
67878
|
"properties": {
|
|
67698
|
-
"__@toStringTag@
|
|
67879
|
+
"__@toStringTag@13826": {
|
|
67699
67880
|
"type": "string"
|
|
67700
67881
|
},
|
|
67701
67882
|
"size": {
|
|
@@ -67703,14 +67884,14 @@
|
|
|
67703
67884
|
}
|
|
67704
67885
|
},
|
|
67705
67886
|
"required": [
|
|
67706
|
-
"__@toStringTag@
|
|
67887
|
+
"__@toStringTag@13826",
|
|
67707
67888
|
"size"
|
|
67708
67889
|
],
|
|
67709
67890
|
"type": "object"
|
|
67710
67891
|
},
|
|
67711
67892
|
"Map<string,Map<number,IGraphicRender>>": {
|
|
67712
67893
|
"properties": {
|
|
67713
|
-
"__@toStringTag@
|
|
67894
|
+
"__@toStringTag@13826": {
|
|
67714
67895
|
"type": "string"
|
|
67715
67896
|
},
|
|
67716
67897
|
"size": {
|
|
@@ -67718,14 +67899,14 @@
|
|
|
67718
67899
|
}
|
|
67719
67900
|
},
|
|
67720
67901
|
"required": [
|
|
67721
|
-
"__@toStringTag@
|
|
67902
|
+
"__@toStringTag@13826",
|
|
67722
67903
|
"size"
|
|
67723
67904
|
],
|
|
67724
67905
|
"type": "object"
|
|
67725
67906
|
},
|
|
67726
67907
|
"Map<string,any>": {
|
|
67727
67908
|
"properties": {
|
|
67728
|
-
"__@toStringTag@
|
|
67909
|
+
"__@toStringTag@13826": {
|
|
67729
67910
|
"type": "string"
|
|
67730
67911
|
},
|
|
67731
67912
|
"size": {
|
|
@@ -67733,14 +67914,14 @@
|
|
|
67733
67914
|
}
|
|
67734
67915
|
},
|
|
67735
67916
|
"required": [
|
|
67736
|
-
"__@toStringTag@
|
|
67917
|
+
"__@toStringTag@13826",
|
|
67737
67918
|
"size"
|
|
67738
67919
|
],
|
|
67739
67920
|
"type": "object"
|
|
67740
67921
|
},
|
|
67741
67922
|
"Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
|
|
67742
67923
|
"properties": {
|
|
67743
|
-
"__@toStringTag@
|
|
67924
|
+
"__@toStringTag@13826": {
|
|
67744
67925
|
"type": "string"
|
|
67745
67926
|
},
|
|
67746
67927
|
"size": {
|
|
@@ -67748,14 +67929,14 @@
|
|
|
67748
67929
|
}
|
|
67749
67930
|
},
|
|
67750
67931
|
"required": [
|
|
67751
|
-
"__@toStringTag@
|
|
67932
|
+
"__@toStringTag@13826",
|
|
67752
67933
|
"size"
|
|
67753
67934
|
],
|
|
67754
67935
|
"type": "object"
|
|
67755
67936
|
},
|
|
67756
67937
|
"Map<string|HTMLElement,{container:string|HTMLElement;dom:HTMLElement;wrapGroup:HTMLDivElement;}>": {
|
|
67757
67938
|
"properties": {
|
|
67758
|
-
"__@toStringTag@
|
|
67939
|
+
"__@toStringTag@13826": {
|
|
67759
67940
|
"type": "string"
|
|
67760
67941
|
},
|
|
67761
67942
|
"size": {
|
|
@@ -67763,14 +67944,14 @@
|
|
|
67763
67944
|
}
|
|
67764
67945
|
},
|
|
67765
67946
|
"required": [
|
|
67766
|
-
"__@toStringTag@
|
|
67947
|
+
"__@toStringTag@13826",
|
|
67767
67948
|
"size"
|
|
67768
67949
|
],
|
|
67769
67950
|
"type": "object"
|
|
67770
67951
|
},
|
|
67771
67952
|
"Map<string|number,IAnimate>": {
|
|
67772
67953
|
"properties": {
|
|
67773
|
-
"__@toStringTag@
|
|
67954
|
+
"__@toStringTag@13826": {
|
|
67774
67955
|
"type": "string"
|
|
67775
67956
|
},
|
|
67776
67957
|
"size": {
|
|
@@ -67778,7 +67959,7 @@
|
|
|
67778
67959
|
}
|
|
67779
67960
|
},
|
|
67780
67961
|
"required": [
|
|
67781
|
-
"__@toStringTag@
|
|
67962
|
+
"__@toStringTag@13826",
|
|
67782
67963
|
"size"
|
|
67783
67964
|
],
|
|
67784
67965
|
"type": "object"
|
|
@@ -71126,6 +71307,11 @@
|
|
|
71126
71307
|
"formatMethod": {
|
|
71127
71308
|
"typeof": "function"
|
|
71128
71309
|
},
|
|
71310
|
+
"formatter": {
|
|
71311
|
+
"description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\n在饼图中支持配置百分比, {_percent_}\neg: 'type={type},value={value},percent={_percent_}'",
|
|
71312
|
+
"since": "1.7.0",
|
|
71313
|
+
"type": "string"
|
|
71314
|
+
},
|
|
71129
71315
|
"height": {
|
|
71130
71316
|
"$ref": "#/definitions/ILayoutNumber",
|
|
71131
71317
|
"description": "模块的布局大小:高度"
|
|
@@ -71299,6 +71485,9 @@
|
|
|
71299
71485
|
"description": "是否支持3D",
|
|
71300
71486
|
"type": "boolean"
|
|
71301
71487
|
},
|
|
71488
|
+
"textType": {
|
|
71489
|
+
"type": "string"
|
|
71490
|
+
},
|
|
71302
71491
|
"top": {
|
|
71303
71492
|
"$ref": "#/definitions/ILayoutNumber",
|
|
71304
71493
|
"description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
|
|
@@ -71331,6 +71520,9 @@
|
|
|
71331
71520
|
},
|
|
71332
71521
|
"Omit<IMarkSpec<IArcMarkSpec>,\"state\">": {
|
|
71333
71522
|
"properties": {
|
|
71523
|
+
"customShape": {
|
|
71524
|
+
"typeof": "function"
|
|
71525
|
+
},
|
|
71334
71526
|
"id": {
|
|
71335
71527
|
"$ref": "#/definitions/StringOrNumber",
|
|
71336
71528
|
"description": "用户id"
|
|
@@ -76077,6 +76269,11 @@
|
|
|
76077
76269
|
"formatMethod": {
|
|
76078
76270
|
"typeof": "function"
|
|
76079
76271
|
},
|
|
76272
|
+
"formatter": {
|
|
76273
|
+
"description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\n在饼图中支持配置百分比, {_percent_}\neg: 'type={type},value={value},percent={_percent_}'",
|
|
76274
|
+
"since": "1.7.0",
|
|
76275
|
+
"type": "string"
|
|
76276
|
+
},
|
|
76080
76277
|
"height": {
|
|
76081
76278
|
"$ref": "#/definitions/ILayoutNumber",
|
|
76082
76279
|
"description": "模块的布局大小:高度"
|
|
@@ -76254,6 +76451,9 @@
|
|
|
76254
76451
|
"description": "是否支持3D",
|
|
76255
76452
|
"type": "boolean"
|
|
76256
76453
|
},
|
|
76454
|
+
"textType": {
|
|
76455
|
+
"type": "string"
|
|
76456
|
+
},
|
|
76257
76457
|
"top": {
|
|
76258
76458
|
"$ref": "#/definitions/ILayoutNumber",
|
|
76259
76459
|
"description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
|
|
@@ -76715,6 +76915,11 @@
|
|
|
76715
76915
|
"formatMethod": {
|
|
76716
76916
|
"typeof": "function"
|
|
76717
76917
|
},
|
|
76918
|
+
"formatter": {
|
|
76919
|
+
"description": "字符串模版\n用{}包裹变量名的字符串模版, 变量名取自数据属性值\n在饼图中支持配置百分比, {_percent_}\neg: 'type={type},value={value},percent={_percent_}'",
|
|
76920
|
+
"since": "1.7.0",
|
|
76921
|
+
"type": "string"
|
|
76922
|
+
},
|
|
76718
76923
|
"height": {
|
|
76719
76924
|
"$ref": "#/definitions/ILayoutNumber",
|
|
76720
76925
|
"description": "模块的布局大小:高度"
|
|
@@ -76893,6 +77098,9 @@
|
|
|
76893
77098
|
"description": "是否支持3D",
|
|
76894
77099
|
"type": "boolean"
|
|
76895
77100
|
},
|
|
77101
|
+
"textType": {
|
|
77102
|
+
"type": "string"
|
|
77103
|
+
},
|
|
76896
77104
|
"top": {
|
|
76897
77105
|
"$ref": "#/definitions/ILayoutNumber",
|
|
76898
77106
|
"description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
|
|
@@ -79499,6 +79707,9 @@
|
|
|
79499
79707
|
"enableScroll": {
|
|
79500
79708
|
"type": "boolean"
|
|
79501
79709
|
},
|
|
79710
|
+
"event": {
|
|
79711
|
+
"typeof": "function"
|
|
79712
|
+
},
|
|
79502
79713
|
"height": {
|
|
79503
79714
|
"type": "number"
|
|
79504
79715
|
},
|
|
@@ -80630,12 +80841,21 @@
|
|
|
80630
80841
|
},
|
|
80631
80842
|
"text": {
|
|
80632
80843
|
"anyOf": [
|
|
80844
|
+
{
|
|
80845
|
+
"$ref": "#/definitions/Function"
|
|
80846
|
+
},
|
|
80633
80847
|
{
|
|
80634
80848
|
"items": {
|
|
80635
80849
|
"type": "string"
|
|
80636
80850
|
},
|
|
80637
80851
|
"type": "array"
|
|
80638
80852
|
},
|
|
80853
|
+
{
|
|
80854
|
+
"items": {
|
|
80855
|
+
"$ref": "#/definitions/IRichTextCharacter"
|
|
80856
|
+
},
|
|
80857
|
+
"type": "array"
|
|
80858
|
+
},
|
|
80639
80859
|
{
|
|
80640
80860
|
"type": [
|
|
80641
80861
|
"string",
|
|
@@ -80669,6 +80889,16 @@
|
|
|
80669
80889
|
"description": "纹理单元的大小",
|
|
80670
80890
|
"type": "number"
|
|
80671
80891
|
},
|
|
80892
|
+
"type": {
|
|
80893
|
+
"default": "'text'",
|
|
80894
|
+
"description": "文字类型\n可选,'html', 'rich', 'text'",
|
|
80895
|
+
"enum": [
|
|
80896
|
+
"html",
|
|
80897
|
+
"rich",
|
|
80898
|
+
"text"
|
|
80899
|
+
],
|
|
80900
|
+
"type": "string"
|
|
80901
|
+
},
|
|
80672
80902
|
"underline": {
|
|
80673
80903
|
"description": "下划线",
|
|
80674
80904
|
"type": "boolean"
|
|
@@ -83527,34 +83757,34 @@
|
|
|
83527
83757
|
},
|
|
83528
83758
|
"Promise<FontFaceSet>": {
|
|
83529
83759
|
"properties": {
|
|
83530
|
-
"__@toStringTag@
|
|
83760
|
+
"__@toStringTag@13826": {
|
|
83531
83761
|
"type": "string"
|
|
83532
83762
|
}
|
|
83533
83763
|
},
|
|
83534
83764
|
"required": [
|
|
83535
|
-
"__@toStringTag@
|
|
83765
|
+
"__@toStringTag@13826"
|
|
83536
83766
|
],
|
|
83537
83767
|
"type": "object"
|
|
83538
83768
|
},
|
|
83539
83769
|
"Promise<ServiceWorkerRegistration>": {
|
|
83540
83770
|
"properties": {
|
|
83541
|
-
"__@toStringTag@
|
|
83771
|
+
"__@toStringTag@13826": {
|
|
83542
83772
|
"type": "string"
|
|
83543
83773
|
}
|
|
83544
83774
|
},
|
|
83545
83775
|
"required": [
|
|
83546
|
-
"__@toStringTag@
|
|
83776
|
+
"__@toStringTag@13826"
|
|
83547
83777
|
],
|
|
83548
83778
|
"type": "object"
|
|
83549
83779
|
},
|
|
83550
83780
|
"Promise<any>": {
|
|
83551
83781
|
"properties": {
|
|
83552
|
-
"__@toStringTag@
|
|
83782
|
+
"__@toStringTag@13826": {
|
|
83553
83783
|
"type": "string"
|
|
83554
83784
|
}
|
|
83555
83785
|
},
|
|
83556
83786
|
"required": [
|
|
83557
|
-
"__@toStringTag@
|
|
83787
|
+
"__@toStringTag@13826"
|
|
83558
83788
|
],
|
|
83559
83789
|
"type": "object"
|
|
83560
83790
|
},
|
|
@@ -94142,6 +94372,9 @@
|
|
|
94142
94372
|
],
|
|
94143
94373
|
"type": "string"
|
|
94144
94374
|
},
|
|
94375
|
+
"mode": {
|
|
94376
|
+
"type": "string"
|
|
94377
|
+
},
|
|
94145
94378
|
"outsideEnable": {
|
|
94146
94379
|
"type": "boolean"
|
|
94147
94380
|
},
|
|
@@ -94332,6 +94565,19 @@
|
|
|
94332
94565
|
}
|
|
94333
94566
|
]
|
|
94334
94567
|
},
|
|
94568
|
+
"TooltipContentProperty<string|TooltipRichTextAttrs>": {
|
|
94569
|
+
"anyOf": [
|
|
94570
|
+
{
|
|
94571
|
+
"typeof": "function"
|
|
94572
|
+
},
|
|
94573
|
+
{
|
|
94574
|
+
"typeof": "function"
|
|
94575
|
+
},
|
|
94576
|
+
{
|
|
94577
|
+
"type": "string"
|
|
94578
|
+
}
|
|
94579
|
+
]
|
|
94580
|
+
},
|
|
94335
94581
|
"TooltipPatternProperty<IToolTipLinePattern>": {
|
|
94336
94582
|
"anyOf": [
|
|
94337
94583
|
{
|
|
@@ -94538,6 +94784,27 @@
|
|
|
94538
94784
|
}
|
|
94539
94785
|
]
|
|
94540
94786
|
},
|
|
94787
|
+
"VisualType<\"text\"|\"html\"|\"rich\">": {
|
|
94788
|
+
"anyOf": [
|
|
94789
|
+
{
|
|
94790
|
+
"$ref": "#/definitions/IVisualScale"
|
|
94791
|
+
},
|
|
94792
|
+
{
|
|
94793
|
+
"typeof": "function"
|
|
94794
|
+
},
|
|
94795
|
+
{
|
|
94796
|
+
"$ref": "#/definitions/IVisualSpecStyle<unknown,\"text\"|\"html\"|\"rich\">"
|
|
94797
|
+
},
|
|
94798
|
+
{
|
|
94799
|
+
"enum": [
|
|
94800
|
+
"html",
|
|
94801
|
+
"rich",
|
|
94802
|
+
"text"
|
|
94803
|
+
],
|
|
94804
|
+
"type": "string"
|
|
94805
|
+
}
|
|
94806
|
+
]
|
|
94807
|
+
},
|
|
94541
94808
|
"VisualType<(datum:Datum)=>number>": {
|
|
94542
94809
|
"anyOf": [
|
|
94543
94810
|
{
|
|
@@ -94722,6 +94989,40 @@
|
|
|
94722
94989
|
}
|
|
94723
94990
|
]
|
|
94724
94991
|
},
|
|
94992
|
+
"VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>": {
|
|
94993
|
+
"anyOf": [
|
|
94994
|
+
{
|
|
94995
|
+
"$ref": "#/definitions/Function"
|
|
94996
|
+
},
|
|
94997
|
+
{
|
|
94998
|
+
"items": {
|
|
94999
|
+
"type": "string"
|
|
95000
|
+
},
|
|
95001
|
+
"type": "array"
|
|
95002
|
+
},
|
|
95003
|
+
{
|
|
95004
|
+
"$ref": "#/definitions/IVisualScale"
|
|
95005
|
+
},
|
|
95006
|
+
{
|
|
95007
|
+
"items": {
|
|
95008
|
+
"$ref": "#/definitions/IRichTextCharacter"
|
|
95009
|
+
},
|
|
95010
|
+
"type": "array"
|
|
95011
|
+
},
|
|
95012
|
+
{
|
|
95013
|
+
"typeof": "function"
|
|
95014
|
+
},
|
|
95015
|
+
{
|
|
95016
|
+
"$ref": "#/definitions/IVisualSpecStyle<unknown,Function|string[]|StringOrNumber|IRichTextCharacter[]>"
|
|
95017
|
+
},
|
|
95018
|
+
{
|
|
95019
|
+
"type": [
|
|
95020
|
+
"string",
|
|
95021
|
+
"number"
|
|
95022
|
+
]
|
|
95023
|
+
}
|
|
95024
|
+
]
|
|
95025
|
+
},
|
|
94725
95026
|
"VisualType<IBorder>": {
|
|
94726
95027
|
"anyOf": [
|
|
94727
95028
|
{
|
|
@@ -95130,31 +95431,6 @@
|
|
|
95130
95431
|
}
|
|
95131
95432
|
]
|
|
95132
95433
|
},
|
|
95133
|
-
"VisualType<string[]|StringOrNumber>": {
|
|
95134
|
-
"anyOf": [
|
|
95135
|
-
{
|
|
95136
|
-
"items": {
|
|
95137
|
-
"type": "string"
|
|
95138
|
-
},
|
|
95139
|
-
"type": "array"
|
|
95140
|
-
},
|
|
95141
|
-
{
|
|
95142
|
-
"$ref": "#/definitions/IVisualScale"
|
|
95143
|
-
},
|
|
95144
|
-
{
|
|
95145
|
-
"typeof": "function"
|
|
95146
|
-
},
|
|
95147
|
-
{
|
|
95148
|
-
"$ref": "#/definitions/IVisualSpecStyle<unknown,string[]|StringOrNumber>"
|
|
95149
|
-
},
|
|
95150
|
-
{
|
|
95151
|
-
"type": [
|
|
95152
|
-
"string",
|
|
95153
|
-
"number"
|
|
95154
|
-
]
|
|
95155
|
-
}
|
|
95156
|
-
]
|
|
95157
|
-
},
|
|
95158
95434
|
"VisualType<string|HTMLCanvasElement|HTMLImageElement>": {
|
|
95159
95435
|
"anyOf": [
|
|
95160
95436
|
{
|