@visactor/vchart-schema 1.11.2-alpha.4 → 1.11.2

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 +168 -68
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.11.2-alpha.4",
3
+ "version": "1.11.2",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
package/vchart.json CHANGED
@@ -27310,12 +27310,20 @@
27310
27310
  "description": "分类字段"
27311
27311
  },
27312
27312
  "centerX": {
27313
- "description": "饼图中心点 x 坐标",
27314
- "type": "number"
27313
+ "description": "中心点 x 坐标",
27314
+ "since": "1.11.2 支持百分比字符串",
27315
+ "type": [
27316
+ "string",
27317
+ "number"
27318
+ ]
27315
27319
  },
27316
27320
  "centerY": {
27317
- "description": "饼图中心点 y 坐标",
27318
- "type": "number"
27321
+ "description": "中心点 y 坐标",
27322
+ "since": "1.11.2 支持百分比字符串",
27323
+ "type": [
27324
+ "string",
27325
+ "number"
27326
+ ]
27319
27327
  },
27320
27328
  "color": {
27321
27329
  "anyOf": [
@@ -27816,12 +27824,20 @@
27816
27824
  "description": "分类字段"
27817
27825
  },
27818
27826
  "centerX": {
27819
- "description": "饼图中心点 x 坐标",
27820
- "type": "number"
27827
+ "description": "中心点 x 坐标",
27828
+ "since": "1.11.2 支持百分比字符串",
27829
+ "type": [
27830
+ "string",
27831
+ "number"
27832
+ ]
27821
27833
  },
27822
27834
  "centerY": {
27823
- "description": "饼图中心点 y 坐标",
27824
- "type": "number"
27835
+ "description": "中心点 y 坐标",
27836
+ "since": "1.11.2 支持百分比字符串",
27837
+ "type": [
27838
+ "string",
27839
+ "number"
27840
+ ]
27825
27841
  },
27826
27842
  "cornerRadius": {
27827
27843
  "default": 0,
@@ -28480,6 +28496,18 @@
28480
28496
  "since": "1.2.0",
28481
28497
  "type": "number"
28482
28498
  },
28499
+ "autoBandSize": {
28500
+ "anyOf": [
28501
+ {
28502
+ "typeof": "function"
28503
+ },
28504
+ {
28505
+ "type": "boolean"
28506
+ }
28507
+ ],
28508
+ "description": "是否开启自动 bandSize。如果开启,会根据传入的 barWidth 等配置自动计算 bandSize,从而影响轴实际长度",
28509
+ "since": "1.11.2"
28510
+ },
28483
28511
  "autoFit": {
28484
28512
  "description": "图表宽高是否自适应容器,浏览器环境下默认为 true。\n该配置的优先级高于构造函数中的 autoFit 配置。\n如果用户配置了 width,则以用户配置的 width 为准,height 同理。",
28485
28513
  "type": "boolean"
@@ -36750,12 +36778,20 @@
36750
36778
  "description": "类别字段"
36751
36779
  },
36752
36780
  "centerX": {
36753
- "description": "饼图中心点 x 坐标",
36754
- "type": "number"
36781
+ "description": "中心点 x 坐标",
36782
+ "since": "1.11.2 支持百分比字符串",
36783
+ "type": [
36784
+ "string",
36785
+ "number"
36786
+ ]
36755
36787
  },
36756
36788
  "centerY": {
36757
- "description": "饼图中心点 y 坐标",
36758
- "type": "number"
36789
+ "description": "中心点 y 坐标",
36790
+ "since": "1.11.2 支持百分比字符串",
36791
+ "type": [
36792
+ "string",
36793
+ "number"
36794
+ ]
36759
36795
  },
36760
36796
  "color": {
36761
36797
  "anyOf": [
@@ -37316,12 +37352,20 @@
37316
37352
  "description": "类别字段"
37317
37353
  },
37318
37354
  "centerX": {
37319
- "description": "饼图中心点 x 坐标",
37320
- "type": "number"
37355
+ "description": "中心点 x 坐标",
37356
+ "since": "1.11.2 支持百分比字符串",
37357
+ "type": [
37358
+ "string",
37359
+ "number"
37360
+ ]
37321
37361
  },
37322
37362
  "centerY": {
37323
- "description": "饼图中心点 y 坐标",
37324
- "type": "number"
37363
+ "description": "中心点 y 坐标",
37364
+ "since": "1.11.2 支持百分比字符串",
37365
+ "type": [
37366
+ "string",
37367
+ "number"
37368
+ ]
37325
37369
  },
37326
37370
  "cornerRadius": {
37327
37371
  "description": "圆角半径",
@@ -37767,12 +37811,20 @@
37767
37811
  "description": "类别字段"
37768
37812
  },
37769
37813
  "centerX": {
37770
- "description": "饼图中心点 x 坐标",
37771
- "type": "number"
37814
+ "description": "中心点 x 坐标",
37815
+ "since": "1.11.2 支持百分比字符串",
37816
+ "type": [
37817
+ "string",
37818
+ "number"
37819
+ ]
37772
37820
  },
37773
37821
  "centerY": {
37774
- "description": "饼图中心点 y 坐标",
37775
- "type": "number"
37822
+ "description": "中心点 y 坐标",
37823
+ "since": "1.11.2 支持百分比字符串",
37824
+ "type": [
37825
+ "string",
37826
+ "number"
37827
+ ]
37776
37828
  },
37777
37829
  "cornerRadius": {
37778
37830
  "description": "圆角半径",
@@ -58357,12 +58409,20 @@
58357
58409
  "description": "类别字段"
58358
58410
  },
58359
58411
  "centerX": {
58360
- "description": "饼图中心点 x 坐标",
58361
- "type": "number"
58412
+ "description": "中心点 x 坐标",
58413
+ "since": "1.11.2 支持百分比字符串",
58414
+ "type": [
58415
+ "string",
58416
+ "number"
58417
+ ]
58362
58418
  },
58363
58419
  "centerY": {
58364
- "description": "饼图中心点 y 坐标",
58365
- "type": "number"
58420
+ "description": "中心点 y 坐标",
58421
+ "since": "1.11.2 支持百分比字符串",
58422
+ "type": [
58423
+ "string",
58424
+ "number"
58425
+ ]
58366
58426
  },
58367
58427
  "color": {
58368
58428
  "anyOf": [
@@ -58901,12 +58961,20 @@
58901
58961
  "description": "类别字段"
58902
58962
  },
58903
58963
  "centerX": {
58904
- "description": "饼图中心点 x 坐标",
58905
- "type": "number"
58964
+ "description": "中心点 x 坐标",
58965
+ "since": "1.11.2 支持百分比字符串",
58966
+ "type": [
58967
+ "string",
58968
+ "number"
58969
+ ]
58906
58970
  },
58907
58971
  "centerY": {
58908
- "description": "饼图中心点 y 坐标",
58909
- "type": "number"
58972
+ "description": "中心点 y 坐标",
58973
+ "since": "1.11.2 支持百分比字符串",
58974
+ "type": [
58975
+ "string",
58976
+ "number"
58977
+ ]
58910
58978
  },
58911
58979
  "data": {
58912
58980
  "$ref": "#/definitions/IDataType",
@@ -64810,12 +64878,20 @@
64810
64878
  "description": "分类字段"
64811
64879
  },
64812
64880
  "centerX": {
64813
- "description": "饼图中心点 x 坐标",
64814
- "type": "number"
64881
+ "description": "中心点 x 坐标",
64882
+ "since": "1.11.2 支持百分比字符串",
64883
+ "type": [
64884
+ "string",
64885
+ "number"
64886
+ ]
64815
64887
  },
64816
64888
  "centerY": {
64817
- "description": "饼图中心点 y 坐标",
64818
- "type": "number"
64889
+ "description": "中心点 y 坐标",
64890
+ "since": "1.11.2 支持百分比字符串",
64891
+ "type": [
64892
+ "string",
64893
+ "number"
64894
+ ]
64819
64895
  },
64820
64896
  "color": {
64821
64897
  "anyOf": [
@@ -65298,12 +65374,20 @@
65298
65374
  "description": "分类字段"
65299
65375
  },
65300
65376
  "centerX": {
65301
- "description": "饼图中心点 x 坐标",
65302
- "type": "number"
65377
+ "description": "中心点 x 坐标",
65378
+ "since": "1.11.2 支持百分比字符串",
65379
+ "type": [
65380
+ "string",
65381
+ "number"
65382
+ ]
65303
65383
  },
65304
65384
  "centerY": {
65305
- "description": "饼图中心点 y 坐标",
65306
- "type": "number"
65385
+ "description": "中心点 y 坐标",
65386
+ "since": "1.11.2 支持百分比字符串",
65387
+ "type": [
65388
+ "string",
65389
+ "number"
65390
+ ]
65307
65391
  },
65308
65392
  "data": {
65309
65393
  "$ref": "#/definitions/IDataType",
@@ -80457,7 +80541,7 @@
80457
80541
  },
80458
80542
  "Map<Function,(...args:any[])=>void>": {
80459
80543
  "properties": {
80460
- "__@toStringTag@13409": {
80544
+ "__@toStringTag@13423": {
80461
80545
  "type": "string"
80462
80546
  },
80463
80547
  "size": {
@@ -80465,14 +80549,14 @@
80465
80549
  }
80466
80550
  },
80467
80551
  "required": [
80468
- "__@toStringTag@13409",
80552
+ "__@toStringTag@13423",
80469
80553
  "size"
80470
80554
  ],
80471
80555
  "type": "object"
80472
80556
  },
80473
80557
  "Map<number,IGraphicPicker>": {
80474
80558
  "properties": {
80475
- "__@toStringTag@13409": {
80559
+ "__@toStringTag@13423": {
80476
80560
  "type": "string"
80477
80561
  },
80478
80562
  "size": {
@@ -80480,14 +80564,14 @@
80480
80564
  }
80481
80565
  },
80482
80566
  "required": [
80483
- "__@toStringTag@13409",
80567
+ "__@toStringTag@13423",
80484
80568
  "size"
80485
80569
  ],
80486
80570
  "type": "object"
80487
80571
  },
80488
80572
  "Map<number,IGraphicRender>": {
80489
80573
  "properties": {
80490
- "__@toStringTag@13409": {
80574
+ "__@toStringTag@13423": {
80491
80575
  "type": "string"
80492
80576
  },
80493
80577
  "size": {
@@ -80495,14 +80579,14 @@
80495
80579
  }
80496
80580
  },
80497
80581
  "required": [
80498
- "__@toStringTag@13409",
80582
+ "__@toStringTag@13423",
80499
80583
  "size"
80500
80584
  ],
80501
80585
  "type": "object"
80502
80586
  },
80503
80587
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
80504
80588
  "properties": {
80505
- "__@toStringTag@13409": {
80589
+ "__@toStringTag@13423": {
80506
80590
  "type": "string"
80507
80591
  },
80508
80592
  "size": {
@@ -80510,14 +80594,14 @@
80510
80594
  }
80511
80595
  },
80512
80596
  "required": [
80513
- "__@toStringTag@13409",
80597
+ "__@toStringTag@13423",
80514
80598
  "size"
80515
80599
  ],
80516
80600
  "type": "object"
80517
80601
  },
80518
80602
  "Map<string,Map<number,IGraphicRender>>": {
80519
80603
  "properties": {
80520
- "__@toStringTag@13409": {
80604
+ "__@toStringTag@13423": {
80521
80605
  "type": "string"
80522
80606
  },
80523
80607
  "size": {
@@ -80525,14 +80609,14 @@
80525
80609
  }
80526
80610
  },
80527
80611
  "required": [
80528
- "__@toStringTag@13409",
80612
+ "__@toStringTag@13423",
80529
80613
  "size"
80530
80614
  ],
80531
80615
  "type": "object"
80532
80616
  },
80533
80617
  "Map<string,any>": {
80534
80618
  "properties": {
80535
- "__@toStringTag@13409": {
80619
+ "__@toStringTag@13423": {
80536
80620
  "type": "string"
80537
80621
  },
80538
80622
  "size": {
@@ -80540,14 +80624,14 @@
80540
80624
  }
80541
80625
  },
80542
80626
  "required": [
80543
- "__@toStringTag@13409",
80627
+ "__@toStringTag@13423",
80544
80628
  "size"
80545
80629
  ],
80546
80630
  "type": "object"
80547
80631
  },
80548
80632
  "Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
80549
80633
  "properties": {
80550
- "__@toStringTag@13409": {
80634
+ "__@toStringTag@13423": {
80551
80635
  "type": "string"
80552
80636
  },
80553
80637
  "size": {
@@ -80555,14 +80639,14 @@
80555
80639
  }
80556
80640
  },
80557
80641
  "required": [
80558
- "__@toStringTag@13409",
80642
+ "__@toStringTag@13423",
80559
80643
  "size"
80560
80644
  ],
80561
80645
  "type": "object"
80562
80646
  },
80563
80647
  "Map<string|HTMLElement,{container:string|HTMLElement;dom:any;wrapGroup:any;root?:any;}>": {
80564
80648
  "properties": {
80565
- "__@toStringTag@13409": {
80649
+ "__@toStringTag@13423": {
80566
80650
  "type": "string"
80567
80651
  },
80568
80652
  "size": {
@@ -80570,14 +80654,14 @@
80570
80654
  }
80571
80655
  },
80572
80656
  "required": [
80573
- "__@toStringTag@13409",
80657
+ "__@toStringTag@13423",
80574
80658
  "size"
80575
80659
  ],
80576
80660
  "type": "object"
80577
80661
  },
80578
80662
  "Map<string|number,IAnimate>": {
80579
80663
  "properties": {
80580
- "__@toStringTag@13409": {
80664
+ "__@toStringTag@13423": {
80581
80665
  "type": "string"
80582
80666
  },
80583
80667
  "size": {
@@ -80585,7 +80669,7 @@
80585
80669
  }
80586
80670
  },
80587
80671
  "required": [
80588
- "__@toStringTag@13409",
80672
+ "__@toStringTag@13423",
80589
80673
  "size"
80590
80674
  ],
80591
80675
  "type": "object"
@@ -82447,12 +82531,20 @@
82447
82531
  "description": "分类字段"
82448
82532
  },
82449
82533
  "centerX": {
82450
- "description": "饼图中心点 x 坐标",
82451
- "type": "number"
82534
+ "description": "中心点 x 坐标",
82535
+ "since": "1.11.2 支持百分比字符串",
82536
+ "type": [
82537
+ "string",
82538
+ "number"
82539
+ ]
82452
82540
  },
82453
82541
  "centerY": {
82454
- "description": "饼图中心点 y 坐标",
82455
- "type": "number"
82542
+ "description": "中心点 y 坐标",
82543
+ "since": "1.11.2 支持百分比字符串",
82544
+ "type": [
82545
+ "string",
82546
+ "number"
82547
+ ]
82456
82548
  },
82457
82549
  "cornerRadius": {
82458
82550
  "default": 0,
@@ -83560,12 +83652,20 @@
83560
83652
  "description": "类别字段"
83561
83653
  },
83562
83654
  "centerX": {
83563
- "description": "饼图中心点 x 坐标",
83564
- "type": "number"
83655
+ "description": "中心点 x 坐标",
83656
+ "since": "1.11.2 支持百分比字符串",
83657
+ "type": [
83658
+ "string",
83659
+ "number"
83660
+ ]
83565
83661
  },
83566
83662
  "centerY": {
83567
- "description": "饼图中心点 y 坐标",
83568
- "type": "number"
83663
+ "description": "中心点 y 坐标",
83664
+ "since": "1.11.2 支持百分比字符串",
83665
+ "type": [
83666
+ "string",
83667
+ "number"
83668
+ ]
83569
83669
  },
83570
83670
  "cornerRadius": {
83571
83671
  "description": "圆角半径",
@@ -101045,34 +101145,34 @@
101045
101145
  },
101046
101146
  "Promise<FontFaceSet>": {
101047
101147
  "properties": {
101048
- "__@toStringTag@13409": {
101148
+ "__@toStringTag@13423": {
101049
101149
  "type": "string"
101050
101150
  }
101051
101151
  },
101052
101152
  "required": [
101053
- "__@toStringTag@13409"
101153
+ "__@toStringTag@13423"
101054
101154
  ],
101055
101155
  "type": "object"
101056
101156
  },
101057
101157
  "Promise<ServiceWorkerRegistration>": {
101058
101158
  "properties": {
101059
- "__@toStringTag@13409": {
101159
+ "__@toStringTag@13423": {
101060
101160
  "type": "string"
101061
101161
  }
101062
101162
  },
101063
101163
  "required": [
101064
- "__@toStringTag@13409"
101164
+ "__@toStringTag@13423"
101065
101165
  ],
101066
101166
  "type": "object"
101067
101167
  },
101068
101168
  "Promise<any>": {
101069
101169
  "properties": {
101070
- "__@toStringTag@13409": {
101170
+ "__@toStringTag@13423": {
101071
101171
  "type": "string"
101072
101172
  }
101073
101173
  },
101074
101174
  "required": [
101075
- "__@toStringTag@13409"
101175
+ "__@toStringTag@13423"
101076
101176
  ],
101077
101177
  "type": "object"
101078
101178
  },