@visactor/vchart-schema 1.12.10-alpha.0 → 1.12.10

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 +108 -50
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.12.10-alpha.0",
3
+ "version": "1.12.10",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
package/vchart.json CHANGED
@@ -55757,12 +55757,32 @@
55757
55757
  "type": "number"
55758
55758
  },
55759
55759
  "centerX": {
55760
- "description": "饼图中心点 x 坐标",
55761
- "type": "number"
55760
+ "anyOf": [
55761
+ {
55762
+ "items": {
55763
+ "type": "string"
55764
+ },
55765
+ "type": "array"
55766
+ },
55767
+ {
55768
+ "type": "number"
55769
+ }
55770
+ ],
55771
+ "description": "饼图中心点 x 坐标"
55762
55772
  },
55763
55773
  "centerY": {
55764
- "description": "饼图中心点 y 坐标",
55765
- "type": "number"
55774
+ "anyOf": [
55775
+ {
55776
+ "items": {
55777
+ "type": "string"
55778
+ },
55779
+ "type": "array"
55780
+ },
55781
+ {
55782
+ "type": "number"
55783
+ }
55784
+ ],
55785
+ "description": "饼图中心点 y 坐标"
55766
55786
  },
55767
55787
  "color": {
55768
55788
  "anyOf": [
@@ -56355,12 +56375,32 @@
56355
56375
  "type": "number"
56356
56376
  },
56357
56377
  "centerX": {
56358
- "description": "饼图中心点 x 坐标",
56359
- "type": "number"
56378
+ "anyOf": [
56379
+ {
56380
+ "items": {
56381
+ "type": "string"
56382
+ },
56383
+ "type": "array"
56384
+ },
56385
+ {
56386
+ "type": "number"
56387
+ }
56388
+ ],
56389
+ "description": "饼图中心点 x 坐标"
56360
56390
  },
56361
56391
  "centerY": {
56362
- "description": "饼图中心点 y 坐标",
56363
- "type": "number"
56392
+ "anyOf": [
56393
+ {
56394
+ "items": {
56395
+ "type": "string"
56396
+ },
56397
+ "type": "array"
56398
+ },
56399
+ {
56400
+ "type": "number"
56401
+ }
56402
+ ],
56403
+ "description": "饼图中心点 y 坐标"
56364
56404
  },
56365
56405
  "color": {
56366
56406
  "anyOf": [
@@ -56887,12 +56927,32 @@
56887
56927
  "type": "number"
56888
56928
  },
56889
56929
  "centerX": {
56890
- "description": "饼图中心点 x 坐标",
56891
- "type": "number"
56930
+ "anyOf": [
56931
+ {
56932
+ "items": {
56933
+ "type": "string"
56934
+ },
56935
+ "type": "array"
56936
+ },
56937
+ {
56938
+ "type": "number"
56939
+ }
56940
+ ],
56941
+ "description": "饼图中心点 x 坐标"
56892
56942
  },
56893
56943
  "centerY": {
56894
- "description": "饼图中心点 y 坐标",
56895
- "type": "number"
56944
+ "anyOf": [
56945
+ {
56946
+ "items": {
56947
+ "type": "string"
56948
+ },
56949
+ "type": "array"
56950
+ },
56951
+ {
56952
+ "type": "number"
56953
+ }
56954
+ ],
56955
+ "description": "饼图中心点 y 坐标"
56896
56956
  },
56897
56957
  "cornerRadius": {
56898
56958
  "default": 0,
@@ -74765,23 +74825,13 @@
74765
74825
  },
74766
74826
  "trigger": {
74767
74827
  "anyOf": [
74768
- {
74769
- "typeof": "function"
74770
- },
74771
74828
  {
74772
74829
  "items": {
74773
- "anyOf": [
74774
- {
74775
- "typeof": "function"
74776
- },
74777
- {
74778
- "enum": [
74779
- "click",
74780
- "hover"
74781
- ],
74782
- "type": "string"
74783
- }
74784
- ]
74830
+ "enum": [
74831
+ "click",
74832
+ "hover"
74833
+ ],
74834
+ "type": "string"
74785
74835
  },
74786
74836
  "type": "array"
74787
74837
  },
@@ -74794,28 +74844,17 @@
74794
74844
  "type": "string"
74795
74845
  }
74796
74846
  ],
74797
- "description": "tooltip触发方式\n(*会影响自定义handler)",
74798
- "since": "1.12.10 支持自定义的事件触发"
74847
+ "description": "tooltip触发方式\n(*会影响自定义handler)"
74799
74848
  },
74800
74849
  "triggerOff": {
74801
74850
  "anyOf": [
74802
- {
74803
- "typeof": "function"
74804
- },
74805
74851
  {
74806
74852
  "items": {
74807
- "anyOf": [
74808
- {
74809
- "typeof": "function"
74810
- },
74811
- {
74812
- "enum": [
74813
- "click",
74814
- "hover"
74815
- ],
74816
- "type": "string"
74817
- }
74818
- ]
74853
+ "enum": [
74854
+ "click",
74855
+ "hover"
74856
+ ],
74857
+ "type": "string"
74819
74858
  },
74820
74859
  "type": "array"
74821
74860
  },
@@ -74828,8 +74867,7 @@
74828
74867
  "type": "string"
74829
74868
  }
74830
74869
  ],
74831
- "description": "隐藏tooltip的触发方式(目前仅支持和trigger一致的设置以及none)\n(*会影响自定义handler)",
74832
- "since": "1.12.10 支持自定义的事件触发"
74870
+ "description": "隐藏tooltip的触发方式(目前仅支持和trigger一致的设置以及none)\n(*会影响自定义handler)"
74833
74871
  },
74834
74872
  "updateElement": {
74835
74873
  "typeof": "function"
@@ -86902,12 +86940,32 @@
86902
86940
  "type": "number"
86903
86941
  },
86904
86942
  "centerX": {
86905
- "description": "饼图中心点 x 坐标",
86906
- "type": "number"
86943
+ "anyOf": [
86944
+ {
86945
+ "items": {
86946
+ "type": "string"
86947
+ },
86948
+ "type": "array"
86949
+ },
86950
+ {
86951
+ "type": "number"
86952
+ }
86953
+ ],
86954
+ "description": "饼图中心点 x 坐标"
86907
86955
  },
86908
86956
  "centerY": {
86909
- "description": "饼图中心点 y 坐标",
86910
- "type": "number"
86957
+ "anyOf": [
86958
+ {
86959
+ "items": {
86960
+ "type": "string"
86961
+ },
86962
+ "type": "array"
86963
+ },
86964
+ {
86965
+ "type": "number"
86966
+ }
86967
+ ],
86968
+ "description": "饼图中心点 y 坐标"
86911
86969
  },
86912
86970
  "cornerRadius": {
86913
86971
  "default": 0,