@genome-spy/app 0.79.0 → 0.80.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.
package/dist/schema.json CHANGED
@@ -367,9 +367,16 @@
367
367
  "type": "string"
368
368
  },
369
369
  "tickCount": {
370
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
371
- "minimum": 0,
372
- "type": "number"
370
+ "anyOf": [
371
+ {
372
+ "type": "number"
373
+ },
374
+ {
375
+ "$ref": "#/definitions/ExprRef"
376
+ }
377
+ ],
378
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
379
+ "minimum": 0
373
380
  },
374
381
  "tickDash": {
375
382
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -735,9 +742,16 @@
735
742
  "type": "string"
736
743
  },
737
744
  "tickCount": {
738
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
739
- "minimum": 0,
740
- "type": "number"
745
+ "anyOf": [
746
+ {
747
+ "type": "number"
748
+ },
749
+ {
750
+ "$ref": "#/definitions/ExprRef"
751
+ }
752
+ ],
753
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
754
+ "minimum": 0
741
755
  },
742
756
  "tickDash": {
743
757
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -1656,9 +1670,16 @@
1656
1670
  "type": "string"
1657
1671
  },
1658
1672
  "tickCount": {
1659
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
1660
- "minimum": 0,
1661
- "type": "number"
1673
+ "anyOf": [
1674
+ {
1675
+ "type": "number"
1676
+ },
1677
+ {
1678
+ "$ref": "#/definitions/ExprRef"
1679
+ }
1680
+ ],
1681
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
1682
+ "minimum": 0
1662
1683
  },
1663
1684
  "tickDash": {
1664
1685
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -2024,9 +2045,16 @@
2024
2045
  "type": "string"
2025
2046
  },
2026
2047
  "tickCount": {
2027
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
2028
- "minimum": 0,
2029
- "type": "number"
2048
+ "anyOf": [
2049
+ {
2050
+ "type": "number"
2051
+ },
2052
+ {
2053
+ "$ref": "#/definitions/ExprRef"
2054
+ }
2055
+ ],
2056
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
2057
+ "minimum": 0
2030
2058
  },
2031
2059
  "tickDash": {
2032
2060
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -2947,9 +2975,16 @@
2947
2975
  "type": "string"
2948
2976
  },
2949
2977
  "tickCount": {
2950
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
2951
- "minimum": 0,
2952
- "type": "number"
2978
+ "anyOf": [
2979
+ {
2980
+ "type": "number"
2981
+ },
2982
+ {
2983
+ "$ref": "#/definitions/ExprRef"
2984
+ }
2985
+ ],
2986
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
2987
+ "minimum": 0
2953
2988
  },
2954
2989
  "tickDash": {
2955
2990
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -3315,9 +3350,16 @@
3315
3350
  "type": "string"
3316
3351
  },
3317
3352
  "tickCount": {
3318
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
3319
- "minimum": 0,
3320
- "type": "number"
3353
+ "anyOf": [
3354
+ {
3355
+ "type": "number"
3356
+ },
3357
+ {
3358
+ "$ref": "#/definitions/ExprRef"
3359
+ }
3360
+ ],
3361
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
3362
+ "minimum": 0
3321
3363
  },
3322
3364
  "tickDash": {
3323
3365
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -4236,9 +4278,16 @@
4236
4278
  "type": "string"
4237
4279
  },
4238
4280
  "tickCount": {
4239
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
4240
- "minimum": 0,
4241
- "type": "number"
4281
+ "anyOf": [
4282
+ {
4283
+ "type": "number"
4284
+ },
4285
+ {
4286
+ "$ref": "#/definitions/ExprRef"
4287
+ }
4288
+ ],
4289
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
4290
+ "minimum": 0
4242
4291
  },
4243
4292
  "tickDash": {
4244
4293
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -4604,9 +4653,16 @@
4604
4653
  "type": "string"
4605
4654
  },
