@visactor/vchart-schema 1.12.3 → 1.12.4

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 +163 -50
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
package/vchart.json CHANGED
@@ -305,11 +305,24 @@
305
305
  },
306
306
  "type": "array"
307
307
  },
308
+ "autoWrap": {
309
+ "type": "boolean"
310
+ },
308
311
  "layoutFunc": {
309
312
  "typeof": "function"
310
313
  },
311
314
  "limitEllipsis": {
312
315
  "type": "string"
316
+ },
317
+ "overflowLimitLength": {
318
+ "anyOf": [
319
+ {
320
+ "typeof": "function"
321
+ },
322
+ {
323
+ "type": "number"
324
+ }
325
+ ]
313
326
  }
314
327
  },
315
328
  "type": "object"
@@ -344,6 +357,20 @@
344
357
  ],
345
358
  "type": "string"
346
359
  },
360
+ "BreakSymbol": {
361
+ "properties": {
362
+ "angle": {
363
+ "type": "number"
364
+ },
365
+ "style": {
366
+ "$ref": "#/definitions/Partial<ISymbolGraphicAttribute>"
367
+ },
368
+ "visible": {
369
+ "type": "boolean"
370
+ }
371
+ },
372
+ "type": "object"
373
+ },
347
374
  "BuildInTransformOptions": {
348
375
  "anyOf": [
349
376
  {
@@ -21561,12 +21588,14 @@
21561
21588
  },
21562
21589
  "type": "array"
21563
21590
  },
21591
+ {
21592
+ "typeof": "function"
21593
+ },
21564
21594
  {
21565
21595
  "type": "number"
21566
21596
  }
21567
21597
  ],
21568
- "description": "堆叠柱整体的圆角",
21569
- "since": "1.10.0"
21598
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
21570
21599
  },
21571
21600
  "stackInverse": {
21572
21601
  "default": false,
@@ -22744,12 +22773,14 @@
22744
22773
  },
22745
22774
  "type": "array"
22746
22775
  },
22776
+ {
22777
+ "typeof": "function"
22778
+ },
22747
22779
  {
22748
22780
  "type": "number"
22749
22781
  }
22750
22782
  ],
22751
- "description": "堆叠柱整体的圆角",
22752
- "since": "1.10.0"
22783
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
22753
22784
  },
22754
22785
  "stackInverse": {
22755
22786
  "default": false,
@@ -23180,12 +23211,14 @@
23180
23211
  },
23181
23212
  "type": "array"
23182
23213
  },
23214
+ {
23215
+ "typeof": "function"
23216
+ },
23183
23217
  {
23184
23218
  "type": "number"
23185
23219
  }
23186
23220
  ],
23187
- "description": "堆叠柱整体的圆角",
23188
- "since": "1.10.0"
23221
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
23189
23222
  },
23190
23223
  "stackOffsetSilhouette": {
23191
23224
  "description": "是否围绕中心轴偏移轮廓",
@@ -43752,12 +43785,14 @@
43752
43785
  },
43753
43786
  "type": "array"
43754
43787
  },
43788
+ {
43789
+ "typeof": "function"
43790
+ },
43755
43791
  {
43756
43792
  "type": "number"
43757
43793
  }
43758
43794
  ],
43759
- "description": "堆叠柱整体的圆角",
43760
- "since": "1.10.0"
43795
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
43761
43796
  },
43762
43797
  "stackInverse": {
43763
43798
  "default": false,
@@ -44886,12 +44921,14 @@
44886
44921
  },
44887
44922
  "type": "array"
44888
44923
  },
44924
+ {
44925
+ "typeof": "function"
44926
+ },
44889
44927
  {
44890
44928
  "type": "number"
44891
44929
  }
44892
44930
  ],
44893
- "description": "堆叠柱整体的圆角",
44894
- "since": "1.10.0"
44931
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
44895
44932
  },
