@visactor/vchart-schema 1.11.2-alpha.5 → 1.11.3-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 +205 -68
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.11.2-alpha.5",
3
+ "version": "1.11.3-alpha.0",
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,
@@ -32560,6 +32576,10 @@
32560
32576
  ],
32561
32577
  "description": "组件关联的系列索引"
32562
32578
  },
32579
+ "showBackgroundChart": {
32580
+ "since": "1.11.3\n是否展示背景图",
32581
+ "type": "boolean"
32582
+ },
32563
32583
  "showDetail": {
32564
32584
  "default": "'auto' 鼠标hover在选中区域时才显示startText和endText",
32565
32585
  "description": "是否显示startText和endText",
@@ -36762,12 +36782,20 @@
36762
36782
  "description": "类别字段"
36763
36783
  },
36764
36784
  "centerX": {
36765
- "description": "饼图中心点 x 坐标",
36766
- "type": "number"
36785
+ "description": "中心点 x 坐标",
36786
+ "since": "1.11.2 支持百分比字符串",
36787
+ "type": [
36788
+ "string",
36789
+ "number"
36790
+ ]
36767
36791
  },
36768
36792
  "centerY": {
36769
- "description": "饼图中心点 y 坐标",
36770
- "type": "number"
36793
+ "description": "中心点 y 坐标",
36794
+ "since": "1.11.2 支持百分比字符串",
36795
+ "type": [
36796
+ "string",
36797
+ "number"
36798
+ ]
36771
36799
  },