4606
4655
  "tickCount": {
4607
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
4608
- "minimum": 0,
4609
- "type": "number"
4656
+ "anyOf": [
4657
+ {
4658
+ "type": "number"
4659
+ },
4660
+ {
4661
+ "$ref": "#/definitions/ExprRef"
4662
+ }
4663
+ ],
4664
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
4665
+ "minimum": 0
4610
4666
  },
4611
4667
  "tickDash": {
4612
4668
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -5561,9 +5617,16 @@
5561
5617
  "type": "string"
5562
5618
  },
5563
5619
  "tickCount": {
5564
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
5565
- "minimum": 0,
5566
- "type": "number"
5620
+ "anyOf": [
5621
+ {
5622
+ "type": "number"
5623
+ },
5624
+ {
5625
+ "$ref": "#/definitions/ExprRef"
5626
+ }
5627
+ ],
5628
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
5629
+ "minimum": 0
5567
5630
  },
5568
5631
  "tickDash": {
5569
5632
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -5929,9 +5992,16 @@
5929
5992
  "type": "string"
5930
5993
  },
5931
5994
  "tickCount": {
5932
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
5933
- "minimum": 0,
5934
- "type": "number"
5995
+ "anyOf": [
5996
+ {
5997
+ "type": "number"
5998
+ },
5999
+ {
6000
+ "$ref": "#/definitions/ExprRef"
6001
+ }
6002
+ ],
6003
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
6004
+ "minimum": 0
5935
6005
  },
5936
6006
  "tickDash": {
5937
6007
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -6895,9 +6965,16 @@
6895
6965
  "type": "string"
6896
6966
  },
6897
6967
  "tickCount": {
6898
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
6899
- "minimum": 0,
6900
- "type": "number"
6968
+ "anyOf": [
6969
+ {
6970
+ "type": "number"
6971
+ },
6972
+ {
6973
+ "$ref": "#/definitions/ExprRef"
6974
+ }
6975
+ ],
6976
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
6977
+ "minimum": 0
6901
6978
  },
6902
6979
  "tickDash": {
6903
6980
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -7263,9 +7340,16 @@
7263
7340
  "type": "string"
7264
7341
  },
7265
7342
  "tickCount": {
7266
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
7267
- "minimum": 0,
7268
- "type": "number"
7343
+ "anyOf": [
7344
+ {
7345
+ "type": "number"
7346
+ },
7347
+ {
7348
+ "$ref": "#/definitions/ExprRef"
7349
+ }
7350
+ ],
7351
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
7352
+ "minimum": 0
7269
7353
  },
7270
7354
  "tickDash": {
7271
7355
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -8236,9 +8320,16 @@
8236
8320
  "type": "string"
8237
8321
  },
8238
8322
  "tickCount": {
8239
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
8240
- "minimum": 0,
8241
- "type": "number"
8323
+ "anyOf": [
8324
+ {
8325
+ "type": "number"
8326
+ },
8327
+ {
8328
+ "$ref": "#/definitions/ExprRef"
8329
+ }
8330
+ ],
8331
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
8332
+ "minimum": 0
8242
8333
  },
8243
8334
  "tickDash": {
8244
8335
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -8604,9 +8695,16 @@
8604
8695
  "type": "string"
8605
8696
  },
8606
8697
  "tickCount": {
8607
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
8608
- "minimum": 0,
8609
- "type": "number"
8698
+ "anyOf": [
8699
+ {
8700
+ "type": "number"
8701
+ },
8702
+ {
8703
+ "$ref": "#/definitions/ExprRef"
8704
+ }
8705
+ ],
8706
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
8707
+ "minimum": 0
8610
8708
  },
8611
8709
  "tickDash": {
8612
8710
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -9575,9 +9673,16 @@
9575
9673
  "type": "string"
9576
9674
  },