44896
44933
  "stackInverse": {
44897
44934
  "default": false,
@@ -48806,8 +48843,26 @@
48806
48843
  ],
48807
48844
  "type": "object"
48808
48845
  },
48846
+ "ILinearAxisBreakSpec": {
48847
+ "allOf": [
48848
+ {
48849
+ "$ref": "#/definitions/Omit<AxisBreakProps,\"rawRange\">"
48850
+ },
48851
+ {
48852
+ "typeof": "function"
48853
+ }
48854
+ ]
48855
+ },
48809
48856
  "ILinearAxisSpec": {
48810
48857
  "properties": {
48858
+ "breaks": {
48859
+ "description": "轴截断配置,只对笛卡尔坐标系的 linear 轴生效",
48860
+ "items": {
48861
+ "$ref": "#/definitions/ILinearAxisBreakSpec"
48862
+ },
48863
+ "since": "1.12.4",
48864
+ "type": "array"
48865
+ },
48811
48866
  "expand": {
48812
48867
  "typeof": "function"
48813
48868
  },
@@ -62447,12 +62502,14 @@
62447
62502
  },
62448
62503
  "type": "array"
62449
62504
  },
62505
+ {
62506
+ "typeof": "function"
62507
+ },
62450
62508
  {
62451
62509
  "type": "number"
62452
62510
  }
62453
62511
  ],
62454
- "description": "堆叠柱整体的圆角",
62455
- "since": "1.10.0"
62512
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
62456
62513
  },
62457
62514
  "stackInverse": {
62458
62515
  "default": false,
@@ -62899,12 +62956,14 @@
62899
62956
  },
62900
62957
  "type": "array"
62901
62958
  },
62959
+ {
62960
+ "typeof": "function"
62961
+ },
62902
62962
  {
62903
62963
  "type": "number"
62904
62964
  }
62905
62965
  ],
62906
- "description": "堆叠柱整体的圆角",
62907
- "since": "1.10.0"
62966
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
62908
62967
  },
62909
62968
  "stackOffsetSilhouette": {
62910
62969
  "description": "是否围绕中心轴偏移轮廓",
@@ -64022,12 +64081,14 @@
64022
64081
  },
64023
64082
  "type": "array"
64024
64083
  },
64084
+ {
64085
+ "typeof": "function"
64086
+ },
64025
64087
  {
64026
64088
  "type": "number"
64027
64089
  }
64028
64090
  ],
64029
- "description": "堆叠柱整体的圆角",
64030
- "since": "1.10.0"
64091
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
64031
64092
  },
64032
64093
  "stackInverse": {
64033
64094
  "default": false,
@@ -64474,12 +64535,14 @@
64474
64535
  },
64475
64536
  "type": "array"
64476
64537
  },
64538
+ {
64539
+ "typeof": "function"
64540
+ },
64477
64541
  {
64478
64542
  "type": "number"
64479
64543
  }
64480
64544
  ],
64481
- "description": "堆叠柱整体的圆角",
64482
- "since": "1.10.0"
64545
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
64483
64546
  },
64484
64547
  "stackOffsetSilhouette": {
64485
64548
  "description": "是否围绕中心轴偏移轮廓",
@@ -66757,6 +66820,16 @@
66757
66820
  ],
66758
66821
  "description": "图表色系配置"
66759
66822
  },