36772
36800
  "color": {
36773
36801
  "anyOf": [
@@ -36906,6 +36934,21 @@
36906
36934
  "$ref": "#/definitions/ILayoutSpec",
36907
36935
  "description": "布局配置"
36908
36936
  },
36937
+ "layoutRadius": {
36938
+ "anyOf": [
36939
+ {
36940
+ "typeof": "function"
36941
+ },
36942
+ {
36943
+ "const": "auto",
36944
+ "type": "string"
36945
+ },
36946
+ {
36947
+ "type": "number"
36948
+ }
36949
+ ],
36950
+ "since": "1.11.2"
36951
+ },
36909
36952
  "legends": {
36910
36953
  "anyOf": [
36911
36954
  {
@@ -37313,12 +37356,20 @@
37313
37356
  "description": "类别字段"
37314
37357
  },
37315
37358
  "centerX": {
37316
- "description": "饼图中心点 x 坐标",
37317
- "type": "number"
37359
+ "description": "中心点 x 坐标",
37360
+ "since": "1.11.2 支持百分比字符串",
37361
+ "type": [
37362
+ "string",
37363
+ "number"
37364
+ ]
37318
37365
  },
37319
37366
  "centerY": {
37320
- "description": "饼图中心点 y 坐标",
37321
- "type": "number"
37367
+ "description": "中心点 y 坐标",
37368
+ "since": "1.11.2 支持百分比字符串",
37369
+ "type": [
37370
+ "string",
37371
+ "number"
37372
+ ]
37322
37373
  },
37323
37374
  "cornerRadius": {
37324
37375
  "description": "圆角半径",
@@ -37764,12 +37815,20 @@
37764
37815
  "description": "类别字段"
37765
37816
  },
37766
37817
  "centerX": {
37767
- "description": "饼图中心点 x 坐标",
37768
- "type": "number"
37818
+ "description": "中心点 x 坐标",
37819
+ "since": "1.11.2 支持百分比字符串",
37820
+ "type": [
37821
+ "string",
37822
+ "number"
37823
+ ]
37769
37824
  },
37770
37825
  "centerY": {
37771
- "description": "饼图中心点 y 坐标",
37772
- "type": "number"
37826
+ "description": "中心点 y 坐标",
37827
+ "since": "1.11.2 支持百分比字符串",
37828
+ "type": [
37829
+ "string",
37830
+ "number"
37831
+ ]
37773
37832
  },
37774
37833
  "cornerRadius": {
37775
37834
  "description": "圆角半径",
@@ -58354,12 +58413,20 @@
58354
58413
  "description": "类别字段"
58355
58414
  },
58356
58415
  "centerX": {
58357
- "description": "饼图中心点 x 坐标",
58358
- "type": "number"
58416
+ "description": "中心点 x 坐标",
58417
+ "since": "1.11.2 支持百分比字符串",
58418
+ "type": [
58419
+ "string",
58420
+ "number"
58421
+ ]
58359
58422
  },
58360
58423
  "centerY": {
58361
- "description": "饼图中心点 y 坐标",
58362
- "type": "number"
58424
+ "description": "中心点 y 坐标",
58425
+ "since": "1.11.2 支持百分比字符串",
58426
+ "type": [
58427
+ "string",
58428
+ "number"
58429
+ ]
58363
58430
  },
58364
58431
  "color": {
58365
58432
  "anyOf": [
@@ -58495,6 +58562,21 @@
58495
58562
  "$ref": "#/definitions/ILayoutSpec",
58496
58563
  "description": "布局配置"
58497
58564
  },
58565
+ "layoutRadius": {
58566
+ "anyOf": [
58567
+ {
58568
+ "typeof": "function"
58569
+ },
58570
+ {
58571
+ "const": "auto",
58572
+ "type": "string"
58573
+ },
58574
+ {
58575
+ "type": "number"
58576
+ }
58577
+ ],
58578
+ "since": "1.11.2"
58579
+ },
58498
58580
  "legends": {
58499
58581
  "anyOf": [
58500
58582
  {
@@ -58883,12 +58965,20 @@
58883
58965
  "description": "类别字段"
58884
58966
  },
58885
58967
  "centerX": {
58886
- "description": "饼图中心点 x 坐标",
58887
- "type": "number"
58968
+ "description": "中心点 x 坐标",
58969
+ "since": "1.11.2 支持百分比字符串",
58970
+ "type": [
58971
+ "string",
58972
+ "number"
58973
+ ]
58888
58974
  },
58889
58975
  "centerY": {
58890
- "description": "饼图中心点 y 坐标",
58891
- "type": "number"
58976
+ "description": "中心点 y 坐标",
58977
+ "since": "1.11.2 支持百分比字符串",
58978
+ "type": [
58979
+ "string",
58980
+ "number"
58981
+ ]
58892
58982
  },
58893
58983
  "data": {
58894
58984
  "$ref": "#/definitions/IDataType",
@@ -64792,12 +64882,20 @@
64792
64882
  "description": "分类字段"
64793
64883
  },
64794
64884
  "centerX": {
64795
- "description": "饼图中心点 x 坐标",
64796
- "type": "number"
64885
+ "description": "中心点 x 坐标",
64886
+ "since": "1.11.2 支持百分比字符串",
64887
+ "type": [
64888
+ "string",
64889
+ "number"
64890
+ ]
64797
64891
  },
64798
64892
  "centerY": {
64799
- "description": "饼图中心点 y 坐标",
64800
- "type": "number"
64893
+ "description": "中心点 y 坐标",
64894
+ "since": "1.11.2 支持百分比字符串",
64895
+ "type": [
64896
+ "string",
64897
+ "number"
64898
+ ]
64801
64899
  },
64802
64900
  "color": {
64803
64901
  "anyOf": [
@@ -64925,6 +65023,21 @@
64925
65023
  "$ref": "#/definitions/ILayoutSpec",
64926
65024
  "description": "布局配置"
64927
65025
  },
65026
+ "layoutRadius": {
65027
+ "anyOf": [
65028
+ {
65029
+ "typeof": "function"
65030
+ },
65031
+ {
65032
+ "const": "auto",
65033
+ "type": "string"
65034
+ },
65035
+ {
65036
+ "type": "number"
65037
+ }
65038
+ ],
65039
+ "since": "1.11.2"
65040
+ },
64928
65041
  "legends": {
64929
65042
  "anyOf": [
64930
65043
  {
@@ -65265,12 +65378,20 @@
65265
65378
  "description": "分类字段"
65266
65379
  },
65267
65380
  "centerX": {
65268
- "description": "饼图中心点 x 坐标",
65269
- "type": "number"
65381
+ "description": "中心点 x 坐标",
65382
+ "since": "1.11.2 支持百分比字符串",
65383
+ "type": [
65384
+ "string",
65385
+ "number"
65386
+ ]
65270
65387
  },
65271
65388
  "centerY": {
65272
- "description": "饼图中心点 y 坐标",
65273
- "type": "number"
65389
+ "description": "中心点 y 坐标",
65390
+ "since": "1.11.2 支持百分比字符串",
65391
+ "type": [
65392
+ "string",
65393
+ "number"
65394
+ ]
65274
65395
  },
65275
65396
  "data": {
65276
65397
  "$ref": "#/definitions/IDataType",
@@ -80424,7 +80545,7 @@
80424
80545
  },
80425
80546
  "Map<Function,(...args:any[])=>void>": {
80426
80547
  "properties": {
80427
- "__@toStringTag@13404": {
80548
+ "__@toStringTag@13424": {
80428
80549
  "type": "string"
80429
80550
  },
80430
80551
  "size": {
@@ -80432,14 +80553,14 @@
80432
80553
  }
80433
80554
  },
80434
80555
  "required": [
80435
- "__@toStringTag@13404",
80556
+ "__@toStringTag@13424",
80436
80557
  "size"
80437
80558
  ],
80438
80559
  "type": "object"
80439
80560
  },
80440
80561
  "Map<number,IGraphicPicker>": {
80441
80562
  "properties": {
80442
- "__@toStringTag@13404": {
80563
+ "__@toStringTag@13424": {
80443
80564
  "type": "string"
80444
80565
  },
80445
80566
  "size": {
@@ -80447,14 +80568,14 @@
80447
80568
  }
80448
80569
  },
80449
80570
  "required": [
80450
- "__@toStringTag@13404",
80571
+ "__@toStringTag@13424",
80451
80572
  "size"
80452
80573
  ],
80453
80574
  "type": "object"
80454
80575
  },
80455
80576
  "Map<number,IGraphicRender>": {
80456
80577
  "properties": {
80457
- "__@toStringTag@13404": {
80578
+ "__@toStringTag@13424": {
80458
80579
  "type": "string"
80459
80580
  },
80460
80581
  "size": {
@@ -80462,14 +80583,14 @@
80462
80583
  }
80463
80584
  },
80464
80585
  "required": [
80465
- "__@toStringTag@13404",
80586
+ "__@toStringTag@13424",
80466
80587
  "size"
80467
80588
  ],
80468
80589
  "type": "object"
80469
80590
  },
80470
80591
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
80471
80592
  "properties": {
80472
- "__@toStringTag@13404": {
80593
+ "__@toStringTag@13424": {
80473
80594
  "type": "string"
80474
80595
  },
80475
80596
  "size": {
@@ -80477,14 +80598,14 @@
80477
80598
  }
80478
80599
  },
80479
80600
  "required": [
80480
- "__@toStringTag@13404",
80601
+ "__@toStringTag@13424",
80481
80602
  "size"
80482
80603
  ],
80483
80604
  "type": "object"
80484
80605
  },
80485
80606
  "Map<string,Map<number,IGraphicRender>>": {
80486
80607
  "properties": {
80487
- "__@toStringTag@13404": {
80608
+ "__@toStringTag@13424": {
80488
80609
  "type": "string"
80489
80610
  },
80490
80611
  "size": {
@@ -80492,14 +80613,14 @@
80492
80613
  }
80493
80614
  },
80494
80615
  "required": [
80495
- "__@toStringTag@13404",
80616
+ "__@toStringTag@13424",
80496
80617
  "size"
80497
80618
  ],
80498
80619
  "type": "object"
80499
80620
  },
80500
80621
  "Map<string,any>": {
80501
80622
  "properties": {
80502
- "__@toStringTag@13404": {
80623
+ "__@toStringTag@13424": {
80503
80624
  "type": "string"
80504
80625
  },
80505
80626
  "size": {
@@ -80507,14 +80628,14 @@
80507
80628
  }
80508
80629
  },
80509
80630
  "required": [
80510
- "__@toStringTag@13404",
80631
+ "__@toStringTag@13424",
80511
80632
  "size"
80512
80633
  ],
80513
80634
  "type": "object"
80514
80635
  },
80515
80636
  "Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
80516
80637
  "properties": {
80517
- "__@toStringTag@13404": {
80638
+ "__@toStringTag@13424": {
80518
80639
  "type": "string"
80519
80640
  },
80520
80641
  "size": {
@@ -80522,14 +80643,14 @@
80522
80643
  }
80523
80644
  },
80524
80645
  "required": [
80525
- "__@toStringTag@13404",
80646
+ "__@toStringTag@13424",
80526
80647
  "size"
80527
80648
  ],
80528
80649
  "type": "object"
80529
80650
  },
80530
80651
  "Map<string|HTMLElement,{container:string|HTMLElement;dom:any;wrapGroup:any;root?:any;}>": {
80531
80652
  "properties": {
80532
- "__@toStringTag@13404": {
80653
+ "__@toStringTag@13424": {
80533
80654
  "type": "string"
80534
80655
  },
80535
80656
  "size": {
@@ -80537,14 +80658,14 @@
80537
80658
  }
80538
80659
  },
80539
80660
  "required": [
80540
- "__@toStringTag@13404",
80661
+ "__@toStringTag@13424",
80541
80662
  "size"
80542
80663
  ],
80543
80664
  "type": "object"
80544
80665
  },
80545
80666
  "Map<string|number,IAnimate>": {
80546
80667
  "properties": {
80547
- "__@toStringTag@13404": {
80668
+ "__@toStringTag@13424": {
80548
80669
  "type": "string"
80549
80670
  },
80550
80671
  "size": {
@@ -80552,7 +80673,7 @@
80552
80673
  }
80553
80674
  },
80554
80675
  "required": [
80555
- "__@toStringTag@13404",
80676
+ "__@toStringTag@13424",
80556
80677
  "size"
80557
80678
  ],
80558
80679
  "type": "object"
@@ -82414,12 +82535,20 @@
82414
82535
  "description": "分类字段"
82415
82536
  },
82416
82537
  "centerX": {
82417
- "description": "饼图中心点 x 坐标",
82418
- "type": "number"
82538
+ "description": "中心点 x 坐标",
82539
+ "since": "1.11.2 支持百分比字符串",
82540
+ "type": [
82541
+ "string",
82542
+ "number"
82543
+ ]
82419
82544
  },
82420
82545
  "centerY": {
82421
- "description": "饼图中心点 y 坐标",
82422
- "type": "number"
82546
+ "description": "中心点 y 坐标",
82547
+ "since": "1.11.2 支持百分比字符串",
82548
+ "type": [
82549
+ "string",
82550
+ "number"
82551
+ ]
82423
82552
  },
82424
82553
  "cornerRadius": {
82425
82554
  "default": 0,
@@ -83527,12 +83656,20 @@
83527
83656
  "description": "类别字段"
83528
83657
  },
83529
83658
  "centerX": {
83530
- "description": "饼图中心点 x 坐标",
83531
- "type": "number"
83659
+ "description": "中心点 x 坐标",
83660
+ "since": "1.11.2 支持百分比字符串",
83661
+ "type": [
83662
+ "string",
83663
+ "number"
83664
+ ]
83532
83665
  },
83533
83666
  "centerY": {
83534
- "description": "饼图中心点 y 坐标",
83535
- "type": "number"
83667
+ "description": "中心点 y 坐标",
83668
+ "since": "1.11.2 支持百分比字符串",
83669
+ "type": [
83670
+ "string",
83671
+ "number"
83672
+ ]
83536
83673
  },
83537
83674
  "cornerRadius": {
83538
83675
  "description": "圆角半径",
@@ -101012,34 +101149,34 @@
101012
101149
  },
101013
101150
  "Promise<FontFaceSet>": {
101014
101151
  "properties": {
101015
- "__@toStringTag@13404": {
101152
+ "__@toStringTag@13424": {
101016
101153
  "type": "string"
101017
101154
  }
101018
101155
  },
101019
101156
  "required": [
101020
- "__@toStringTag@13404"
101157
+ "__@toStringTag@13424"
101021
101158
  ],
101022
101159
  "type": "object"
101023
101160
  },
101024
101161
  "Promise<ServiceWorkerRegistration>": {
101025
101162
  "properties": {
101026
- "__@toStringTag@13404": {
101163
+ "__@toStringTag@13424": {
101027
101164
  "type": "string"
101028
101165
  }
101029
101166
  },
101030
101167
  "required": [
101031
- "__@toStringTag@13404"
101168
+ "__@toStringTag@13424"
101032
101169
  ],
101033
101170
  "type": "object"
101034
101171
  },
101035
101172
  "Promise<any>": {
101036
101173
  "properties": {
101037
- "__@toStringTag@13404": {
101174
+ "__@toStringTag@13424": {
101038
101175
  "type": "string"
101039
101176
  }
101040
101177
  },
101041
101178
  "required": [
101042
- "__@toStringTag@13404"
101179
+ "__@toStringTag@13424"
101043
101180
  ],
101044
101181
  "type": "object"
101045
101182
  },