9577
9675
  "tickCount": {
9578
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
9579
- "minimum": 0,
9580
- "type": "number"
9676
+ "anyOf": [
9677
+ {
9678
+ "type": "number"
9679
+ },
9680
+ {
9681
+ "$ref": "#/definitions/ExprRef"
9682
+ }
9683
+ ],
9684
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
9685
+ "minimum": 0
9581
9686
  },
9582
9687
  "tickDash": {
9583
9688
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -9943,9 +10048,16 @@
9943
10048
  "type": "string"
9944
10049
  },
9945
10050
  "tickCount": {
9946
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
9947
- "minimum": 0,
9948
- "type": "number"
10051
+ "anyOf": [
10052
+ {
10053
+ "type": "number"
10054
+ },
10055
+ {
10056
+ "$ref": "#/definitions/ExprRef"
10057
+ }
10058
+ ],
10059
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
10060
+ "minimum": 0
9949
10061
  },
9950
10062
  "tickDash": {
9951
10063
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -10911,9 +11023,16 @@
10911
11023
  "type": "string"
10912
11024
  },
10913
11025
  "tickCount": {
10914
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
10915
- "minimum": 0,
10916
- "type": "number"
11026
+ "anyOf": [
11027
+ {
11028
+ "type": "number"
11029
+ },
11030
+ {
11031
+ "$ref": "#/definitions/ExprRef"
11032
+ }
11033
+ ],
11034
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
11035
+ "minimum": 0
10917
11036
  },
10918
11037
  "tickDash": {
10919
11038
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -11279,9 +11398,16 @@
11279
11398
  "type": "string"
11280
11399
  },
11281
11400
  "tickCount": {
11282
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
11283
- "minimum": 0,
11284
- "type": "number"
11401
+ "anyOf": [
11402
+ {
11403
+ "type": "number"
11404
+ },
11405
+ {
11406
+ "$ref": "#/definitions/ExprRef"
11407
+ }
11408
+ ],
11409
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
11410
+ "minimum": 0
11285
11411
  },
11286
11412
  "tickDash": {
11287
11413
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -12247,9 +12373,16 @@
12247
12373
  "type": "string"
12248
12374
  },
12249
12375
  "tickCount": {
12250
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
12251
- "minimum": 0,
12252
- "type": "number"
12376
+ "anyOf": [
12377
+ {
12378
+ "type": "number"
12379
+ },
12380
+ {
12381
+ "$ref": "#/definitions/ExprRef"
12382
+ }
12383
+ ],
12384
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
12385
+ "minimum": 0
12253
12386
  },
12254
12387
  "tickDash": {
12255
12388
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -12615,9 +12748,16 @@
12615
12748
  "type": "string"
12616
12749
  },
12617
12750
  "tickCount": {
12618
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
12619
- "minimum": 0,
12620
- "type": "number"
12751
+ "anyOf": [
12752
+ {
12753
+ "type": "number"
12754
+ },
12755
+ {
12756
+ "$ref": "#/definitions/ExprRef"
12757
+ }
12758
+ ],
12759
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
12760
+ "minimum": 0
12621
12761
  },
12622
12762
  "tickDash": {
12623
12763
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -13588,9 +13728,16 @@
13588
13728
  "type": "string"
13589
13729
  },
13590
13730
  "tickCount": {
13591
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
13592
- "minimum": 0,
13593
- "type": "number"
13731
+ "anyOf": [
13732
+ {
13733
+ "type": "number"
13734
+ },
13735
+ {
13736
+ "$ref": "#/definitions/ExprRef"
13737
+ }
13738
+ ],
13739
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
13740
+ "minimum": 0
13594
13741
  },
13595
13742
  "tickDash": {
13596
13743
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -13956,9 +14103,16 @@
13956
14103
  "type": "string"
13957
14104
  },