66823
+ "crossNodeAlign": {
66824
+ "description": "横向布局的桑基图,设置节点Y坐标的对齐方式:\n'start' - '顶部对齐'\n'end' - '底部对齐'\n'middle' - '居中对齐'\n\n纵向布局的桑基图,设置节点X坐标的对齐方式:\n'start' - '左对齐'\n'end' - '右对齐'\n'middle' - '居中对齐'",
66825
+ "enum": [
66826
+ "end",
66827
+ "middle",
66828
+ "start"
66829
+ ],
66830
+ "since": "1.12.4",
66831
+ "type": "string"
66832
+ },
66760
66833
  "crosshair": {
66761
66834
  "anyOf": [
66762
66835
  {
@@ -66991,7 +67064,7 @@
66991
67064
  "description": "节点配置"
66992
67065
  },
66993
67066
  "nodeAlign": {
66994
- "description": "节点的对齐类型",
67067
+ "description": "节点的对齐类型,所有深度相同的节点,采用什么对齐方式,决定了节点在第几层:\n- 横向布局的桑基图,用于计算节点x坐标\n- 纵向布局的桑基图,用于计算节点y坐标",
66995
67068
  "enum": [
66996
67069
  "center",
66997
67070
  "end",
@@ -67315,6 +67388,16 @@
67315
67388
  "description": "节点名称字段配置",
67316
67389
  "type": "string"
67317
67390
  },
67391
+ "crossNodeAlign": {
67392
+ "description": "横向布局的桑基图,设置节点Y坐标的对齐方式:\n'start' - '顶部对齐'\n'end' - '底部对齐'\n'middle' - '居中对齐'\n\n纵向布局的桑基图,设置节点X坐标的对齐方式:\n'start' - '左对齐'\n'end' - '右对齐'\n'middle' - '居中对齐'",
67393
+ "enum": [
67394
+ "end",
67395
+ "middle",
67396
+ "start"
67397
+ ],
67398
+ "since": "1.12.4",
67399
+ "type": "string"
67400
+ },
67318
67401
  "dataId": {
67319
67402
  "$ref": "#/definitions/StringOrNumber",
67320
67403
  "description": "系列关联的数据id"
@@ -67473,7 +67556,7 @@
67473
67556
  "description": "节点配置"
67474
67557
  },
67475
67558
  "nodeAlign": {
67476
- "description": "节点的对齐类型",
67559
+ "description": "节点的对齐类型,所有深度相同的节点,采用什么对齐方式,决定了节点在第几层:\n- 横向布局的桑基图,用于计算节点x坐标\n- 纵向布局的桑基图,用于计算节点y坐标",
67477
67560
  "enum": [
67478
67561
  "center",
67479
67562
  "end",
@@ -78575,12 +78658,14 @@
78575
78658
  },
78576
78659
  "type": "array"
78577
78660
  },
78661
+ {
78662
+ "typeof": "function"
78663
+ },
78578
78664
  {
78579
78665
  "type": "number"
78580
78666
  }
78581
78667
  ],
78582
- "description": "堆叠柱整体的圆角",
78583
- "since": "1.10.0"
78668
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
78584
78669
  },
78585
78670
  "stackInverse": {
78586
78671
  "default": false,
@@ -79053,12 +79138,14 @@
79053
79138
  },
79054
79139
  "type": "array"
79055
79140
  },
79141
+ {
79142
+ "typeof": "function"
79143
+ },
79056
79144
  {
79057
79145
  "type": "number"
79058
79146
  }
79059
79147
  ],
79060
- "description": "堆叠柱整体的圆角",
79061
- "since": "1.10.0"
79148
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
79062
79149
  },
