@genome-spy/core 0.43.3 → 0.44.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/bundle/index.es.js +5525 -5259
- package/dist/bundle/index.js +153 -104
- package/dist/schema.json +412 -43
- package/dist/src/data/sources/lazy/axisTickSource.d.ts +1 -1
- package/dist/src/data/sources/lazy/axisTickSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/axisTickSource.js +2 -2
- package/dist/src/data/sources/lazy/bigWigSource.d.ts +6 -0
- package/dist/src/data/sources/lazy/bigWigSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/bigWigSource.js +3 -5
- package/dist/src/data/sources/lazy/singleAxisLazySource.d.ts +1 -1
- package/dist/src/data/sources/lazy/singleAxisLazySource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/singleAxisLazySource.js +1 -1
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.d.ts +7 -12
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.js +33 -29
- package/dist/src/data/transforms/filterScoredLabels.js +1 -1
- package/dist/src/encoder/encoder.d.ts.map +1 -1
- package/dist/src/encoder/encoder.js +16 -6
- package/dist/src/genomeSpy.d.ts +1 -0
- package/dist/src/genomeSpy.d.ts.map +1 -1
- package/dist/src/genomeSpy.js +108 -6
- package/dist/src/gl/glslScaleGenerator.d.ts +23 -3
- package/dist/src/gl/glslScaleGenerator.d.ts.map +1 -1
- package/dist/src/gl/glslScaleGenerator.js +137 -42
- package/dist/src/gl/webGLHelper.d.ts.map +1 -1
- package/dist/src/gl/webGLHelper.js +5 -7
- package/dist/src/marks/link.common.glsl.js +2 -0
- package/dist/src/marks/link.d.ts.map +1 -1
- package/dist/src/marks/link.js +19 -9
- package/dist/src/marks/link.vertex.glsl.js +1 -1
- package/dist/src/marks/mark.d.ts +19 -17
- package/dist/src/marks/mark.d.ts.map +1 -1
- package/dist/src/marks/mark.js +181 -120
- package/dist/src/marks/point.common.glsl.js +1 -1
- package/dist/src/marks/rect.common.glsl.js +2 -0
- package/dist/src/marks/rect.d.ts.map +1 -1
- package/dist/src/marks/rect.js +12 -12
- package/dist/src/marks/rect.vertex.glsl.js +1 -1
- package/dist/src/marks/rule.common.glsl.js +1 -1
- package/dist/src/marks/rule.js +2 -2
- package/dist/src/marks/text.common.glsl.js +1 -1
- package/dist/src/marks/text.js +2 -2
- package/dist/src/paramBroker.d.ts +19 -3
- package/dist/src/paramBroker.d.ts.map +1 -1
- package/dist/src/paramBroker.js +18 -2
- package/dist/src/spec/channel.d.ts +4 -3
- package/dist/src/spec/mark.d.ts +17 -25
- package/dist/src/spec/parameter.d.ts +123 -0
- package/dist/src/spec/root.d.ts +9 -0
- package/dist/src/spec/scale.d.ts +2 -1
- package/dist/src/spec/view.d.ts +1 -1
- package/dist/src/types/scaleResolutionApi.d.ts +7 -3
- package/dist/src/utils/expression.d.ts +2 -2
- package/dist/src/utils/expression.d.ts.map +1 -1
- package/dist/src/utils/expression.js +3 -3
- package/dist/src/view/axisView.js +3 -3
- package/dist/src/view/scaleResolution.d.ts +8 -18
- package/dist/src/view/scaleResolution.d.ts.map +1 -1
- package/dist/src/view/scaleResolution.js +220 -126
- package/dist/src/view/scaleResolution.test.js +7 -7
- package/dist/src/view/unitView.d.ts.map +1 -1
- package/dist/src/view/unitView.js +10 -3
- package/dist/src/view/view.js +2 -2
- package/package.json +2 -2
package/dist/schema.json
CHANGED
|
@@ -433,6 +433,122 @@
|
|
|
433
433
|
],
|
|
434
434
|
"type": "object"
|
|
435
435
|
},
|
|
436
|
+
"BindCheckbox": {
|
|
437
|
+
"additionalProperties": false,
|
|
438
|
+
"properties": {
|
|
439
|
+
"debounce": {
|
|
440
|
+
"description": "If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired.",
|
|
441
|
+
"type": "number"
|
|
442
|
+
},
|
|
443
|
+
"element": {
|
|
444
|
+
"$ref": "#/definitions/Element",
|
|
445
|
+
"description": "An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view."
|
|
446
|
+
},
|
|
447
|
+
"input": {
|
|
448
|
+
"const": "checkbox",
|
|
449
|
+
"type": "string"
|
|
450
|
+
},
|
|
451
|
+
"name": {
|
|
452
|
+
"description": "By default, the parameter name is used to label input elements. This `name` property can be used instead to specify a custom label for the bound parameter.",
|
|
453
|
+
"type": "string"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"required": [
|
|
457
|
+
"input"
|
|
458
|
+
],
|
|
459
|
+
"type": "object"
|
|
460
|
+
},
|
|
461
|
+
"BindRadioSelect": {
|
|
462
|
+
"additionalProperties": false,
|
|
463
|
+
"properties": {
|
|
464
|
+
"debounce": {
|
|
465
|
+
"description": "If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired.",
|
|
466
|
+
"type": "number"
|
|
467
|
+
},
|
|
468
|
+
"element": {
|
|
469
|
+
"$ref": "#/definitions/Element",
|
|
470
|
+
"description": "An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view."
|
|
471
|
+
},
|
|
472
|
+
"input": {
|
|
473
|
+
"enum": [
|
|
474
|
+
"radio",
|
|
475
|
+
"select"
|
|
476
|
+
],
|
|
477
|
+
"type": "string"
|
|
478
|
+
},
|
|
479
|
+
"labels": {
|
|
480
|
+
"description": "An array of label strings to represent the `options` values. If unspecified, the `options` value will be coerced to a string and used as the label.",
|
|
481
|
+
"items": {
|
|
482
|
+
"type": "string"
|
|
483
|
+
},
|
|
484
|
+
"type": "array"
|
|
485
|
+
},
|
|
486
|
+
"name": {
|
|
487
|
+
"description": "By default, the parameter name is used to label input elements. This `name` property can be used instead to specify a custom label for the bound parameter.",
|
|
488
|
+
"type": "string"
|
|
489
|
+
},
|
|
490
|
+
"options": {
|
|
491
|
+
"description": "An array of options to select from.",
|
|
492
|
+
"items": {},
|
|
493
|
+
"type": "array"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"required": [
|
|
497
|
+
"input",
|
|
498
|
+
"options"
|
|
499
|
+
],
|
|
500
|
+
"type": "object"
|
|
501
|
+
},
|
|
502
|
+
"BindRange": {
|
|
503
|
+
"additionalProperties": false,
|
|
504
|
+
"properties": {
|
|
505
|
+
"debounce": {
|
|
506
|
+
"description": "If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired.",
|
|
507
|
+
"type": "number"
|
|
508
|
+
},
|
|
509
|
+
"element": {
|
|
510
|
+
"$ref": "#/definitions/Element",
|
|
511
|
+
"description": "An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view."
|
|
512
|
+
},
|
|
513
|
+
"input": {
|
|
514
|
+
"const": "range",
|
|
515
|
+
"type": "string"
|
|
516
|
+
},
|
|
517
|
+
"max": {
|
|
518
|
+
"description": "Sets the maximum slider value. Defaults to the larger of the signal value and `100`.",
|
|
519
|
+
"type": "number"
|
|
520
|
+
},
|
|
521
|
+
"min": {
|
|
522
|
+
"description": "Sets the minimum slider value. Defaults to the smaller of the signal value and `0`.",
|
|
523
|
+
"type": "number"
|
|
524
|
+
},
|
|
525
|
+
"name": {
|
|
526
|
+
"description": "By default, the parameter name is used to label input elements. This `name` property can be used instead to specify a custom label for the bound parameter.",
|
|
527
|
+
"type": "string"
|
|
528
|
+
},
|
|
529
|
+
"step": {
|
|
530
|
+
"description": "Sets the minimum slider increment. If undefined, the step size will be automatically determined based on the `min` and `max` values.",
|
|
531
|
+
"type": "number"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"required": [
|
|
535
|
+
"input"
|
|
536
|
+
],
|
|
537
|
+
"type": "object"
|
|
538
|
+
},
|
|
539
|
+
"Binding": {
|
|
540
|
+
"anyOf": [
|
|
541
|
+
{
|
|
542
|
+
"$ref": "#/definitions/BindCheckbox"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"$ref": "#/definitions/BindRadioSelect"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"$ref": "#/definitions/BindRange"
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
},
|
|
436
552
|
"ChannelWithScale": {
|
|
437
553
|
"anyOf": [
|
|
438
554
|
{
|
|
@@ -1041,6 +1157,9 @@
|
|
|
1041
1157
|
],
|
|
1042
1158
|
"type": "object"
|
|
1043
1159
|
},
|
|
1160
|
+
"Element": {
|
|
1161
|
+
"type": "string"
|
|
1162
|
+
},
|
|
1044
1163
|
"Encoding": {
|
|
1045
1164
|
"additionalProperties": false,
|
|
1046
1165
|
"properties": {
|
|
@@ -1267,7 +1386,14 @@
|
|
|
1267
1386
|
"type": "boolean"
|
|
1268
1387
|
},
|
|
1269
1388
|
"datum": {
|
|
1270
|
-
"
|
|
1389
|
+
"anyOf": [
|
|
1390
|
+
{
|
|
1391
|
+
"$ref": "#/definitions/Scalar"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"$ref": "#/definitions/ExprRef"
|
|
1395
|
+
}
|
|
1396
|
+
],
|
|
1271
1397
|
"description": "A constant value in data domain."
|
|
1272
1398
|
},
|
|
1273
1399
|
"resolutionChannel": {
|
|
@@ -1354,8 +1480,15 @@
|
|
|
1354
1480
|
]
|
|
1355
1481
|
},
|
|
1356
1482
|
"value": {
|
|
1357
|
-
"
|
|
1358
|
-
|
|
1483
|
+
"anyOf": [
|
|
1484
|
+
{
|
|
1485
|
+
"type": "number"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"$ref": "#/definitions/ExprRef"
|
|
1489
|
+
}
|
|
1490
|
+
],
|
|
1491
|
+
"description": "A constant value in visual domain (e.g., `\"red\"` / `\"#0099ff\"`, values between `0` to `1` for opacity)."
|
|
1359
1492
|
}
|
|
1360
1493
|
},
|
|
1361
1494
|
"required": [
|
|
@@ -2773,8 +2906,15 @@
|
|
|
2773
2906
|
"description": "The horizontal alignment of the text. One of `\"left\"`, `\"center\"`, or `\"right\"`.\n\n**Default value:** `\"left\"`"
|
|
2774
2907
|
},
|
|
2775
2908
|
"angle": {
|
|
2776
|
-
"
|
|
2777
|
-
|
|
2909
|
+
"anyOf": [
|
|
2910
|
+
{
|
|
2911
|
+
"type": "number"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"$ref": "#/definitions/ExprRef"
|
|
2915
|
+
}
|
|
2916
|
+
],
|
|
2917
|
+
"description": "The rotation angle in degrees.\n\n**Default value:** `0`"
|
|
2778
2918
|
},
|
|
2779
2919
|
"arcFadingDistance": {
|
|
2780
2920
|
"anyOf": [
|
|
@@ -2835,7 +2975,14 @@
|
|
|
2835
2975
|
"description": "If true, the mark is clipped to the UnitView's rectangle. By default, clipping is enabled for marks that have zoomable positional scales."
|
|
2836
2976
|
},
|
|
2837
2977
|
"color": {
|
|
2838
|
-
"
|
|
2978
|
+
"anyOf": [
|
|
2979
|
+
{
|
|
2980
|
+
"type": "string"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"$ref": "#/definitions/ExprRef"
|
|
2984
|
+
}
|
|
2985
|
+
]
|
|
2839
2986
|
},
|
|
2840
2987
|
"cornerRadius": {
|
|
2841
2988
|
"anyOf": [
|
|
@@ -2901,16 +3048,30 @@
|
|
|
2901
3048
|
"type": "number"
|
|
2902
3049
|
},
|
|
2903
3050
|
"fill": {
|
|
2904
|
-
"
|
|
2905
|
-
|
|
3051
|
+
"anyOf": [
|
|
3052
|
+
{
|
|
3053
|
+
"type": "string"
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
"$ref": "#/definitions/ExprRef"
|
|
3057
|
+
}
|
|
3058
|
+
],
|
|
3059
|
+
"description": "The fill color"
|
|
2906
3060
|
},
|
|
2907
3061
|
"fillGradientStrength": {
|
|
2908
3062
|
"description": "Gradient strength controls the amount of the gradient eye-candy effect in the fill color. Valid values are between 0 and 1.\n\n**Default value:** `0`",
|
|
2909
3063
|
"type": "number"
|
|
2910
3064
|
},
|
|
2911
3065
|
"fillOpacity": {
|
|
2912
|
-
"
|
|
2913
|
-
|
|
3066
|
+
"anyOf": [
|
|
3067
|
+
{
|
|
3068
|
+
"type": "number"
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"$ref": "#/definitions/ExprRef"
|
|
3072
|
+
}
|
|
3073
|
+
],
|
|
3074
|
+
"description": "The fill opacity. Value between [0, 1]."
|
|
2914
3075
|
},
|
|
2915
3076
|
"filled": {
|
|
2916
3077
|
"description": "Whether the `color` represents the `fill` color (`true`) or the `stroke` color (`false`).",
|
|
@@ -3058,7 +3219,14 @@
|
|
|
3058
3219
|
"description": "The minimum width of a rectangle in pixels. The property clamps rectangles' widths when the viewport is zoomed out.\n\nThis property also reduces flickering of very narrow rectangles when zooming. The value should generally be at least one.\n\n**Default value:** `1`"
|
|
3059
3220
|
},
|
|
3060
3221
|
"opacity": {
|
|
3061
|
-
"
|
|
3222
|
+
"anyOf": [
|
|
3223
|
+
{
|
|
3224
|
+
"type": "number"
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
"$ref": "#/definitions/ExprRef"
|
|
3228
|
+
}
|
|
3229
|
+
]
|
|
3062
3230
|
},
|
|
3063
3231
|
"orient": {
|
|
3064
3232
|
"anyOf": [
|
|
@@ -3101,16 +3269,30 @@
|
|
|
3101
3269
|
"type": "string"
|
|
3102
3270
|
},
|
|
3103
3271
|
"size": {
|
|
3104
|
-
"
|
|
3105
|
-
|
|
3272
|
+
"anyOf": [
|
|
3273
|
+
{
|
|
3274
|
+
"type": "number"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"$ref": "#/definitions/ExprRef"
|
|
3278
|
+
}
|
|
3279
|
+
],
|
|
3280
|
+
"description": "The font size in pixels.\n\n**Default value:** `11`"
|
|
3106
3281
|
},
|
|
3107
3282
|
"squeeze": {
|
|
3108
3283
|
"description": "If the `squeeze` property is true and secondary positional channels (`x2` and/or `y2`) are used, the text is scaled to fit mark's width and/or height.\n\n**Default value:** `true`",
|
|
3109
3284
|
"type": "boolean"
|
|
3110
3285
|
},
|
|
3111
3286
|
"stroke": {
|
|
3112
|
-
"
|
|
3113
|
-
|
|
3287
|
+
"anyOf": [
|
|
3288
|
+
{
|
|
3289
|
+
"type": "string"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"$ref": "#/definitions/ExprRef"
|
|
3293
|
+
}
|
|
3294
|
+
],
|
|
3295
|
+
"description": "The stroke color"
|
|
3114
3296
|
},
|
|
3115
3297
|
"strokeCap": {
|
|
3116
3298
|
"anyOf": [
|
|
@@ -3144,12 +3326,26 @@
|
|
|
3144
3326
|
"type": "number"
|
|
3145
3327
|
},
|
|
3146
3328
|
"strokeOpacity": {
|
|
3147
|
-
"
|
|
3148
|
-
|
|
3329
|
+
"anyOf": [
|
|
3330
|
+
{
|
|
3331
|
+
"type": "number"
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"$ref": "#/definitions/ExprRef"
|
|
3335
|
+
}
|
|
3336
|
+
],
|
|
3337
|
+
"description": "The stroke opacity. Value between [0, 1]."
|
|
3149
3338
|
},
|
|
3150
3339
|
"strokeWidth": {
|
|
3151
|
-
"
|
|
3152
|
-
|
|
3340
|
+
"anyOf": [
|
|
3341
|
+
{
|
|
3342
|
+
"type": "number"
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
"$ref": "#/definitions/ExprRef"
|
|
3346
|
+
}
|
|
3347
|
+
],
|
|
3348
|
+
"description": "The stroke width in pixels."
|
|
3153
3349
|
},
|
|
3154
3350
|
"text": {
|
|
3155
3351
|
"$ref": "#/definitions/Scalar",
|
|
@@ -3187,20 +3383,48 @@
|
|
|
3187
3383
|
"type": "number"
|
|
3188
3384
|
},
|
|
3189
3385
|
"x": {
|
|
3190
|
-
"
|
|
3386
|
+
"anyOf": [
|
|
3387
|
+
{
|
|
3388
|
+
"type": "number"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"$ref": "#/definitions/ExprRef"
|
|
3392
|
+
}
|
|
3393
|
+
]
|
|
3191
3394
|
},
|
|
3192
3395
|
"x2": {
|
|
3193
|
-
"
|
|
3396
|
+
"anyOf": [
|
|
3397
|
+
{
|
|
3398
|
+
"type": "number"
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"$ref": "#/definitions/ExprRef"
|
|
3402
|
+
}
|
|
3403
|
+
]
|
|
3194
3404
|
},
|
|
3195
3405
|
"xOffset": {
|
|
3196
3406
|
"description": "Offsets of the `x` and `x2` coordinates in pixels. The offset is applied after the viewport scaling and translation.\n\n**Default value:** `0`",
|
|
3197
3407
|
"type": "number"
|
|
3198
3408
|
},
|
|
3199
3409
|
"y": {
|
|
3200
|
-
"
|
|
3410
|
+
"anyOf": [
|
|
3411
|
+
{
|
|
3412
|
+
"type": "number"
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"$ref": "#/definitions/ExprRef"
|
|
3416
|
+
}
|
|
3417
|
+
]
|
|
3201
3418
|
},
|
|
3202
3419
|
"y2": {
|
|
3203
|
-
"
|
|
3420
|
+
"anyOf": [
|
|
3421
|
+
{
|
|
3422
|
+
"type": "number"
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"$ref": "#/definitions/ExprRef"
|
|
3426
|
+
}
|
|
3427
|
+
]
|
|
3204
3428
|
},
|
|
3205
3429
|
"yOffset": {
|
|
3206
3430
|
"description": "Offsets of the `y` and `y2` coordinates in pixels. The offset is applied after the viewport scaling and translation.\n\n**Default value:** `0`",
|
|
@@ -3216,7 +3440,14 @@
|
|
|
3216
3440
|
"additionalProperties": false,
|
|
3217
3441
|
"properties": {
|
|
3218
3442
|
"datum": {
|
|
3219
|
-
"
|
|
3443
|
+
"anyOf": [
|
|
3444
|
+
{
|
|
3445
|
+
"$ref": "#/definitions/Scalar"
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
"$ref": "#/definitions/ExprRef"
|
|
3449
|
+
}
|
|
3450
|
+
],
|
|
3220
3451
|
"description": "A constant value in data domain."
|
|
3221
3452
|
},
|
|
3222
3453
|
"resolutionChannel": {
|
|
@@ -3254,7 +3485,14 @@
|
|
|
3254
3485
|
"additionalProperties": false,
|
|
3255
3486
|
"properties": {
|
|
3256
3487
|
"datum": {
|
|
3257
|
-
"
|
|
3488
|
+
"anyOf": [
|
|
3489
|
+
{
|
|
3490
|
+
"$ref": "#/definitions/Scalar"
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"$ref": "#/definitions/ExprRef"
|
|
3494
|
+
}
|
|
3495
|
+
],
|
|
3258
3496
|
"description": "A constant value in data domain."
|
|
3259
3497
|
},
|
|
3260
3498
|
"resolutionChannel": {
|
|
@@ -3710,7 +3948,14 @@
|
|
|
3710
3948
|
"type": "number"
|
|
3711
3949
|
},
|
|
3712
3950
|
"datum": {
|
|
3713
|
-
"
|
|
3951
|
+
"anyOf": [
|
|
3952
|
+
{
|
|
3953
|
+
"$ref": "#/definitions/Scalar"
|
|
3954
|
+
},
|
|
3955
|
+
{
|
|
3956
|
+
"$ref": "#/definitions/ExprRef"
|
|
3957
|
+
}
|
|
3958
|
+
],
|
|
3714
3959
|
"description": "A constant value in data domain."
|
|
3715
3960
|
},
|
|
3716
3961
|
"title": {
|
|
@@ -3768,7 +4013,14 @@
|
|
|
3768
4013
|
"type": "number"
|
|
3769
4014
|
},
|
|
3770
4015
|
"datum": {
|
|
3771
|
-
"
|
|
4016
|
+
"anyOf": [
|
|
4017
|
+
{
|
|
4018
|
+
"$ref": "#/definitions/Scalar"
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"$ref": "#/definitions/ExprRef"
|
|
4022
|
+
}
|
|
4023
|
+
],
|
|
3772
4024
|
"description": "A constant value in data domain."
|
|
3773
4025
|
},
|
|
3774
4026
|
"resolutionChannel": {
|
|
@@ -4166,6 +4418,13 @@
|
|
|
4166
4418
|
"$ref": "#/definitions/PaddingConfig",
|
|
4167
4419
|
"description": "Padding in pixels.\n\n**Default:* `0`"
|
|
4168
4420
|
},
|
|
4421
|
+
"params": {
|
|
4422
|
+
"description": "Dynamic variables that parameterize a visualization.\n\nFor now, these are only supported in mark properties, i.e., they are not supported in the filter and formula transforms (yet).",
|
|
4423
|
+
"items": {
|
|
4424
|
+
"$ref": "#/definitions/VariableParameter"
|
|
4425
|
+
},
|
|
4426
|
+
"type": "array"
|
|
4427
|
+
},
|
|
4169
4428
|
"resolve": {
|
|
4170
4429
|
"additionalProperties": false,
|
|
4171
4430
|
"properties": {
|
|
@@ -4374,6 +4633,13 @@
|
|
|
4374
4633
|
"$ref": "#/definitions/PaddingConfig",
|
|
4375
4634
|
"description": "Padding in pixels.\n\n**Default:* `0`"
|
|
4376
4635
|
},
|
|
4636
|
+
"params": {
|
|
4637
|
+
"description": "Dynamic variables that parameterize a visualization.\n\nFor now, these are only supported in mark properties, i.e., they are not supported in the filter and formula transforms (yet).",
|
|
4638
|
+
"items": {
|
|
4639
|
+
"$ref": "#/definitions/VariableParameter"
|
|
4640
|
+
},
|
|
4641
|
+
"type": "array"
|
|
4642
|
+
},
|
|
4377
4643
|
"resolve": {
|
|
4378
4644
|
"additionalProperties": false,
|
|
4379
4645
|
"properties": {
|
|
@@ -4556,6 +4822,13 @@
|
|
|
4556
4822
|
"$ref": "#/definitions/PaddingConfig",
|
|
4557
4823
|
"description": "Padding in pixels.\n\n**Default:* `0`"
|
|
4558
4824
|
},
|
|
4825
|
+
"params": {
|
|
4826
|
+
"description": "Dynamic variables that parameterize a visualization.\n\nFor now, these are only supported in mark properties, i.e., they are not supported in the filter and formula transforms (yet).",
|
|
4827
|
+
"items": {
|
|
4828
|
+
"$ref": "#/definitions/VariableParameter"
|
|
4829
|
+
},
|
|
4830
|
+
"type": "array"
|
|
4831
|
+
},
|
|
4559
4832
|
"resolve": {
|
|
4560
4833
|
"additionalProperties": false,
|
|
4561
4834
|
"properties": {
|
|
@@ -4764,6 +5037,13 @@
|
|
|
4764
5037
|
"$ref": "#/definitions/PaddingConfig",
|
|
4765
5038
|
"description": "Padding in pixels.\n\n**Default:* `0`"
|
|
4766
5039
|
},
|
|
5040
|
+
"params": {
|
|
5041
|
+
"description": "Dynamic variables that parameterize a visualization.\n\nFor now, these are only supported in mark properties, i.e., they are not supported in the filter and formula transforms (yet).",
|
|
5042
|
+
"items": {
|
|
5043
|
+
"$ref": "#/definitions/VariableParameter"
|
|
5044
|
+
},
|
|
5045
|
+
"type": "array"
|
|
5046
|
+
},
|
|
4767
5047
|
"resolve": {
|
|
4768
5048
|
"additionalProperties": false,
|
|
4769
5049
|
"properties": {
|
|
@@ -4962,6 +5242,13 @@
|
|
|
4962
5242
|
"$ref": "#/definitions/PaddingConfig",
|
|
4963
5243
|
"description": "Padding in pixels.\n\n**Default:* `0`"
|
|
4964
5244
|
},
|
|
5245
|
+
"params": {
|
|
5246
|
+
"description": "Dynamic variables that parameterize a visualization.\n\nFor now, these are only supported in mark properties, i.e., they are not supported in the filter and formula transforms (yet).",
|
|
5247
|
+
"items": {
|
|
5248
|
+
"$ref": "#/definitions/VariableParameter"
|
|
5249
|
+
},
|
|
5250
|
+
"type": "array"
|
|
5251
|
+
},
|
|
4965
5252
|
"resolve": {
|
|
4966
5253
|
"additionalProperties": false,
|
|
4967
5254
|
"properties": {
|
|
@@ -5145,6 +5432,13 @@
|
|
|
5145
5432
|
"$ref": "#/definitions/PaddingConfig",
|
|
5146
5433
|
"description": "Padding in pixels.\n\n**Default:* `0`"
|
|
5147
5434
|
},
|
|
5435
|
+
"params": {
|
|
5436
|
+
"description": "Dynamic variables that parameterize a visualization.\n\nFor now, these are only supported in mark properties, i.e., they are not supported in the filter and formula transforms (yet).",
|
|
5437
|
+
"items": {
|
|
5438
|
+
"$ref": "#/definitions/VariableParameter"
|
|
5439
|
+
},
|
|
5440
|
+
"type": "array"
|
|
5441
|
+
},
|
|
5148
5442
|
"resolve": {
|
|
5149
5443
|
"additionalProperties": false,
|
|
5150
5444
|
"properties": {
|
|
@@ -5731,6 +6025,12 @@
|
|
|
5731
6025
|
},
|
|
5732
6026
|
{
|
|
5733
6027
|
"type": "string"
|
|
6028
|
+
},
|
|
6029
|
+
{
|
|
6030
|
+
"items": {
|
|
6031
|
+
"$ref": "#/definitions/ExprRef"
|
|
6032
|
+
},
|
|
6033
|
+
"type": "array"
|
|
5734
6034
|
}
|
|
5735
6035
|
],
|
|
5736
6036
|
"description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
|
|
@@ -6044,7 +6344,14 @@
|
|
|
6044
6344
|
"additionalProperties": false,
|
|
6045
6345
|
"properties": {
|
|
6046
6346
|
"datum": {
|
|
6047
|
-
"
|
|
6347
|
+
"anyOf": [
|
|
6348
|
+
{
|
|
6349
|
+
"$ref": "#/definitions/Scalar"
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"$ref": "#/definitions/ExprRef"
|
|
6353
|
+
}
|
|
6354
|
+
],
|
|
6048
6355
|
"description": "A constant value in data domain."
|
|
6049
6356
|
},
|
|
6050
6357
|
"format": {
|
|
@@ -6695,11 +7002,18 @@
|
|
|
6695
7002
|
]
|
|
6696
7003
|
},
|
|
6697
7004
|
"value": {
|
|
6698
|
-
"
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
7005
|
+
"anyOf": [
|
|
7006
|
+
{
|
|
7007
|
+
"type": "string"
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
"type": "null"
|
|
7011
|
+
},
|
|
7012
|
+
{
|
|
7013
|
+
"$ref": "#/definitions/ExprRef"
|
|
7014
|
+
}
|
|
7015
|
+
],
|
|
7016
|
+
"description": "A constant value in visual domain (e.g., `\"red\"` / `\"#0099ff\"`, values between `0` to `1` for opacity)."
|
|
6703
7017
|
}
|
|
6704
7018
|
},
|
|
6705
7019
|
"required": [
|
|
@@ -6718,8 +7032,15 @@
|
|
|
6718
7032
|
]
|
|
6719
7033
|
},
|
|
6720
7034
|
"value": {
|
|
6721
|
-
"
|
|
6722
|
-
|
|
7035
|
+
"anyOf": [
|
|
7036
|
+
{
|
|
7037
|
+
"type": "number"
|
|
7038
|
+
},
|
|
7039
|
+
{
|
|
7040
|
+
"$ref": "#/definitions/ExprRef"
|
|
7041
|
+
}
|
|
7042
|
+
],
|
|
7043
|
+
"description": "A constant value in visual domain (e.g., `\"red\"` / `\"#0099ff\"`, values between `0` to `1` for opacity)."
|
|
6723
7044
|
}
|
|
6724
7045
|
},
|
|
6725
7046
|
"required": [
|
|
@@ -6727,24 +7048,72 @@
|
|
|
6727
7048
|
],
|
|
6728
7049
|
"type": "object"
|
|
6729
7050
|
},
|
|
7051
|
+
"VariableParameter": {
|
|
7052
|
+
"additionalProperties": false,
|
|
7053
|
+
"properties": {
|
|
7054
|
+
"bind": {
|
|
7055
|
+
"$ref": "#/definitions/Binding",
|
|
7056
|
+
"description": "Binds the parameter to an external input element such as a slider, selection list or radio button group."
|
|
7057
|
+
},
|
|
7058
|
+
"name": {
|
|
7059
|
+
"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\".",
|
|
7060
|
+
"type": "string"
|
|
7061
|
+
},
|
|
7062
|
+
"value": {
|
|
7063
|
+
"description": "The [initial value](http://vega.github.io/vega-lite/docs/value.html) of the parameter.\n\n__Default value:__ `undefined`"
|
|
7064
|
+
}
|
|
7065
|
+
},
|
|
7066
|
+
"required": [
|
|
7067
|
+
"name"
|
|
7068
|
+
],
|
|
7069
|
+
"type": "object"
|
|
7070
|
+
},
|
|
6730
7071
|
"ViewBackground": {
|
|
6731
7072
|
"additionalProperties": false,
|
|
6732
7073
|
"properties": {
|
|
6733
7074
|
"fill": {
|
|
6734
|
-
"
|
|
6735
|
-
|
|
7075
|
+
"anyOf": [
|
|
7076
|
+
{
|
|
7077
|
+
"type": "string"
|
|
7078
|
+
},
|
|
7079
|
+
{
|
|
7080
|
+
"$ref": "#/definitions/ExprRef"
|
|
7081
|
+
}
|
|
7082
|
+
],
|
|
7083
|
+
"description": "The fill color"
|
|
6736
7084
|
},
|
|
6737
7085
|
"fillOpacity": {
|
|
6738
|
-
"
|
|
6739
|
-
|
|
7086
|
+
"anyOf": [
|
|
7087
|
+
{
|
|
7088
|
+
"type": "number"
|
|
7089
|
+
},
|
|
7090
|
+
{
|
|
7091
|
+
"$ref": "#/definitions/ExprRef"
|
|
7092
|
+
}
|
|
7093
|
+
],
|
|
7094
|
+
"description": "The fill opacity. Value between [0, 1]."
|
|
6740
7095
|
},
|
|
6741
7096
|
"stroke": {
|
|
6742
|
-
"
|
|
6743
|
-
|
|
7097
|
+
"anyOf": [
|
|
7098
|
+
{
|
|
7099
|
+
"type": "string"
|
|
7100
|
+
},
|
|
7101
|
+
{
|
|
7102
|
+
"$ref": "#/definitions/ExprRef"
|
|
7103
|
+
}
|
|
7104
|
+
],
|
|
7105
|
+
"description": "The stroke color"
|
|
6744
7106
|
},
|
|
6745
7107
|
"strokeOpacity": {
|
|
6746
|
-
"
|
|
6747
|
-
|
|
7108
|
+
"anyOf": [
|
|
7109
|
+
{
|
|
7110
|
+
"type": "number"
|
|
7111
|
+
},
|
|
7112
|
+
{
|
|
7113
|
+
"$ref": "#/definitions/ExprRef"
|
|
7114
|
+
}
|
|
7115
|
+
],
|
|
7116
|
+
"description": "The stroke opacity. Value between [0, 1]."
|
|
6748
7117
|
},
|
|
6749
7118
|
"strokeWidth": {
|
|
6750
7119
|
"type": "number"
|
|
@@ -12,7 +12,7 @@ export default class AxisTickSource extends SingleAxisLazySource {
|
|
|
12
12
|
*/
|
|
13
13
|
ticks: import("../../../spec/channel.js").Scalar[];
|
|
14
14
|
params: import("../../../spec/data.js").AxisTicksData;
|
|
15
|
-
onDomainChanged():
|
|
15
|
+
onDomainChanged(): void;
|
|
16
16
|
}
|
|
17
17
|
import SingleAxisLazySource from "./singleAxisLazySource.js";
|
|
18
18
|
//# sourceMappingURL=axisTickSource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axisTickSource.d.ts","sourceRoot":"","sources":["../../../../../src/data/sources/lazy/axisTickSource.js"],"names":[],"mappings":"AAYA;;GAEG;AACH;IAMI;;;OAGG;IACH,oBAHW,OAAO,uBAAuB,EAAE,aAAa,QAC7C,OAAO,uBAAuB,EAAE,OAAO,EAYjD;IAnBD;;OAEG;IACH,OAFU,OAAO,0BAA0B,EAAE,MAAM,EAAE,CAE1C;IAeP,sDAAoB;IAGxB,
|
|
1
|
+
{"version":3,"file":"axisTickSource.d.ts","sourceRoot":"","sources":["../../../../../src/data/sources/lazy/axisTickSource.js"],"names":[],"mappings":"AAYA;;GAEG;AACH;IAMI;;;OAGG;IACH,oBAHW,OAAO,uBAAuB,EAAE,aAAa,QAC7C,OAAO,uBAAuB,EAAE,OAAO,EAYjD;IAnBD;;OAEG;IACH,OAFU,OAAO,0BAA0B,EAAE,MAAM,EAAE,CAE1C;IAeP,sDAAoB;IAGxB,wBAkCC;CACJ;iCA9DgC,2BAA2B"}
|