13958
14105
  "tickCount": {
13959
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
13960
- "minimum": 0,
13961
- "type": "number"
14106
+ "anyOf": [
14107
+ {
14108
+ "type": "number"
14109
+ },
14110
+ {
14111
+ "$ref": "#/definitions/ExprRef"
14112
+ }
14113
+ ],
14114
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
14115
+ "minimum": 0
13962
14116
  },
13963
14117
  "tickDash": {
13964
14118
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -14941,9 +15095,16 @@
14941
15095
  "type": "string"
14942
15096
  },
14943
15097
  "tickCount": {
14944
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
14945
- "minimum": 0,
14946
- "type": "number"
15098
+ "anyOf": [
15099
+ {
15100
+ "type": "number"
15101
+ },
15102
+ {
15103
+ "$ref": "#/definitions/ExprRef"
15104
+ }
15105
+ ],
15106
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
15107
+ "minimum": 0
14947
15108
  },
14948
15109
  "tickDash": {
14949
15110
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -15309,9 +15470,16 @@
15309
15470
  "type": "string"
15310
15471
  },
15311
15472
  "tickCount": {
15312
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
15313
- "minimum": 0,
15314
- "type": "number"
15473
+ "anyOf": [
15474
+ {
15475
+ "type": "number"
15476
+ },
15477
+ {
15478
+ "$ref": "#/definitions/ExprRef"
15479
+ }
15480
+ ],
15481
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
15482
+ "minimum": 0
15315
15483
  },
15316
15484
  "tickDash": {
15317
15485
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -16216,9 +16384,16 @@
16216
16384
  "type": "string"
16217
16385
  },
16218
16386
  "tickCount": {
16219
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
16220
- "minimum": 0,
16221
- "type": "number"
16387
+ "anyOf": [
16388
+ {
16389
+ "type": "number"
16390
+ },
16391
+ {
16392
+ "$ref": "#/definitions/ExprRef"
16393
+ }
16394
+ ],
16395
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
16396
+ "minimum": 0
16222
16397
  },
16223
16398
  "tickDash": {
16224
16399
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -16584,9 +16759,16 @@
16584
16759
  "type": "string"
16585
16760
  },
16586
16761
  "tickCount": {
16587
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
16588
- "minimum": 0,
16589
- "type": "number"
16762
+ "anyOf": [
16763
+ {
16764
+ "type": "number"
16765
+ },
16766
+ {
16767
+ "$ref": "#/definitions/ExprRef"
16768
+ }
16769
+ ],
16770
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
16771
+ "minimum": 0
16590
16772
  },
16591
16773
  "tickDash": {
16592
16774
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -17434,9 +17616,16 @@
17434
17616
  "type": "string"
17435
17617
  },
17436
17618
  "tickCount": {
17437
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
17438
- "minimum": 0,
17439
- "type": "number"
17619
+ "anyOf": [
17620
+ {
17621
+ "type": "number"
17622
+ },
17623
+ {
17624
+ "$ref": "#/definitions/ExprRef"
17625
+ }
17626
+ ],
17627
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
17628
+ "minimum": 0
17440
17629
  },
17441
17630
  "tickDash": {
17442
17631
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -17802,9 +17991,16 @@
17802
17991
  "type": "string"
17803
17992
  },
17804
17993
  "tickCount": {
17805
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
17806
- "minimum": 0,
17807
- "type": "number"
17994
+ "anyOf": [
17995
+ {
17996
+ "type": "number"
17997
+ },
17998
+ {
17999
+ "$ref": "#/definitions/ExprRef"
18000
+ }
18001
+ ],
18002
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
18003
+ "minimum": 0
17808
18004
  },
17809
18005
  "tickDash": {
17810
18006
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -21033,9 +21229,16 @@
21033
21229
  "type": "string"
21034
21230
  },
21035
21231
  "tickCount": {
21036
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
21037
- "minimum": 0,
21038
- "type": "number"
21232
+ "anyOf": [
21233
+ {
21234
+ "type": "number"
21235
+ },
21236
+ {
21237
+ "$ref": "#/definitions/ExprRef"
21238
+ }
21239
+ ],
21240
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
21241
+ "minimum": 0
21039
21242
  },
