@visactor/vchart-schema 2.0.0-alpha.4 → 2.0.1-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 +204 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.1-alpha.0",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
package/vchart.json CHANGED
@@ -605,6 +605,10 @@
605
605
  "options": {
606
606
  "description": "动画 effect 配置项"
607
607
  },
608
+ "selfOnly": {
609
+ "description": "该动画是否需要忽略子图元",
610
+ "type": "boolean"
611
+ },
608
612
  "startTime": {
609
613
  "$ref": "#/definitions/GraphicFunctionValueType<number>"
610
614
  },
@@ -836,6 +840,10 @@
836
840
  "options": {
837
841
  "description": "动画 effect 配置项"
838
842
  },
843
+ "selfOnly": {
844
+ "description": "该动画是否需要忽略子图元",
845
+ "type": "boolean"
846
+ },
839
847
  "startTime": {
840
848
  "$ref": "#/definitions/GraphicFunctionValueType<number>"
841
849
  },
@@ -20417,6 +20425,10 @@
20417
20425
  "description": "柱状背景图元",
20418
20426
  "since": "1.6.0"
20419
20427
  },
20428
+ "barGap": {
20429
+ "description": "柱条间 gap 值 @since 1.13.11",
20430
+ "type": "number"
20431
+ },
20420
20432
  "barGapInGroup": {
20421
20433
  "anyOf": [
20422
20434
  {
@@ -21543,6 +21555,10 @@
21543
21555
  "description": "柱状背景图元",
21544
21556
  "since": "1.6.0"
21545
21557
  },
21558
+ "barGap": {
21559
+ "description": "柱条间 gap 值 @since 1.13.11",
21560
+ "type": "number"
21561
+ },
21546
21562
  "barGapInGroup": {
21547
21563
  "anyOf": [
21548
21564
  {
@@ -23963,6 +23979,12 @@
23963
23979
  "$ref": "#/definitions/Partial<IPolygonMarkSpec>",
23964
23980
  "description": "brush 的框选样式"
23965
23981
  },
23982
+ "updateElementsState": {
23983
+ "default": true,
23984
+ "description": "是否更新图元状态\n关闭时, brush 事件不会触发图元状态更新, 优化缩放场景下的性能",
23985
+ "since": "1.13.13",
23986
+ "type": "boolean"
23987
+ },
23966
23988
  "visible": {
23967
23989
  "default": true,
23968
23990
  "description": "组件可见性",
@@ -29984,6 +30006,11 @@
29984
30006
  "$ref": "#/definitions/Partial<ITextMarkSpec>",
29985
30007
  "description": "文本样式配置"
29986
30008
  },
30009
+ "syncAxisLabelAngle": {
30010
+ "description": "文本是否跟随轴标签的角度旋转,目前只在直角坐标系下支持",
30011
+ "since": "1.13.12",
30012
+ "type": "boolean"
30013
+ },
29987
30014
  "visible": {
29988
30015
  "description": "十字准星辅助标签是否展示",
29989
30016
  "type": "boolean"
@@ -30284,8 +30311,7 @@
30284
30311
  },
30285
30312
  "trigger": {
30286
30313
  "$ref": "#/definitions/CrossHairTrigger",
30287
- "default": "'hover'",
30288
- "description": "是否可以通过 点击 固定住一组 crosshair,也可以同时触发。"
30314
+ "description": "crosshair trigger配置"
30289
30315
  },
30290
30316
  "triggerOff": {
30291
30317
  "anyOf": [
@@ -41220,6 +41246,10 @@
41220
41246
  "description": "柱状背景图元",
41221
41247
  "since": "1.6.0"
41222
41248
  },
41249
+ "barGap": {
41250
+ "description": "柱条间 gap 值 @since 1.13.11",
41251
+ "type": "number"
41252
+ },
41223
41253
  "barGapInGroup": {
41224
41254
  "anyOf": [
41225
41255
  {
@@ -59854,6 +59884,10 @@
59854
59884
  "description": "柱状背景图元",
59855
59885
  "since": "1.6.0"
59856
59886
  },
59887
+ "barGap": {
59888
+ "description": "柱条间 gap 值 @since 1.13.11",
59889
+ "type": "number"
59890
+ },
59857
59891
  "barGapInGroup": {
59858
59892
  "anyOf": [
59859
59893
  {
@@ -60996,6 +61030,10 @@
60996
61030
  "description": "柱状背景图元",
60997
61031
  "since": "1.6.0"
60998
61032
  },
61033
+ "barGap": {
61034
+ "description": "柱条间 gap 值 @since 1.13.11",
61035
+ "type": "number"
61036
+ },
60999
61037
  "barGapInGroup": {
61000
61038
  "anyOf": [
61001
61039
  {
@@ -72135,6 +72173,72 @@
72135
72173
  "since": "1.11.9",
72136
72174
  "type": "number"
72137
72175
  },
72176
+ "trigger": {
72177
+ "anyOf": [
72178
+ {
72179
+ "typeof": "function"
72180
+ },
72181
+ {
72182
+ "items": {
72183
+ "anyOf": [
72184
+ {
72185
+ "typeof": "function"
72186
+ },
72187
+ {
72188
+ "enum": [
72189
+ "click",
72190
+ "hover"
72191
+ ],
72192
+ "type": "string"
72193
+ }
72194
+ ]
72195
+ },
72196
+ "type": "array"
72197
+ },
72198
+ {
72199
+ "enum": [
72200
+ "click",
72201
+ "hover",
72202
+ "none"
72203
+ ],
72204
+ "type": "string"
72205
+ }
72206
+ ],
72207
+ "description": "tooltip触发方式\n(*会影响自定义handler)"
72208
+ },
72209
+ "triggerOff": {
72210
+ "anyOf": [
72211
+ {
72212
+ "typeof": "function"
72213
+ },
72214
+ {
72215
+ "items": {
72216
+ "anyOf": [
72217
+ {
72218
+ "typeof": "function"
72219
+ },
72220
+ {
72221
+ "enum": [
72222
+ "click",
72223
+ "hover"
72224
+ ],
72225
+ "type": "string"
72226
+ }
72227
+ ]
72228
+ },
72229
+ "type": "array"
72230
+ },
72231
+ {
72232
+ "enum": [
72233
+ "click",
72234
+ "hover",
72235
+ "none"
72236
+ ],
72237
+ "type": "string"
72238
+ }
72239
+ ],
72240
+ "description": "隐藏tooltip的触发方式(目前仅支持和trigger一致的设置以及none)\n(*会影响自定义handler)"
72241
+ },
72138
72242
  "valueLabel": {
72139
72243
  "$ref": "#/definitions/ITooltipTextTheme<string|IColorKey>",
72140
72244
  "description": "tooltip内容,value字段"
@@ -75846,6 +75950,10 @@
75846
75950
  "description": "柱状背景图元",
75847
75951
  "since": "1.6.0"
75848
75952
  },
75953
+ "barGap": {
75954
+ "description": "柱条间 gap 值 @since 1.13.11",
75955
+ "type": "number"
75956
+ },
75849
75957
  "barGapInGroup": {
75850
75958
  "anyOf": [
75851
75959
  {
@@ -77017,6 +77125,10 @@
77017
77125
  "description": "柱状背景图元",
77018
77126
  "since": "1.6.0"
77019
77127
  },
77128
+ "barGap": {
77129
+ "description": "柱条间 gap 值 @since 1.13.11",
77130
+ "type": "number"
77131
+ },
77020
77132
  "barGapInGroup": {
77021
77133
  "anyOf": [
77022
77134
  {
@@ -78802,7 +78914,7 @@
78802
78914
  },
78803
78915
  "Map<Function,(...args:any[])=>void>": {
78804
78916
  "properties": {
78805
- "__@toStringTag@12761": {
78917
+ "__@toStringTag@12762": {
78806
78918
  "type": "string"
78807
78919
  },
78808
78920
  "size": {
@@ -78810,14 +78922,14 @@
78810
78922
  }
78811
78923
  },
78812
78924
  "required": [
78813
- "__@toStringTag@12761",
78925
+ "__@toStringTag@12762",
78814
78926
  "size"
78815
78927
  ],
78816
78928
  "type": "object"
78817
78929
  },
78818
78930
  "Map<number,IGraphicRender>": {
78819
78931
  "properties": {
78820
- "__@toStringTag@12761": {
78932
+ "__@toStringTag@12762": {
78821
78933
  "type": "string"
78822
78934
  },
78823
78935
  "size": {
@@ -78825,14 +78937,14 @@
78825
78937
  }
78826
78938
  },
78827
78939
  "required": [
78828
- "__@toStringTag@12761",
78940
+ "__@toStringTag@12762",
78829
78941
  "size"
78830
78942
  ],
78831
78943
  "type": "object"
78832
78944
  },
78833
78945
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
78834
78946
  "properties": {
78835
- "__@toStringTag@12761": {
78947
+ "__@toStringTag@12762": {
78836
78948
  "type": "string"
78837
78949
  },
78838
78950
  "size": {
@@ -78840,14 +78952,14 @@
78840
78952
  }
78841
78953
  },
78842
78954
  "required": [
78843
- "__@toStringTag@12761",
78955
+ "__@toStringTag@12762",
78844
78956
  "size"
78845
78957
  ],
78846
78958
  "type": "object"
78847
78959
  },
78848
78960
  "Map<string,Map<number,IGraphicRender>>": {
78849
78961
  "properties": {
78850
- "__@toStringTag@12761": {
78962
+ "__@toStringTag@12762": {
78851
78963
  "type": "string"
78852
78964
  },
78853
78965
  "size": {
@@ -78855,14 +78967,14 @@
78855
78967
  }
78856
78968
  },
78857
78969
  "required": [
78858
- "__@toStringTag@12761",
78970
+ "__@toStringTag@12762",
78859
78971
  "size"
78860
78972
  ],
78861
78973
  "type": "object"
78862
78974
  },
78863
78975
  "Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
78864
78976
  "properties": {
78865
- "__@toStringTag@12761": {
78977
+ "__@toStringTag@12762": {
78866
78978
  "type": "string"
78867
78979
  },
78868
78980
  "size": {
@@ -78870,14 +78982,14 @@
78870
78982
  }
78871
78983
  },
78872
78984
  "required": [
78873
- "__@toStringTag@12761",
78985
+ "__@toStringTag@12762",
78874
78986
  "size"
78875
78987
  ],
78876
78988
  "type": "object"
78877
78989
  },
78878
78990
  "Map<string|HTMLElement,{container:string|HTMLElement;dom:any;wrapGroup:any;root?:any;}>": {
78879
78991
  "properties": {
78880
- "__@toStringTag@12761": {
78992
+ "__@toStringTag@12762": {
78881
78993
  "type": "string"
78882
78994
  },
78883
78995
  "size": {
@@ -78885,14 +78997,14 @@
78885
78997
  }
78886
78998
  },
78887
78999
  "required": [
78888
- "__@toStringTag@12761",
79000
+ "__@toStringTag@12762",
78889
79001
  "size"
78890
79002
  ],
78891
79003
  "type": "object"
78892
79004
  },
78893
79005
  "Map<string|number,IAnimate>": {
78894
79006
  "properties": {
78895
- "__@toStringTag@12761": {
79007
+ "__@toStringTag@12762": {
78896
79008
  "type": "string"
78897
79009
  },
78898
79010
  "size": {
@@ -78900,7 +79012,7 @@
78900
79012
  }
78901
79013
  },
78902
79014
  "required": [
78903
- "__@toStringTag@12761",
79015
+ "__@toStringTag@12762",
78904
79016
  "size"
78905
79017
  ],
78906
79018
  "type": "object"
@@ -83149,6 +83261,72 @@
83149
83261
  "$ref": "#/definitions/ITooltipTextTheme<string>",
83150
83262
  "description": "tooltip标题"
83151
83263
  },
83264
+ "trigger": {
83265
+ "anyOf": [
83266
+ {
83267
+ "typeof": "function"
83268
+ },
83269
+ {
83270
+ "items": {
83271
+ "anyOf": [
83272
+ {
83273
+ "typeof": "function"
83274
+ },
83275
+ {
83276
+ "enum": [
83277
+ "click",
83278
+ "hover"
83279
+ ],
83280
+ "type": "string"
83281
+ }
83282
+ ]
83283
+ },
83284
+ "type": "array"
83285
+ },
83286
+ {
83287
+ "enum": [
83288
+ "click",
83289
+ "hover",
83290
+ "none"
83291
+ ],
83292
+ "type": "string"
83293
+ }
83294
+ ],
83295
+ "description": "tooltip触发方式\n(*会影响自定义handler)"
83296
+ },
83297
+ "triggerOff": {
83298
+ "anyOf": [
83299
+ {
83300
+ "typeof": "function"
83301
+ },
83302
+ {
83303
+ "items": {
83304
+ "anyOf": [
83305
+ {
83306
+ "typeof": "function"
83307
+ },
83308
+ {
83309
+ "enum": [
83310
+ "click",
83311
+ "hover"
83312
+ ],
83313
+ "type": "string"
83314
+ }
83315
+ ]
83316
+ },
83317
+ "type": "array"
83318
+ },
83319
+ {
83320
+ "enum": [
83321
+ "click",
83322
+ "hover",
83323
+ "none"
83324
+ ],
83325
+ "type": "string"
83326
+ }
83327
+ ],
83328
+ "description": "隐藏tooltip的触发方式(目前仅支持和trigger一致的设置以及none)\n(*会影响自定义handler)"
83329
+ },
83152
83330
  "valueLabel": {
83153
83331
  "$ref": "#/definitions/ITooltipTextTheme<string>",
83154
83332
  "description": "tooltip内容,value字段"
@@ -100312,34 +100490,34 @@
100312
100490
  },
100313
100491
  "Promise<FontFaceSet>": {
100314
100492
  "properties": {
100315
- "__@toStringTag@12761": {
100493
+ "__@toStringTag@12762": {
100316
100494
  "type": "string"
100317
100495
  }
100318
100496
  },
100319
100497
  "required": [
100320
- "__@toStringTag@12761"
100498
+ "__@toStringTag@12762"
100321
100499
  ],
100322
100500
  "type": "object"
100323
100501
  },
100324
100502
  "Promise<ServiceWorkerRegistration>": {
100325
100503
  "properties": {
100326
- "__@toStringTag@12761": {
100504
+ "__@toStringTag@12762": {
100327
100505
  "type": "string"
100328
100506
  }
100329
100507
  },
100330
100508
  "required": [
100331
- "__@toStringTag@12761"
100509
+ "__@toStringTag@12762"
100332
100510
  ],
100333
100511
  "type": "object"
100334
100512
  },
100335
100513
  "Promise<any>": {
100336
100514
  "properties": {
100337
- "__@toStringTag@12761": {
100515
+ "__@toStringTag@12762": {
100338
100516
  "type": "string"
100339
100517
  }
100340
100518
  },
100341
100519
  "required": [
100342
- "__@toStringTag@12761"
100520
+ "__@toStringTag@12762"
100343
100521
  ],
100344
100522
  "type": "object"
100345
100523
  },
@@ -114983,6 +115161,10 @@
114983
115161
  "options": {
114984
115162
  "description": "动画 effect 配置项"
114985
115163
  },
115164
+ "selfOnly": {
115165
+ "description": "该动画是否需要忽略子图元",
115166
+ "type": "boolean"
115167
+ },
114986
115168
  "startTime": {
114987
115169
  "$ref": "#/definitions/GraphicFunctionValueType<number>"
114988
115170
  },