79063
79150
  "stackLabel": {
79064
79151
  "allOf": [
@@ -81604,7 +81691,7 @@
81604
81691
  },
81605
81692
  "Map<Function,(...args:any[])=>void>": {
81606
81693
  "properties": {
81607
- "__@toStringTag@13577": {
81694
+ "__@toStringTag@13700": {
81608
81695
  "type": "string"
81609
81696
  },
81610
81697
  "size": {
@@ -81612,14 +81699,14 @@
81612
81699
  }
81613
81700
  },
81614
81701
  "required": [
81615
- "__@toStringTag@13577",
81702
+ "__@toStringTag@13700",
81616
81703
  "size"
81617
81704
  ],
81618
81705
  "type": "object"
81619
81706
  },
81620
81707
  "Map<number,IGraphicPicker>": {
81621
81708
  "properties": {
81622
- "__@toStringTag@13577": {
81709
+ "__@toStringTag@13700": {
81623
81710
  "type": "string"
81624
81711
  },
81625
81712
  "size": {
@@ -81627,14 +81714,14 @@
81627
81714
  }
81628
81715
  },
81629
81716
  "required": [
81630
- "__@toStringTag@13577",
81717
+ "__@toStringTag@13700",
81631
81718
  "size"
81632
81719
  ],
81633
81720
  "type": "object"
81634
81721
  },
81635
81722
  "Map<number,IGraphicRender>": {
81636
81723
  "properties": {
81637
- "__@toStringTag@13577": {
81724
+ "__@toStringTag@13700": {
81638
81725
  "type": "string"
81639
81726
  },
81640
81727
  "size": {
@@ -81642,14 +81729,14 @@
81642
81729
  }
81643
81730
  },
81644
81731
  "required": [
81645
- "__@toStringTag@13577",
81732
+ "__@toStringTag@13700",
81646
81733
  "size"
81647
81734
  ],
81648
81735
  "type": "object"
81649
81736
  },
81650
81737
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
81651
81738
  "properties": {
81652
- "__@toStringTag@13577": {
81739
+ "__@toStringTag@13700": {
81653
81740
  "type": "string"
81654
81741
  },
81655
81742
  "size": {
@@ -81657,14 +81744,14 @@
81657
81744
  }
81658
81745
  },
81659
81746
  "required": [
81660
- "__@toStringTag@13577",
81747
+ "__@toStringTag@13700",
81661
81748
  "size"
81662
81749
  ],
81663
81750
  "type": "object"
81664
81751
  },
81665
81752
  "Map<string,Map<number,IGraphicRender>>": {
81666
81753
  "properties": {
81667
- "__@toStringTag@13577": {
81754
+ "__@toStringTag@13700": {
81668
81755
  "type": "string"
81669
81756
  },
81670
81757
  "size": {
@@ -81672,14 +81759,14 @@
81672
81759
  }
81673
81760
  },
81674
81761
  "required": [
81675
- "__@toStringTag@13577",
81762
+ "__@toStringTag@13700",
81676
81763
  "size"
81677
81764
  ],
81678
81765
  "type": "object"
81679
81766
  },
81680
81767
  "Map<string,any>": {
81681
81768
  "properties": {
81682
- "__@toStringTag@13577": {
81769
+ "__@toStringTag@13700": {
81683
81770
  "type": "string"
81684
81771
  },
81685
81772
  "size": {
@@ -81687,14 +81774,14 @@
81687
81774
  }
81688
81775
  },
81689
81776
  "required": [
81690
- "__@toStringTag@13577",
81777
+ "__@toStringTag@13700",
81691
81778
  "size"
81692
81779
  ],
81693
81780
  "type": "object"
81694
81781
  },
81695
81782
  "Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
81696
81783
  "properties": {
81697
- "__@toStringTag@13577": {
81784
+ "__@toStringTag@13700": {
81698
81785
  "type": "string"
81699
81786
  },
81700
81787
  "size": {
@@ -81702,14 +81789,14 @@
81702
81789
  }
81703
81790
  },
81704
81791
  "required": [
81705
- "__@toStringTag@13577",
81792
+ "__@toStringTag@13700",
81706
81793
  "size"
81707
81794
  ],
81708
81795
  "type": "object"
81709
81796
  },
81710
81797
  "Map<string|HTMLElement,{container:string|HTMLElement;dom:any;wrapGroup:any;root?:any;}>": {
81711
81798
  "properties": {
81712
- "__@toStringTag@13577": {
81799
+ "__@toStringTag@13700": {
81713
81800
  "type": "string"
81714
81801
  },
81715
81802
  "size": {
@@ -81717,14 +81804,14 @@
81717
81804
  }
81718
81805
  },
81719
81806
  "required": [
81720
- "__@toStringTag@13577",
81807
+ "__@toStringTag@13700",
81721
81808
  "size"
81722
81809
  ],
81723
81810
  "type": "object"
81724
81811
  },
81725
81812
  "Map<string|number,IAnimate>": {
81726
81813
  "properties": {
81727
- "__@toStringTag@13577": {
81814
+ "__@toStringTag@13700": {
81728
81815
  "type": "string"
81729
81816
  },
81730
81817
  "size": {
@@ -81732,7 +81819,7 @@
81732
81819
  }
81733
81820
  },
81734
81821
  "required": [
81735
- "__@toStringTag@13577",
81822
+ "__@toStringTag@13700",
81736
81823
  "size"
81737
81824
  ],
81738
81825
  "type": "object"
@@ -82169,6 +82256,30 @@
82169
82256
  ],
82170
82257
  "type": "object"
82171
82258
  },
82259
+ "Omit<AxisBreakProps,\"rawRange\">": {
82260
+ "properties": {
82261
+ "breakSymbol": {
82262
+ "$ref": "#/definitions/BreakSymbol"
82263
+ },
82264
+ "range": {
82265
+ "items": [
82266
+ {
82267
+ "type": "number"
82268
+ },
82269
+ {
82270
+ "type": "number"
82271
+ }
82272
+ ],
82273
+ "maxItems": 2,
82274
+ "minItems": 2,
82275
+ "type": "array"
82276
+ }
82277
+ },
82278
+ "required": [
82279
+ "range"
82280
+ ],
82281
+ "type": "object"
82282
+ },
82172
82283
  "Omit<DiscreteLegendAttrs,\"title\"|\"layout\"|\"items\"|\"item\"|\"pager\">": {
82173
82284
  "properties": {
82174
82285
  "_debug_bounds": {
@@ -83091,12 +83202,14 @@
83091
83202
  },
83092
83203
  "type": "array"
83093
83204
  },
83205
+ {
83206
+ "typeof": "function"
83207
+ },
83094
83208
  {
83095
83209
  "type": "number"
83096
83210
  }
83097
83211
  ],
83098
- "description": "堆叠柱整体的圆角",
83099
- "since": "1.10.0"
83212
+ "description": "堆叠柱整体的圆角 @since 1.10.0\n圆角支持回调配置 @since 1.12.4"
83100
83213
  },
83101
83214
  "stackOffsetSilhouette": {
83102
83215
  "description": "是否围绕中心轴偏移轮廓",
@@ -102613,34 +102726,34 @@
102613
102726
  },
102614
102727
  "Promise<FontFaceSet>": {
102615
102728
  "properties": {
102616
- "__@toStringTag@13577": {
102729
+ "__@toStringTag@13700": {
102617
102730
  "type": "string"
102618
102731
  }
102619
102732
  },
102620
102733
  "required": [
102621
- "__@toStringTag@13577"
102734
+ "__@toStringTag@13700"
102622
102735
  ],
102623
102736
  "type": "object"
102624
102737
  },
102625
102738
  "Promise<ServiceWorkerRegistration>": {
102626
102739
  "properties": {
102627
- "__@toStringTag@13577": {
102740
+ "__@toStringTag@13700": {
102628
102741
  "type": "string"
102629
102742
  }
102630
102743
  },
102631
102744
  "required": [
102632
- "__@toStringTag@13577"
102745
+ "__@toStringTag@13700"
102633
102746
  ],
102634
102747
  "type": "object"
102635
102748
  },
102636
102749
  "Promise<any>": {
102637
102750
  "properties": {
102638
- "__@toStringTag@13577": {
102751
+ "__@toStringTag@13700": {
102639
102752
  "type": "string"
102640
102753
  }
102641
102754
  },
102642
102755
  "required": [
102643
- "__@toStringTag@13577"
102756
+ "__@toStringTag@13700"
102644
102757
  ],
102645
102758
  "type": "object"
102646
102759
  },