21040
21243
  "tickDash": {
21041
21244
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -21616,6 +21819,7 @@
21616
21819
  "mouseenter",
21617
21820
  "mouseleave",
21618
21821
  "mouseover",
21822
+ "mousemove",
21619
21823
  "mousedown",
21620
21824
  "wheel"
21621
21825
  ],
@@ -21648,6 +21852,10 @@
21648
21852
  },
21649
21853
  "type": "array"
21650
21854
  },
21855
+ "extent": {
21856
+ "$ref": "#/definitions/SelectionExtent",
21857
+ "description": "Visual extent of the interval selection rectangle.\n\n`\"auto\"` draws one spanning rectangle when the selected channel can span a concat safely. `\"view\"` draws one rectangle per participating view. `\"container\"` requires one spanning rectangle.\n\n__Default value:__ `\"auto\"`"
21858
+ },
21651
21859
  "mark": {
21652
21860
  "$ref": "#/definitions/BrushConfig",
21653
21861
  "description": "Interval selections display a rectangle mark to show the selected range. Use the `mark` property to adjust the appearance of this rectangle."
@@ -23703,6 +23911,9 @@
23703
23911
  },
23704
23912
  {
23705
23913
  "$ref": "#/definitions/SelectionParameter"
23914
+ },
23915
+ {
23916
+ "$ref": "#/definitions/RulerParameter"
23706
23917
  }
23707
23918
  ]
23708
23919
  },
@@ -26273,6 +26484,278 @@
26273
26484
  ],
26274
26485
  "type": "object"
26275
26486
  },
26487
+ "RulerChannelValue": {
26488
+ "anyOf": [
26489
+ {
26490
+ "$ref": "#/definitions/Scalar"
26491
+ },
26492
+ {
26493
+ "$ref": "#/definitions/ChromosomalLocus"
26494
+ },
26495
+ {
26496
+ "type": "null"
26497
+ }
26498
+ ]
26499
+ },
26500
+ "RulerClear": {
26501
+ "enum": [
26502
+ "mouseleave",
26503
+ "mouseup",
26504
+ false
26505
+ ],
26506
+ "type": [
26507
+ "string",
26508
+ "boolean"
26509
+ ]
26510
+ },
26511
+ "RulerConfig": {
26512
+ "additionalProperties": false,
26513
+ "properties": {
26514
+ "clear": {
26515
+ "$ref": "#/definitions/RulerClear",
26516
+ "description": "Event that clears the ruler, or `false` to keep the current value.\n\n__Default value:__ `\"mouseleave\"` for `on: \"mousemove\"`, otherwise `false`."
26517
+ },
26518
+ "display": {
26519
+ "$ref": "#/definitions/RulerDisplay",
26520
+ "description": "How the ruler is drawn for snapped index or locus coordinates.\n\n`\"line\"` draws at the coordinate. `\"center\"` draws at the center of the coordinate band. `\"band\"` draws a rectangle covering the coordinate band. `\"none\"` tracks the ruler value without drawing a guide.\n\n__Default value:__ `\"center\"` for snapped index and locus scales, otherwise `\"line\"`."
26521
+ },
26522
+ "encodings": {
26523
+ "description": "Positional channels whose domain coordinates are tracked by the ruler.\n\n__Default value:__ `[\"x\"]`",
26524
+ "items": {
26525
+ "$ref": "#/definitions/PrimaryPositionalChannel"
26526
+ },
26527
+ "type": "array"
26528
+ },
26529
+ "extent": {
26530
+ "$ref": "#/definitions/RulerExtent",
26531
+ "description": "Visual extent of the ruler.\n\n`\"view\"` draws one guide per participating view. `\"container\"` draws one spanning guide when participating projections align. `\"auto\"` chooses a spanning guide only when it is safe.\n\n__Default value:__ `\"auto\"`"
26532
+ },
26533
+ "mark": {
26534
+ "$ref": "#/definitions/RulerMarkConfig",
26535
+ "description": "Rule or band appearance. Has no effect when `display` is `\"none\"`."
26536
+ },
26537
+ "on": {
26538
+ "anyOf": [
26539
+ {
26540
+ "$ref": "#/definitions/RulerEventType"
26541
+ },
26542
+ {
26543
+ "$ref": "#/definitions/RulerEventConfig"
26544
+ },
26545
+ {
26546
+ "type": "string"
26547
+ }
26548
+ ],
26549
+ "description": "Event that updates a pointer-driven ruler.\n\n`\"mousemove\"` follows the pointer. `\"mousedown\"` updates on press and continues while dragging. Event filters can require modifier keys.\n\n__Default value:__ `\"mousemove\"`"
26550
+ },
26551
+ "snap": {
26552
+ "$ref": "#/definitions/RulerSnap",
26553
+ "description": "Quantization applied before writing the ruler value.\n\n`\"auto\"` snaps index and locus scales to integer coordinates. `\"integer\"` snaps all numeric coordinates. `false` keeps the original coordinate.\n\n__Default value:__ `\"auto\"` for index and locus scales, otherwise `false`."
26554
+ },
26555
+ "source": {
26556
+ "$ref": "#/definitions/RulerSource",
26557
+ "description": "Source of the ruler coordinate. `\"pointer\"` uses pointer events configured by `on`. `\"viewport\"` tracks the center of the current viewport.\n\n__Default value:__ `\"pointer\"`"
26558
+ }
26559
+ },
26560
+ "type": "object"
26561
+ },
26562
+ "RulerDisplay": {
26563
+ "enum": [
26564
+ "line",
26565
+ "center",
26566
+ "band",
26567
+ "none"
26568
+ ],
26569
+ "type": "string"
26570
+ },
26571
+ "RulerEventConfig": {
26572
+ "additionalProperties": false,
26573
+ "properties": {
26574
+ "filter": {
26575
+ "description": "Optional filter expression that must evaluate to true before the event updates the ruler.",
26576
+ "type": "string"
26577
+ },
26578
+ "type": {
26579
+ "$ref": "#/definitions/RulerEventType",
26580
+ "description": "Event that updates a pointer-driven ruler."
26581
+ }
26582
+ },
26583
+ "required": [
26584
+ "type"
26585
+ ],
26586
+ "type": "object"
26587
+ },
26588
+ "RulerEventType": {
26589
+ "enum": [
26590
+ "mousemove",
26591
+ "mousedown"
26592
+ ],
26593
+ "type": "string"
26594
+ },
26595
+ "RulerExtent": {
26596
+ "enum": [
26597
+ "auto",
26598
+ "view",
26599
+ "container"
26600
+ ],
26601
+ "type": "string"
26602
+ },
26603
+ "RulerInitMapping": {
26604
+ "additionalProperties": false,
26605
+ "properties": {
26606
+ "x": {
26607
+ "$ref": "#/definitions/RulerChannelValue"
26608
+ },
26609
+ "y": {
26610
+ "$ref": "#/definitions/RulerChannelValue"
26611
+ }
26612
+ },
26613
+ "type": "object"
26614
+ },
26615
+ "RulerMarkConfig": {
26616
+ "additionalProperties": false,
26617
+ "properties": {
26618
+ "fill": {
26619
+ "description": "Fill color for `display: \"band\"`.",
26620
+ "type": "string"
26621
+ },
26622
+ "fillOpacity": {
26623
+ "description": "Fill opacity for `display: \"band\"`.",
26624
+ "type": "number"
26625
+ },
26626
+ "opacity": {
26627
+ "description": "Opacity of ruler lines and bands.",
26628
+ "type": "number"
26629
+ },
26630
+ "shadowBlur": {
26631
+ "anyOf": [
26632
+ {
26633
+ "type": "number"
26634
+ },
26635
+ {
26636
+ "$ref": "#/definitions/ExprRef"
26637
+ }
26638
+ ],
26639
+ "description": "The blur radius of the drop shadow in pixels. Higher values produce a more diffuse shadow.\n\n**Default value:** `0`"
26640
+ },
26641
+ "shadowColor": {
26642
+ "anyOf": [
26643
+ {
26644
+ "type": "string"
26645
+ },
26646
+ {
26647
+ "$ref": "#/definitions/ExprRef"
26648
+ }
26649
+ ],
26650
+ "description": "The color of the drop shadow. Any valid CSS color string is allowed.\n\n**Default value:** `\"black\"`"
26651
+ },
26652
+ "shadowOffsetX": {
26653
+ "anyOf": [
26654
+ {
26655
+ "type": "number"
26656
+ },
26657
+ {
26658
+ "$ref": "#/definitions/ExprRef"
26659
+ }
26660
+ ],
26661
+ "description": "The horizontal offset of the drop shadow in pixels. Positive values move the shadow to the right.\n\n**Default value:** `0`"
26662
+ },
26663
+ "shadowOffsetY": {
26664
+ "anyOf": [
26665
+ {
26666
+ "type": "number"
26667
+ },
26668
+ {
26669
+ "$ref": "#/definitions/ExprRef"
26670
+ }
26671
+ ],
26672
+ "description": "The vertical offset of the drop shadow in pixels. Positive values move the shadow downward.\n\n**Default value:** `0`"
26673
+ },
26674
+ "shadowOpacity": {
26675
+ "anyOf": [
26676
+ {
26677
+ "type": "number"
26678
+ },
26679
+ {
26680
+ "$ref": "#/definitions/ExprRef"
26681
+ }
26682
+ ],
26683
+ "description": "The opacity of the drop shadow. Value between `0` (fully transparent) and `1` (fully opaque).\n\n**Default value:** `0` (disabled)"
26684
+ },
26685
+ "stroke": {
26686
+ "description": "Stroke color of ruler lines and band outlines.",
26687
+ "type": "string"
26688
+ },
26689
+ "strokeDash": {
26690
+ "description": "Alternating stroke and gap lengths for dashed ruler lines and band outlines.",
26691
+ "items": {
26692
+ "type": "number"
26693
+ },
26694
+ "type": "array"
26695
+ },
26696
+ "strokeWidth": {
26697
+ "description": "Stroke width of ruler lines and band outlines, in pixels.",
26698
+ "type": "number"
26699
+ },
26700
+ "zindex": {
26701
+ "description": "Z-order relative to the view content.\n\nValues greater than `0` render after the view marks. Values less than or equal to `0` render before the marks. The default value depends on the element type.",
26702
+ "type": "number"
26703
+ }
26704
+ },
26705
+ "type": "object"
26706
+ },
26707
+ "RulerParameter": {
26708
+ "additionalProperties": false,
26709
+ "properties": {
26710
+ "description": {
26711
+ "description": "A description of the parameter. Can be used for documentation and to explain the meaning of the control or selection.",
26712
+ "type": "string"
26713
+ },
26714
+ "name": {
26715
+ "description": "A unique name for the variable parameter. Parameter names should be valid JavaScript identifiers: they should contain only alphanumeric characters (or \"$\", or \"_\") and may not start with a digit. Reserved keywords that may not be used as parameter names are: \"datum\".",
26716
+ "type": "string"
26717
+ },
26718
+ "persist": {
26719
+ "description": "Whether the parameter should be persisted in bookmarks and provenance.\n\nThis primarily affects GenomeSpy App behavior. Set to `false` for ephemeral params (e.g., hover selections) or when the selection cannot be persisted due to missing `encoding.key`.\n\n__Default value:__ `true`",
26720
+ "type": "boolean"
26721
+ },
26722
+ "push": {
26723
+ "const": "outer",
26724
+ "type": "string"
26725
+ },
26726
+ "ruler": {
26727
+ "$ref": "#/definitions/RulerConfig",
26728
+ "description": "Tracks a domain coordinate and displays it as a ruler in compatible views."
26729
+ },
26730
+ "value": {
26731
+ "$ref": "#/definitions/RulerInitMapping",
26732
+ "description": "Initial ruler value."
26733
+ }
26734
+ },
26735
+ "required": [
26736
+ "name",
26737
+ "ruler"
26738
+ ],
26739
+ "type": "object"
26740
+ },
26741
+ "RulerSnap": {
26742
+ "enum": [
26743
+ "auto",
26744
+ "integer",
26745
+ false
26746
+ ],
26747
+ "type": [
26748
+ "string",
26749
+ "boolean"
26750
+ ]
26751
+ },
26752
+ "RulerSource": {
26753
+ "enum": [
26754
+ "pointer",
26755
+ "viewport"
26756
+ ],
26757
+ "type": "string"
26758
+ },
26276
26759
  "SampleAttributeDef": {
26277
26760
  "additionalProperties": false,
26278
26761
  "properties": {
@@ -26729,9 +27212,16 @@
26729
27212
  "type": "string"
26730
27213
  },
26731
27214
  "tickCount": {
26732
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
26733
- "minimum": 0,
26734
- "type": "number"
27215
+ "anyOf": [
27216
+ {
27217
+ "type": "number"
27218
+ },
27219
+ {
27220
+ "$ref": "#/definitions/ExprRef"
27221
+ }
27222
+ ],
27223
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
27224
+ "minimum": 0
26735
27225
  },
26736
27226
  "tickDash": {
26737
27227
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -27097,9 +27587,16 @@
27097
27587
  "type": "string"
27098
27588
  },
27099
27589
  "tickCount": {
27100
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
27101
- "minimum": 0,
27102
- "type": "number"
27590
+ "anyOf": [
27591
+ {
27592
+ "type": "number"
27593
+ },
27594
+ {
27595
+ "$ref": "#/definitions/ExprRef"
27596
+ }
27597
+ ],
27598
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
27599
+ "minimum": 0
27103
27600
  },
27104
27601
  "tickDash": {
27105
27602
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",
@@ -29481,6 +29978,14 @@
29481
29978
  ],
29482
29979
  "type": "object"
29483
29980
  },
29981
+ "SelectionExtent": {
29982
+ "enum": [
29983
+ "auto",
29984
+ "view",
29985
+ "container"
29986
+ ],
29987
+ "type": "string"
29988
+ },
29484
29989
  "SelectionFilterParams": {
29485
29990
  "additionalProperties": false,
29486
29991
  "properties": {
@@ -31551,9 +32056,16 @@
31551
32056
  "type": "string"
31552
32057
  },
31553
32058
  "tickCount": {
31554
- "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.",
31555
- "minimum": 0,
31556
- "type": "number"
32059
+ "anyOf": [
32060
+ {
32061
+ "type": "number"
32062
+ },
32063
+ {
32064
+ "$ref": "#/definitions/ExprRef"
32065
+ }
32066
+ ],
32067
+ "description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of `2`, `5`, `10`) and lie within the underlying scale's range.\n\nAn expression reference can use `axisLength` for the current length of the axis in pixels. For example, `{ \"expr\": \"ceil(axisLength / 40)\" }` requests one tick per 40 pixels.\n\n__Default value:__ an expression based on `axisLength`",
32068
+ "minimum": 0
31557
32069
  },
31558
32070
  "tickDash": {
31559
32071
  "description": "An array of alternating [stroke, space] lengths for dashed tick mark lines.",