@genome-spy/core 0.76.0 → 0.78.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/LICENSE +21 -0
- package/dist/bundle/browser-KWU9rWZT.js +123 -0
- package/dist/bundle/esm-CT3ygiMq.js +1084 -0
- package/dist/bundle/{esm-D_euN86T.js → esm-DAnOffpD.js} +2 -2
- package/dist/bundle/{esm-BimDEpBb.js → esm-DNtC3H80.js} +2 -2
- package/dist/bundle/{esm-CngqBe45.js → esm-DVOHLB1e.js} +2 -2
- package/dist/bundle/esm-NIYEaYkc.js +1221 -0
- package/dist/bundle/index.es.js +3007 -2787
- package/dist/bundle/index.js +110 -99
- package/dist/schema.json +825 -112
- package/dist/src/data/sources/lazy/bigWigSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/bigWigSource.js +31 -11
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.d.ts +19 -3
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.js +34 -13
- package/dist/src/data/transforms/filterScoredLabels.d.ts.map +1 -1
- package/dist/src/data/transforms/filterScoredLabels.js +3 -2
- package/dist/src/embedFactory.d.ts.map +1 -1
- package/dist/src/embedFactory.js +2 -0
- package/dist/src/genomeSpy/headlessBootstrap.d.ts.map +1 -1
- package/dist/src/genomeSpy/headlessBootstrap.js +2 -0
- package/dist/src/genomeSpy/interactionController.d.ts +4 -1
- package/dist/src/genomeSpy/interactionController.d.ts.map +1 -1
- package/dist/src/genomeSpy/interactionController.js +57 -13
- package/dist/src/genomeSpy/viewContextFactory.d.ts.map +1 -1
- package/dist/src/genomeSpy/viewContextFactory.js +1 -0
- package/dist/src/genomeSpyBase.d.ts +6 -0
- package/dist/src/genomeSpyBase.d.ts.map +1 -1
- package/dist/src/genomeSpyBase.js +16 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/marks/__snapshots__/shaderSnapshot.test.js.snap +2 -2
- package/dist/src/marks/mark.d.ts.map +1 -1
- package/dist/src/marks/mark.js +0 -6
- package/dist/src/marks/rect.vertex.glsl.js +1 -1
- package/dist/src/minimal.d.ts +1 -0
- package/dist/src/minimal.d.ts.map +1 -1
- package/dist/src/minimal.js +1 -0
- package/dist/src/paramRuntime/embedParamApi.d.ts +26 -0
- package/dist/src/paramRuntime/embedParamApi.d.ts.map +1 -0
- package/dist/src/paramRuntime/embedParamApi.js +133 -0
- package/dist/src/scales/domainExpressions.d.ts +21 -0
- package/dist/src/scales/domainExpressions.d.ts.map +1 -0
- package/dist/src/scales/domainExpressions.js +43 -0
- package/dist/src/scales/domainPlanner.d.ts +12 -1
- package/dist/src/scales/domainPlanner.d.ts.map +1 -1
- package/dist/src/scales/domainPlanner.js +55 -36
- package/dist/src/scales/scaleInstanceManager.d.ts +1 -0
- package/dist/src/scales/scaleInstanceManager.d.ts.map +1 -1
- package/dist/src/scales/scaleInstanceManager.js +5 -0
- package/dist/src/scales/scaleInteractionController.d.ts +8 -4
- package/dist/src/scales/scaleInteractionController.d.ts.map +1 -1
- package/dist/src/scales/scaleInteractionController.js +55 -7
- package/dist/src/scales/scalePropsResolver.d.ts +6 -1
- package/dist/src/scales/scalePropsResolver.d.ts.map +1 -1
- package/dist/src/scales/scalePropsResolver.js +35 -10
- package/dist/src/scales/scaleResolution.d.ts +19 -3
- package/dist/src/scales/scaleResolution.d.ts.map +1 -1
- package/dist/src/scales/scaleResolution.js +141 -20
- package/dist/src/scales/scaleRules.d.ts +10 -0
- package/dist/src/scales/scaleRules.d.ts.map +1 -1
- package/dist/src/scales/scaleRules.js +38 -1
- package/dist/src/scales/viewLevelScaleConfig.d.ts +45 -0
- package/dist/src/scales/viewLevelScaleConfig.d.ts.map +1 -0
- package/dist/src/scales/viewLevelScaleConfig.js +138 -0
- package/dist/src/selection/index.d.ts +8 -0
- package/dist/src/selection/index.d.ts.map +1 -0
- package/dist/src/selection/index.js +12 -0
- package/dist/src/spec/scale.d.ts +19 -6
- package/dist/src/spec/view.d.ts +11 -0
- package/dist/src/styles/genome-spy.css +12 -1
- package/dist/src/styles/genome-spy.css.d.ts +1 -1
- package/dist/src/styles/genome-spy.css.d.ts.map +1 -1
- package/dist/src/styles/genome-spy.css.js +12 -1
- package/dist/src/types/embedApi.d.ts +54 -0
- package/dist/src/types/scaleResolutionApi.d.ts +28 -1
- package/dist/src/types/viewContext.d.ts +11 -0
- package/dist/src/utils/ui/tooltip.d.ts +4 -0
- package/dist/src/utils/ui/tooltip.d.ts.map +1 -1
- package/dist/src/utils/ui/tooltip.js +57 -10
- package/dist/src/view/containerMutationHelper.d.ts.map +1 -1
- package/dist/src/view/containerMutationHelper.js +11 -3
- package/package.json +3 -3
- package/dist/bundle/browser-BTgw5ieH.js +0 -126
- package/dist/bundle/esm-Bvlm1uVk.js +0 -1015
- package/dist/bundle/esm-C49STiCR.js +0 -1248
package/dist/schema.json
CHANGED
|
@@ -1748,6 +1748,63 @@
|
|
|
1748
1748
|
},
|
|
1749
1749
|
"type": "object"
|
|
1750
1750
|
},
|
|
1751
|
+
"scales": {
|
|
1752
|
+
"additionalProperties": {
|
|
1753
|
+
"$ref": "#/definitions/Scale"
|
|
1754
|
+
},
|
|
1755
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
1756
|
+
"properties": {
|
|
1757
|
+
"angle": {
|
|
1758
|
+
"$ref": "#/definitions/Scale"
|
|
1759
|
+
},
|
|
1760
|
+
"color": {
|
|
1761
|
+
"$ref": "#/definitions/Scale"
|
|
1762
|
+
},
|
|
1763
|
+
"dx": {
|
|
1764
|
+
"$ref": "#/definitions/Scale"
|
|
1765
|
+
},
|
|
1766
|
+
"dy": {
|
|
1767
|
+
"$ref": "#/definitions/Scale"
|
|
1768
|
+
},
|
|
1769
|
+
"fill": {
|
|
1770
|
+
"$ref": "#/definitions/Scale"
|
|
1771
|
+
},
|
|
1772
|
+
"fillOpacity": {
|
|
1773
|
+
"$ref": "#/definitions/Scale"
|
|
1774
|
+
},
|
|
1775
|
+
"opacity": {
|
|
1776
|
+
"$ref": "#/definitions/Scale"
|
|
1777
|
+
},
|
|
1778
|
+
"shape": {
|
|
1779
|
+
"$ref": "#/definitions/Scale"
|
|
1780
|
+
},
|
|
1781
|
+
"size": {
|
|
1782
|
+
"$ref": "#/definitions/Scale"
|
|
1783
|
+
},
|
|
1784
|
+
"stroke": {
|
|
1785
|
+
"$ref": "#/definitions/Scale"
|
|
1786
|
+
},
|
|
1787
|
+
"strokeOpacity": {
|
|
1788
|
+
"$ref": "#/definitions/Scale"
|
|
1789
|
+
},
|
|
1790
|
+
"strokeWidth": {
|
|
1791
|
+
"$ref": "#/definitions/Scale"
|
|
1792
|
+
},
|
|
1793
|
+
"x": {
|
|
1794
|
+
"$ref": "#/definitions/Scale"
|
|
1795
|
+
},
|
|
1796
|
+
"x2": {
|
|
1797
|
+
"$ref": "#/definitions/Scale"
|
|
1798
|
+
},
|
|
1799
|
+
"y": {
|
|
1800
|
+
"$ref": "#/definitions/Scale"
|
|
1801
|
+
},
|
|
1802
|
+
"y2": {
|
|
1803
|
+
"$ref": "#/definitions/Scale"
|
|
1804
|
+
}
|
|
1805
|
+
},
|
|
1806
|
+
"type": "object"
|
|
1807
|
+
},
|
|
1751
1808
|
"separator": {
|
|
1752
1809
|
"anyOf": [
|
|
1753
1810
|
{
|
|
@@ -2566,6 +2623,63 @@
|
|
|
2566
2623
|
},
|
|
2567
2624
|
"type": "object"
|
|
2568
2625
|
},
|
|
2626
|
+
"scales": {
|
|
2627
|
+
"additionalProperties": {
|
|
2628
|
+
"$ref": "#/definitions/Scale"
|
|
2629
|
+
},
|
|
2630
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
2631
|
+
"properties": {
|
|
2632
|
+
"angle": {
|
|
2633
|
+
"$ref": "#/definitions/Scale"
|
|
2634
|
+
},
|
|
2635
|
+
"color": {
|
|
2636
|
+
"$ref": "#/definitions/Scale"
|
|
2637
|
+
},
|
|
2638
|
+
"dx": {
|
|
2639
|
+
"$ref": "#/definitions/Scale"
|
|
2640
|
+
},
|
|
2641
|
+
"dy": {
|
|
2642
|
+
"$ref": "#/definitions/Scale"
|
|
2643
|
+
},
|
|
2644
|
+
"fill": {
|
|
2645
|
+
"$ref": "#/definitions/Scale"
|
|
2646
|
+
},
|
|
2647
|
+
"fillOpacity": {
|
|
2648
|
+
"$ref": "#/definitions/Scale"
|
|
2649
|
+
},
|
|
2650
|
+
"opacity": {
|
|
2651
|
+
"$ref": "#/definitions/Scale"
|
|
2652
|
+
},
|
|
2653
|
+
"shape": {
|
|
2654
|
+
"$ref": "#/definitions/Scale"
|
|
2655
|
+
},
|
|
2656
|
+
"size": {
|
|
2657
|
+
"$ref": "#/definitions/Scale"
|
|
2658
|
+
},
|
|
2659
|
+
"stroke": {
|
|
2660
|
+
"$ref": "#/definitions/Scale"
|
|
2661
|
+
},
|
|
2662
|
+
"strokeOpacity": {
|
|
2663
|
+
"$ref": "#/definitions/Scale"
|
|
2664
|
+
},
|
|
2665
|
+
"strokeWidth": {
|
|
2666
|
+
"$ref": "#/definitions/Scale"
|
|
2667
|
+
},
|
|
2668
|
+
"x": {
|
|
2669
|
+
"$ref": "#/definitions/Scale"
|
|
2670
|
+
},
|
|
2671
|
+
"x2": {
|
|
2672
|
+
"$ref": "#/definitions/Scale"
|
|
2673
|
+
},
|
|
2674
|
+
"y": {
|
|
2675
|
+
"$ref": "#/definitions/Scale"
|
|
2676
|
+
},
|
|
2677
|
+
"y2": {
|
|
2678
|
+
"$ref": "#/definitions/Scale"
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2681
|
+
"type": "object"
|
|
2682
|
+
},
|
|
2569
2683
|
"templates": {
|
|
2570
2684
|
"additionalProperties": {
|
|
2571
2685
|
"$ref": "#/definitions/ViewSpec"
|
|
@@ -2967,6 +3081,63 @@
|
|
|
2967
3081
|
},
|
|
2968
3082
|
"type": "object"
|
|
2969
3083
|
},
|
|
3084
|
+
"scales": {
|
|
3085
|
+
"additionalProperties": {
|
|
3086
|
+
"$ref": "#/definitions/Scale"
|
|
3087
|
+
},
|
|
3088
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
3089
|
+
"properties": {
|
|
3090
|
+
"angle": {
|
|
3091
|
+
"$ref": "#/definitions/Scale"
|
|
3092
|
+
},
|
|
3093
|
+
"color": {
|
|
3094
|
+
"$ref": "#/definitions/Scale"
|
|
3095
|
+
},
|
|
3096
|
+
"dx": {
|
|
3097
|
+
"$ref": "#/definitions/Scale"
|
|
3098
|
+
},
|
|
3099
|
+
"dy": {
|
|
3100
|
+
"$ref": "#/definitions/Scale"
|
|
3101
|
+
},
|
|
3102
|
+
"fill": {
|
|
3103
|
+
"$ref": "#/definitions/Scale"
|
|
3104
|
+
},
|
|
3105
|
+
"fillOpacity": {
|
|
3106
|
+
"$ref": "#/definitions/Scale"
|
|
3107
|
+
},
|
|
3108
|
+
"opacity": {
|
|
3109
|
+
"$ref": "#/definitions/Scale"
|
|
3110
|
+
},
|
|
3111
|
+
"shape": {
|
|
3112
|
+
"$ref": "#/definitions/Scale"
|
|
3113
|
+
},
|
|
3114
|
+
"size": {
|
|
3115
|
+
"$ref": "#/definitions/Scale"
|
|
3116
|
+
},
|
|
3117
|
+
"stroke": {
|
|
3118
|
+
"$ref": "#/definitions/Scale"
|
|
3119
|
+
},
|
|
3120
|
+
"strokeOpacity": {
|
|
3121
|
+
"$ref": "#/definitions/Scale"
|
|
3122
|
+
},
|
|
3123
|
+
"strokeWidth": {
|
|
3124
|
+
"$ref": "#/definitions/Scale"
|
|
3125
|
+
},
|
|
3126
|
+
"x": {
|
|
3127
|
+
"$ref": "#/definitions/Scale"
|
|
3128
|
+
},
|
|
3129
|
+
"x2": {
|
|
3130
|
+
"$ref": "#/definitions/Scale"
|
|
3131
|
+
},
|
|
3132
|
+
"y": {
|
|
3133
|
+
"$ref": "#/definitions/Scale"
|
|
3134
|
+
},
|
|
3135
|
+
"y2": {
|
|
3136
|
+
"$ref": "#/definitions/Scale"
|
|
3137
|
+
}
|
|
3138
|
+
},
|
|
3139
|
+
"type": "object"
|
|
3140
|
+
},
|
|
2970
3141
|
"templates": {
|
|
2971
3142
|
"additionalProperties": {
|
|
2972
3143
|
"$ref": "#/definitions/ViewSpec"
|
|
@@ -3367,6 +3538,63 @@
|
|
|
3367
3538
|
},
|
|
3368
3539
|
"type": "object"
|
|
3369
3540
|
},
|
|
3541
|
+
"scales": {
|
|
3542
|
+
"additionalProperties": {
|
|
3543
|
+
"$ref": "#/definitions/Scale"
|
|
3544
|
+
},
|
|
3545
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
3546
|
+
"properties": {
|
|
3547
|
+
"angle": {
|
|
3548
|
+
"$ref": "#/definitions/Scale"
|
|
3549
|
+
},
|
|
3550
|
+
"color": {
|
|
3551
|
+
"$ref": "#/definitions/Scale"
|
|
3552
|
+
},
|
|
3553
|
+
"dx": {
|
|
3554
|
+
"$ref": "#/definitions/Scale"
|
|
3555
|
+
},
|
|
3556
|
+
"dy": {
|
|
3557
|
+
"$ref": "#/definitions/Scale"
|
|
3558
|
+
},
|
|
3559
|
+
"fill": {
|
|
3560
|
+
"$ref": "#/definitions/Scale"
|
|
3561
|
+
},
|
|
3562
|
+
"fillOpacity": {
|
|
3563
|
+
"$ref": "#/definitions/Scale"
|
|
3564
|
+
},
|
|
3565
|
+
"opacity": {
|
|
3566
|
+
"$ref": "#/definitions/Scale"
|
|
3567
|
+
},
|
|
3568
|
+
"shape": {
|
|
3569
|
+
"$ref": "#/definitions/Scale"
|
|
3570
|
+
},
|
|
3571
|
+
"size": {
|
|
3572
|
+
"$ref": "#/definitions/Scale"
|
|
3573
|
+
},
|
|
3574
|
+
"stroke": {
|
|
3575
|
+
"$ref": "#/definitions/Scale"
|
|
3576
|
+
},
|
|
3577
|
+
"strokeOpacity": {
|
|
3578
|
+
"$ref": "#/definitions/Scale"
|
|
3579
|
+
},
|
|
3580
|
+
"strokeWidth": {
|
|
3581
|
+
"$ref": "#/definitions/Scale"
|
|
3582
|
+
},
|
|
3583
|
+
"x": {
|
|
3584
|
+
"$ref": "#/definitions/Scale"
|
|
3585
|
+
},
|
|
3586
|
+
"x2": {
|
|
3587
|
+
"$ref": "#/definitions/Scale"
|
|
3588
|
+
},
|
|
3589
|
+
"y": {
|
|
3590
|
+
"$ref": "#/definitions/Scale"
|
|
3591
|
+
},
|
|
3592
|
+
"y2": {
|
|
3593
|
+
"$ref": "#/definitions/Scale"
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3596
|
+
"type": "object"
|
|
3597
|
+
},
|
|
3370
3598
|
"stops": {
|
|
3371
3599
|
"$ref": "#/definitions/MultiscaleStopsDef",
|
|
3372
3600
|
"description": "Stop definition that controls transitions between the multiscale levels.\n\n- `number[]` is shorthand for `{ metric: \"unitsPerPixel\", values: ... }`\n- `(number | ExprRef)[]` supports mixed constants and expressions\n- Object form allows configuring metric, channel, and fade."
|
|
@@ -3749,6 +3977,63 @@
|
|
|
3749
3977
|
},
|
|
3750
3978
|
"type": "object"
|
|
3751
3979
|
},
|
|
3980
|
+
"scales": {
|
|
3981
|
+
"additionalProperties": {
|
|
3982
|
+
"$ref": "#/definitions/Scale"
|
|
3983
|
+
},
|
|
3984
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
3985
|
+
"properties": {
|
|
3986
|
+
"angle": {
|
|
3987
|
+
"$ref": "#/definitions/Scale"
|
|
3988
|
+
},
|
|
3989
|
+
"color": {
|
|
3990
|
+
"$ref": "#/definitions/Scale"
|
|
3991
|
+
},
|
|
3992
|
+
"dx": {
|
|
3993
|
+
"$ref": "#/definitions/Scale"
|
|
3994
|
+
},
|
|
3995
|
+
"dy": {
|
|
3996
|
+
"$ref": "#/definitions/Scale"
|
|
3997
|
+
},
|
|
3998
|
+
"fill": {
|
|
3999
|
+
"$ref": "#/definitions/Scale"
|
|
4000
|
+
},
|
|
4001
|
+
"fillOpacity": {
|
|
4002
|
+
"$ref": "#/definitions/Scale"
|
|
4003
|
+
},
|
|
4004
|
+
"opacity": {
|
|
4005
|
+
"$ref": "#/definitions/Scale"
|
|
4006
|
+
},
|
|
4007
|
+
"shape": {
|
|
4008
|
+
"$ref": "#/definitions/Scale"
|
|
4009
|
+
},
|
|
4010
|
+
"size": {
|
|
4011
|
+
"$ref": "#/definitions/Scale"
|
|
4012
|
+
},
|
|
4013
|
+
"stroke": {
|
|
4014
|
+
"$ref": "#/definitions/Scale"
|
|
4015
|
+
},
|
|
4016
|
+
"strokeOpacity": {
|
|
4017
|
+
"$ref": "#/definitions/Scale"
|
|
4018
|
+
},
|
|
4019
|
+
"strokeWidth": {
|
|
4020
|
+
"$ref": "#/definitions/Scale"
|
|
4021
|
+
},
|
|
4022
|
+
"x": {
|
|
4023
|
+
"$ref": "#/definitions/Scale"
|
|
4024
|
+
},
|
|
4025
|
+
"x2": {
|
|
4026
|
+
"$ref": "#/definitions/Scale"
|
|
4027
|
+
},
|
|
4028
|
+
"y": {
|
|
4029
|
+
"$ref": "#/definitions/Scale"
|
|
4030
|
+
},
|
|
4031
|
+
"y2": {
|
|
4032
|
+
"$ref": "#/definitions/Scale"
|
|
4033
|
+
}
|
|
4034
|
+
},
|
|
4035
|
+
"type": "object"
|
|
4036
|
+
},
|
|
3752
4037
|
"separator": {
|
|
3753
4038
|
"anyOf": [
|
|
3754
4039
|
{
|
|
@@ -4164,6 +4449,63 @@
|
|
|
4164
4449
|
},
|
|
4165
4450
|
"type": "object"
|
|
4166
4451
|
},
|
|
4452
|
+
"scales": {
|
|
4453
|
+
"additionalProperties": {
|
|
4454
|
+
"$ref": "#/definitions/Scale"
|
|
4455
|
+
},
|
|
4456
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
4457
|
+
"properties": {
|
|
4458
|
+
"angle": {
|
|
4459
|
+
"$ref": "#/definitions/Scale"
|
|
4460
|
+
},
|
|
4461
|
+
"color": {
|
|
4462
|
+
"$ref": "#/definitions/Scale"
|
|
4463
|
+
},
|
|
4464
|
+
"dx": {
|
|
4465
|
+
"$ref": "#/definitions/Scale"
|
|
4466
|
+
},
|
|
4467
|
+
"dy": {
|
|
4468
|
+
"$ref": "#/definitions/Scale"
|
|
4469
|
+
},
|
|
4470
|
+
"fill": {
|
|
4471
|
+
"$ref": "#/definitions/Scale"
|
|
4472
|
+
},
|
|
4473
|
+
"fillOpacity": {
|
|
4474
|
+
"$ref": "#/definitions/Scale"
|
|
4475
|
+
},
|
|
4476
|
+
"opacity": {
|
|
4477
|
+
"$ref": "#/definitions/Scale"
|
|
4478
|
+
},
|
|
4479
|
+
"shape": {
|
|
4480
|
+
"$ref": "#/definitions/Scale"
|
|
4481
|
+
},
|
|
4482
|
+
"size": {
|
|
4483
|
+
"$ref": "#/definitions/Scale"
|
|
4484
|
+
},
|
|
4485
|
+
"stroke": {
|
|
4486
|
+
"$ref": "#/definitions/Scale"
|
|
4487
|
+
},
|
|
4488
|
+
"strokeOpacity": {
|
|
4489
|
+
"$ref": "#/definitions/Scale"
|
|
4490
|
+
},
|
|
4491
|
+
"strokeWidth": {
|
|
4492
|
+
"$ref": "#/definitions/Scale"
|
|
4493
|
+
},
|
|
4494
|
+
"x": {
|
|
4495
|
+
"$ref": "#/definitions/Scale"
|
|
4496
|
+
},
|
|
4497
|
+
"x2": {
|
|
4498
|
+
"$ref": "#/definitions/Scale"
|
|
4499
|
+
},
|
|
4500
|
+
"y": {
|
|
4501
|
+
"$ref": "#/definitions/Scale"
|
|
4502
|
+
},
|
|
4503
|
+
"y2": {
|
|
4504
|
+
"$ref": "#/definitions/Scale"
|
|
4505
|
+
}
|
|
4506
|
+
},
|
|
4507
|
+
"type": "object"
|
|
4508
|
+
},
|
|
4167
4509
|
"separator": {
|
|
4168
4510
|
"anyOf": [
|
|
4169
4511
|
{
|
|
@@ -4570,6 +4912,63 @@
|
|
|
4570
4912
|
},
|
|
4571
4913
|
"type": "object"
|
|
4572
4914
|
},
|
|
4915
|
+
"scales": {
|
|
4916
|
+
"additionalProperties": {
|
|
4917
|
+
"$ref": "#/definitions/Scale"
|
|
4918
|
+
},
|
|
4919
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
4920
|
+
"properties": {
|
|
4921
|
+
"angle": {
|
|
4922
|
+
"$ref": "#/definitions/Scale"
|
|
4923
|
+
},
|
|
4924
|
+
"color": {
|
|
4925
|
+
"$ref": "#/definitions/Scale"
|
|
4926
|
+
},
|
|
4927
|
+
"dx": {
|
|
4928
|
+
"$ref": "#/definitions/Scale"
|
|
4929
|
+
},
|
|
4930
|
+
"dy": {
|
|
4931
|
+
"$ref": "#/definitions/Scale"
|
|
4932
|
+
},
|
|
4933
|
+
"fill": {
|
|
4934
|
+
"$ref": "#/definitions/Scale"
|
|
4935
|
+
},
|
|
4936
|
+
"fillOpacity": {
|
|
4937
|
+
"$ref": "#/definitions/Scale"
|
|
4938
|
+
},
|
|
4939
|
+
"opacity": {
|
|
4940
|
+
"$ref": "#/definitions/Scale"
|
|
4941
|
+
},
|
|
4942
|
+
"shape": {
|
|
4943
|
+
"$ref": "#/definitions/Scale"
|
|
4944
|
+
},
|
|
4945
|
+
"size": {
|
|
4946
|
+
"$ref": "#/definitions/Scale"
|
|
4947
|
+
},
|
|
4948
|
+
"stroke": {
|
|
4949
|
+
"$ref": "#/definitions/Scale"
|
|
4950
|
+
},
|
|
4951
|
+
"strokeOpacity": {
|
|
4952
|
+
"$ref": "#/definitions/Scale"
|
|
4953
|
+
},
|
|
4954
|
+
"strokeWidth": {
|
|
4955
|
+
"$ref": "#/definitions/Scale"
|
|
4956
|
+
},
|
|
4957
|
+
"x": {
|
|
4958
|
+
"$ref": "#/definitions/Scale"
|
|
4959
|
+
},
|
|
4960
|
+
"x2": {
|
|
4961
|
+
"$ref": "#/definitions/Scale"
|
|
4962
|
+
},
|
|
4963
|
+
"y": {
|
|
4964
|
+
"$ref": "#/definitions/Scale"
|
|
4965
|
+
},
|
|
4966
|
+
"y2": {
|
|
4967
|
+
"$ref": "#/definitions/Scale"
|
|
4968
|
+
}
|
|
4969
|
+
},
|
|
4970
|
+
"type": "object"
|
|
4971
|
+
},
|
|
4573
4972
|
"separator": {
|
|
4574
4973
|
"anyOf": [
|
|
4575
4974
|
{
|
|
@@ -4830,6 +5229,28 @@
|
|
|
4830
5229
|
}
|
|
4831
5230
|
]
|
|
4832
5231
|
},
|
|
5232
|
+
"DomainValue": {
|
|
5233
|
+
"anyOf": [
|
|
5234
|
+
{
|
|
5235
|
+
"type": "number"
|
|
5236
|
+
},
|
|
5237
|
+
{
|
|
5238
|
+
"type": "string"
|
|
5239
|
+
},
|
|
5240
|
+
{
|
|
5241
|
+
"type": "boolean"
|
|
5242
|
+
},
|
|
5243
|
+
{
|
|
5244
|
+
"$ref": "#/definitions/ExprRef"
|
|
5245
|
+
}
|
|
5246
|
+
]
|
|
5247
|
+
},
|
|
5248
|
+
"DomainValueArray": {
|
|
5249
|
+
"items": {
|
|
5250
|
+
"$ref": "#/definitions/DomainValue"
|
|
5251
|
+
},
|
|
5252
|
+
"type": "array"
|
|
5253
|
+
},
|
|
4833
5254
|
"DsvDataFormat": {
|
|
4834
5255
|
"additionalProperties": false,
|
|
4835
5256
|
"properties": {
|
|
@@ -6951,6 +7372,63 @@
|
|
|
6951
7372
|
},
|
|
6952
7373
|
"type": "object"
|
|
6953
7374
|
},
|
|
7375
|
+
"scales": {
|
|
7376
|
+
"additionalProperties": {
|
|
7377
|
+
"$ref": "#/definitions/Scale"
|
|
7378
|
+
},
|
|
7379
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
7380
|
+
"properties": {
|
|
7381
|
+
"angle": {
|
|
7382
|
+
"$ref": "#/definitions/Scale"
|
|
7383
|
+
},
|
|
7384
|
+
"color": {
|
|
7385
|
+
"$ref": "#/definitions/Scale"
|
|
7386
|
+
},
|
|
7387
|
+
"dx": {
|
|
7388
|
+
"$ref": "#/definitions/Scale"
|
|
7389
|
+
},
|
|
7390
|
+
"dy": {
|
|
7391
|
+
"$ref": "#/definitions/Scale"
|
|
7392
|
+
},
|
|
7393
|
+
"fill": {
|
|
7394
|
+
"$ref": "#/definitions/Scale"
|
|
7395
|
+
},
|
|
7396
|
+
"fillOpacity": {
|
|
7397
|
+
"$ref": "#/definitions/Scale"
|
|
7398
|
+
},
|
|
7399
|
+
"opacity": {
|
|
7400
|
+
"$ref": "#/definitions/Scale"
|
|
7401
|
+
},
|
|
7402
|
+
"shape": {
|
|
7403
|
+
"$ref": "#/definitions/Scale"
|
|
7404
|
+
},
|
|
7405
|
+
"size": {
|
|
7406
|
+
"$ref": "#/definitions/Scale"
|
|
7407
|
+
},
|
|
7408
|
+
"stroke": {
|
|
7409
|
+
"$ref": "#/definitions/Scale"
|
|
7410
|
+
},
|
|
7411
|
+
"strokeOpacity": {
|
|
7412
|
+
"$ref": "#/definitions/Scale"
|
|
7413
|
+
},
|
|
7414
|
+
"strokeWidth": {
|
|
7415
|
+
"$ref": "#/definitions/Scale"
|
|
7416
|
+
},
|
|
7417
|
+
"x": {
|
|
7418
|
+
"$ref": "#/definitions/Scale"
|
|
7419
|
+
},
|
|
7420
|
+
"x2": {
|
|
7421
|
+
"$ref": "#/definitions/Scale"
|
|
7422
|
+
},
|
|
7423
|
+
"y": {
|
|
7424
|
+
"$ref": "#/definitions/Scale"
|
|
7425
|
+
},
|
|
7426
|
+
"y2": {
|
|
7427
|
+
"$ref": "#/definitions/Scale"
|
|
7428
|
+
}
|
|
7429
|
+
},
|
|
7430
|
+
"type": "object"
|
|
7431
|
+
},
|
|
6954
7432
|
"separator": {
|
|
6955
7433
|
"anyOf": [
|
|
6956
7434
|
{
|
|
@@ -7686,6 +8164,63 @@
|
|
|
7686
8164
|
},
|
|
7687
8165
|
"type": "object"
|
|
7688
8166
|
},
|
|
8167
|
+
"scales": {
|
|
8168
|
+
"additionalProperties": {
|
|
8169
|
+
"$ref": "#/definitions/Scale"
|
|
8170
|
+
},
|
|
8171
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
8172
|
+
"properties": {
|
|
8173
|
+
"angle": {
|
|
8174
|
+
"$ref": "#/definitions/Scale"
|
|
8175
|
+
},
|
|
8176
|
+
"color": {
|
|
8177
|
+
"$ref": "#/definitions/Scale"
|
|
8178
|
+
},
|
|
8179
|
+
"dx": {
|
|
8180
|
+
"$ref": "#/definitions/Scale"
|
|
8181
|
+
},
|
|
8182
|
+
"dy": {
|
|
8183
|
+
"$ref": "#/definitions/Scale"
|
|
8184
|
+
},
|
|
8185
|
+
"fill": {
|
|
8186
|
+
"$ref": "#/definitions/Scale"
|
|
8187
|
+
},
|
|
8188
|
+
"fillOpacity": {
|
|
8189
|
+
"$ref": "#/definitions/Scale"
|
|
8190
|
+
},
|
|
8191
|
+
"opacity": {
|
|
8192
|
+
"$ref": "#/definitions/Scale"
|
|
8193
|
+
},
|
|
8194
|
+
"shape": {
|
|
8195
|
+
"$ref": "#/definitions/Scale"
|
|
8196
|
+
},
|
|
8197
|
+
"size": {
|
|
8198
|
+
"$ref": "#/definitions/Scale"
|
|
8199
|
+
},
|
|
8200
|
+
"stroke": {
|
|
8201
|
+
"$ref": "#/definitions/Scale"
|
|
8202
|
+
},
|
|
8203
|
+
"strokeOpacity": {
|
|
8204
|
+
"$ref": "#/definitions/Scale"
|
|
8205
|
+
},
|
|
8206
|
+
"strokeWidth": {
|
|
8207
|
+
"$ref": "#/definitions/Scale"
|
|
8208
|
+
},
|
|
8209
|
+
"x": {
|
|
8210
|
+
"$ref": "#/definitions/Scale"
|
|
8211
|
+
},
|
|
8212
|
+
"x2": {
|
|
8213
|
+
"$ref": "#/definitions/Scale"
|
|
8214
|
+
},
|
|
8215
|
+
"y": {
|
|
8216
|
+
"$ref": "#/definitions/Scale"
|
|
8217
|
+
},
|
|
8218
|
+
"y2": {
|
|
8219
|
+
"$ref": "#/definitions/Scale"
|
|
8220
|
+
}
|
|
8221
|
+
},
|
|
8222
|
+
"type": "object"
|
|
8223
|
+
},
|
|
7689
8224
|
"templates": {
|
|
7690
8225
|
"additionalProperties": {
|
|
7691
8226
|
"$ref": "#/definitions/ViewSpec"
|
|
@@ -9027,6 +9562,63 @@
|
|
|
9027
9562
|
},
|
|
9028
9563
|
"type": "object"
|
|
9029
9564
|
},
|
|
9565
|
+
"scales": {
|
|
9566
|
+
"additionalProperties": {
|
|
9567
|
+
"$ref": "#/definitions/Scale"
|
|
9568
|
+
},
|
|
9569
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
9570
|
+
"properties": {
|
|
9571
|
+
"angle": {
|
|
9572
|
+
"$ref": "#/definitions/Scale"
|
|
9573
|
+
},
|
|
9574
|
+
"color": {
|
|
9575
|
+
"$ref": "#/definitions/Scale"
|
|
9576
|
+
},
|
|
9577
|
+
"dx": {
|
|
9578
|
+
"$ref": "#/definitions/Scale"
|
|
9579
|
+
},
|
|
9580
|
+
"dy": {
|
|
9581
|
+
"$ref": "#/definitions/Scale"
|
|
9582
|
+
},
|
|
9583
|
+
"fill": {
|
|
9584
|
+
"$ref": "#/definitions/Scale"
|
|
9585
|
+
},
|
|
9586
|
+
"fillOpacity": {
|
|
9587
|
+
"$ref": "#/definitions/Scale"
|
|
9588
|
+
},
|
|
9589
|
+
"opacity": {
|
|
9590
|
+
"$ref": "#/definitions/Scale"
|
|
9591
|
+
},
|
|
9592
|
+
"shape": {
|
|
9593
|
+
"$ref": "#/definitions/Scale"
|
|
9594
|
+
},
|
|
9595
|
+
"size": {
|
|
9596
|
+
"$ref": "#/definitions/Scale"
|
|
9597
|
+
},
|
|
9598
|
+
"stroke": {
|
|
9599
|
+
"$ref": "#/definitions/Scale"
|
|
9600
|
+
},
|
|
9601
|
+
"strokeOpacity": {
|
|
9602
|
+
"$ref": "#/definitions/Scale"
|
|
9603
|
+
},
|
|
9604
|
+
"strokeWidth": {
|
|
9605
|
+
"$ref": "#/definitions/Scale"
|
|
9606
|
+
},
|
|
9607
|
+
"x": {
|
|
9608
|
+
"$ref": "#/definitions/Scale"
|
|
9609
|
+
},
|
|
9610
|
+
"x2": {
|
|
9611
|
+
"$ref": "#/definitions/Scale"
|
|
9612
|
+
},
|
|
9613
|
+
"y": {
|
|
9614
|
+
"$ref": "#/definitions/Scale"
|
|
9615
|
+
},
|
|
9616
|
+
"y2": {
|
|
9617
|
+
"$ref": "#/definitions/Scale"
|
|
9618
|
+
}
|
|
9619
|
+
},
|
|
9620
|
+
"type": "object"
|
|
9621
|
+
},
|
|
9030
9622
|
"stops": {
|
|
9031
9623
|
"$ref": "#/definitions/MultiscaleStopsDef",
|
|
9032
9624
|
"description": "Stop definition that controls transitions between the multiscale levels.\n\n- `number[]` is shorthand for `{ metric: \"unitsPerPixel\", values: ... }`\n- `(number | ExprRef)[]` supports mixed constants and expressions\n- Object form allows configuring metric, channel, and fade."
|
|
@@ -11759,9 +12351,12 @@
|
|
|
11759
12351
|
},
|
|
11760
12352
|
{
|
|
11761
12353
|
"$ref": "#/definitions/ExprRef"
|
|
12354
|
+
},
|
|
12355
|
+
{
|
|
12356
|
+
"$ref": "#/definitions/DomainValueArray"
|
|
11762
12357
|
}
|
|
11763
12358
|
],
|
|
11764
|
-
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
|
|
12359
|
+
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
|
|
11765
12360
|
},
|
|
11766
12361
|
"domainMax": {
|
|
11767
12362
|
"description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
|
|
@@ -11785,7 +12380,7 @@
|
|
|
11785
12380
|
"type": "object"
|
|
11786
12381
|
}
|
|
11787
12382
|
],
|
|
11788
|
-
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains
|
|
12383
|
+
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
|
|
11789
12384
|
},
|
|
11790
12385
|
"exponent": {
|
|
11791
12386
|
"description": "The exponent of the `pow` scale.",
|
|
@@ -11858,27 +12453,25 @@
|
|
|
11858
12453
|
"anyOf": [
|
|
11859
12454
|
{
|
|
11860
12455
|
"items": {
|
|
11861
|
-
"
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11867
|
-
|
|
12456
|
+
"anyOf": [
|
|
12457
|
+
{
|
|
12458
|
+
"type": "number"
|
|
12459
|
+
},
|
|
12460
|
+
{
|
|
12461
|
+
"type": "string"
|
|
12462
|
+
},
|
|
12463
|
+
{
|
|
12464
|
+
"$ref": "#/definitions/ExprRef"
|
|
12465
|
+
}
|
|
12466
|
+
]
|
|
11868
12467
|
},
|
|
11869
12468
|
"type": "array"
|
|
11870
12469
|
},
|
|
11871
12470
|
{
|
|
11872
12471
|
"type": "string"
|
|
11873
|
-
},
|
|
11874
|
-
{
|
|
11875
|
-
"items": {
|
|
11876
|
-
"$ref": "#/definitions/ExprRef"
|
|
11877
|
-
},
|
|
11878
|
-
"type": "array"
|
|
11879
12472
|
}
|
|
11880
12473
|
],
|
|
11881
|
-
"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
|
|
12474
|
+
"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). Array elements may also be expression references.\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. Array elements may also be expression references.\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`)."
|
|
11882
12475
|
},
|
|
11883
12476
|
"reverse": {
|
|
11884
12477
|
"description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
|
|
@@ -11971,9 +12564,12 @@
|
|
|
11971
12564
|
},
|
|
11972
12565
|
{
|
|
11973
12566
|
"$ref": "#/definitions/ExprRef"
|
|
12567
|
+
},
|
|
12568
|
+
{
|
|
12569
|
+
"$ref": "#/definitions/DomainValueArray"
|
|
11974
12570
|
}
|
|
11975
12571
|
],
|
|
11976
|
-
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
|
|
12572
|
+
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
|
|
11977
12573
|
},
|
|
11978
12574
|
"domainMax": {
|
|
11979
12575
|
"description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
|
|
@@ -11997,7 +12593,7 @@
|
|
|
11997
12593
|
"type": "object"
|
|
11998
12594
|
}
|
|
11999
12595
|
],
|
|
12000
|
-
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains
|
|
12596
|
+
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
|
|
12001
12597
|
},
|
|
12002
12598
|
"exponent": {
|
|
12003
12599
|
"description": "The exponent of the `pow` scale.",
|
|
@@ -12054,9 +12650,12 @@
|
|
|
12054
12650
|
},
|
|
12055
12651
|
{
|
|
12056
12652
|
"$ref": "#/definitions/ExprRef"
|
|
12653
|
+
},
|
|
12654
|
+
{
|
|
12655
|
+
"$ref": "#/definitions/DomainValueArray"
|
|
12057
12656
|
}
|
|
12058
12657
|
],
|
|
12059
|
-
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
|
|
12658
|
+
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
|
|
12060
12659
|
},
|
|
12061
12660
|
"domainMax": {
|
|
12062
12661
|
"description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
|
|
@@ -12080,7 +12679,7 @@
|
|
|
12080
12679
|
"type": "object"
|
|
12081
12680
|
}
|
|
12082
12681
|
],
|
|
12083
|
-
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains
|
|
12682
|
+
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
|
|
12084
12683
|
},
|
|
12085
12684
|
"exponent": {
|
|
12086
12685
|
"description": "The exponent of the `pow` scale.",
|
|
@@ -12153,27 +12752,25 @@
|
|
|
12153
12752
|
"anyOf": [
|
|
12154
12753
|
{
|
|
12155
12754
|
"items": {
|
|
12156
|
-
"
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
|
|
12755
|
+
"anyOf": [
|
|
12756
|
+
{
|
|
12757
|
+
"type": "number"
|
|
12758
|
+
},
|
|
12759
|
+
{
|
|
12760
|
+
"type": "string"
|
|
12761
|
+
},
|
|
12762
|
+
{
|
|
12763
|
+
"$ref": "#/definitions/ExprRef"
|
|
12764
|
+
}
|
|
12765
|
+
]
|
|
12163
12766
|
},
|
|
12164
12767
|
"type": "array"
|
|
12165
12768
|
},
|
|
12166
12769
|
{
|
|
12167
12770
|
"type": "string"
|
|
12168
|
-
},
|
|
12169
|
-
{
|
|
12170
|
-
"items": {
|
|
12171
|
-
"$ref": "#/definitions/ExprRef"
|
|
12172
|
-
},
|
|
12173
|
-
"type": "array"
|
|
12174
12771
|
}
|
|
12175
12772
|
],
|
|
12176
|
-
"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
|
|
12773
|
+
"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). Array elements may also be expression references.\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. Array elements may also be expression references.\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`)."
|
|
12177
12774
|
},
|
|
12178
12775
|
"reverse": {
|
|
12179
12776
|
"description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
|
|
@@ -12278,9 +12875,12 @@
|
|
|
12278
12875
|
},
|
|
12279
12876
|
{
|
|
12280
12877
|
"$ref": "#/definitions/ExprRef"
|
|
12878
|
+
},
|
|
12879
|
+
{
|
|
12880
|
+
"$ref": "#/definitions/DomainValueArray"
|
|
12281
12881
|
}
|
|
12282
12882
|
],
|
|
12283
|
-
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
|
|
12883
|
+
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
|
|
12284
12884
|
},
|
|
12285
12885
|
"domainMax": {
|
|
12286
12886
|
"description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
|
|
@@ -12304,7 +12904,7 @@
|
|
|
12304
12904
|
"type": "object"
|
|
12305
12905
|
}
|
|
12306
12906
|
],
|
|
12307
|
-
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains
|
|
12907
|
+
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
|
|
12308
12908
|
},
|
|
12309
12909
|
"exponent": {
|
|
12310
12910
|
"description": "The exponent of the `pow` scale.",
|
|
@@ -12377,27 +12977,25 @@
|
|
|
12377
12977
|
"anyOf": [
|
|
12378
12978
|
{
|
|
12379
12979
|
"items": {
|
|
12380
|
-
"
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
|
|
12384
|
-
|
|
12385
|
-
|
|
12386
|
-
|
|
12980
|
+
"anyOf": [
|
|
12981
|
+
{
|
|
12982
|
+
"type": "number"
|
|
12983
|
+
},
|
|
12984
|
+
{
|
|
12985
|
+
"type": "string"
|
|
12986
|
+
},
|
|
12987
|
+
{
|
|
12988
|
+
"$ref": "#/definitions/ExprRef"
|
|
12989
|
+
}
|
|
12990
|
+
]
|
|
12387
12991
|
},
|
|
12388
12992
|
"type": "array"
|
|
12389
12993
|
},
|
|
12390
12994
|
{
|
|
12391
12995
|
"type": "string"
|
|
12392
|
-
},
|
|
12393
|
-
{
|
|
12394
|
-
"items": {
|
|
12395
|
-
"$ref": "#/definitions/ExprRef"
|
|
12396
|
-
},
|
|
12397
|
-
"type": "array"
|
|
12398
12996
|
}
|
|
12399
12997
|
],
|
|
12400
|
-
"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
|
|
12998
|
+
"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). Array elements may also be expression references.\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. Array elements may also be expression references.\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`)."
|
|
12401
12999
|
},
|
|
12402
13000
|
"reverse": {
|
|
12403
13001
|
"description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
|
|
@@ -12522,9 +13120,12 @@
|
|
|
12522
13120
|
},
|
|
12523
13121
|
{
|
|
12524
13122
|
"$ref": "#/definitions/ExprRef"
|
|
13123
|
+
},
|
|
13124
|
+
{
|
|
13125
|
+
"$ref": "#/definitions/DomainValueArray"
|
|
12525
13126
|
}
|
|
12526
13127
|
],
|
|
12527
|
-
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
|
|
13128
|
+
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
|
|
12528
13129
|
},
|
|
12529
13130
|
"domainMax": {
|
|
12530
13131
|
"description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
|
|
@@ -12548,7 +13149,7 @@
|
|
|
12548
13149
|
"type": "object"
|
|
12549
13150
|
}
|
|
12550
13151
|
],
|
|
12551
|
-
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains
|
|
13152
|
+
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
|
|
12552
13153
|
},
|
|
12553
13154
|
"exponent": {
|
|
12554
13155
|
"description": "The exponent of the `pow` scale.",
|
|
@@ -12621,27 +13222,25 @@
|
|
|
12621
13222
|
"anyOf": [
|
|
12622
13223
|
{
|
|
12623
13224
|
"items": {
|
|
12624
|
-
"
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
13225
|
+
"anyOf": [
|
|
13226
|
+
{
|
|
13227
|
+
"type": "number"
|
|
13228
|
+
},
|
|
13229
|
+
{
|
|
13230
|
+
"type": "string"
|
|
13231
|
+
},
|
|
13232
|
+
{
|
|
13233
|
+
"$ref": "#/definitions/ExprRef"
|
|
13234
|
+
}
|
|
13235
|
+
]
|
|
12631
13236
|
},
|
|
12632
13237
|
"type": "array"
|
|
12633
13238
|
},
|
|
12634
13239
|
{
|
|
12635
13240
|
"type": "string"
|
|
12636
|
-
},
|
|
12637
|
-
{
|
|
12638
|
-
"items": {
|
|
12639
|
-
"$ref": "#/definitions/ExprRef"
|
|
12640
|
-
},
|
|
12641
|
-
"type": "array"
|
|
12642
13241
|
}
|
|
12643
13242
|
],
|
|
12644
|
-
"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
|
|
13243
|
+
"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). Array elements may also be expression references.\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. Array elements may also be expression references.\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`)."
|
|
12645
13244
|
},
|
|
12646
13245
|
"reverse": {
|
|
12647
13246
|
"description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
|
|
@@ -12743,9 +13342,12 @@
|
|
|
12743
13342
|
},
|
|
12744
13343
|
{
|
|
12745
13344
|
"$ref": "#/definitions/ExprRef"
|
|
13345
|
+
},
|
|
13346
|
+
{
|
|
13347
|
+
"$ref": "#/definitions/DomainValueArray"
|
|
12746
13348
|
}
|
|
12747
13349
|
],
|
|
12748
|
-
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
|
|
13350
|
+
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
|
|
12749
13351
|
},
|
|
12750
13352
|
"domainMax": {
|
|
12751
13353
|
"description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
|
|
@@ -12769,7 +13371,7 @@
|
|
|
12769
13371
|
"type": "object"
|
|
12770
13372
|
}
|
|
12771
13373
|
],
|
|
12772
|
-
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains
|
|
13374
|
+
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
|
|
12773
13375
|
},
|
|
12774
13376
|
"exponent": {
|
|
12775
13377
|
"description": "The exponent of the `pow` scale.",
|
|
@@ -12842,27 +13444,25 @@
|
|
|
12842
13444
|
"anyOf": [
|
|
12843
13445
|
{
|
|
12844
13446
|
"items": {
|
|
12845
|
-
"
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
13447
|
+
"anyOf": [
|
|
13448
|
+
{
|
|
13449
|
+
"type": "number"
|
|
13450
|
+
},
|
|
13451
|
+
{
|
|
13452
|
+
"type": "string"
|
|
13453
|
+
},
|
|
13454
|
+
{
|
|
13455
|
+
"$ref": "#/definitions/ExprRef"
|
|
13456
|
+
}
|
|
13457
|
+
]
|
|
12852
13458
|
},
|
|
12853
13459
|
"type": "array"
|
|
12854
13460
|
},
|
|
12855
13461
|
{
|
|
12856
13462
|
"type": "string"
|
|
12857
|
-
},
|
|
12858
|
-
{
|
|
12859
|
-
"items": {
|
|
12860
|
-
"$ref": "#/definitions/ExprRef"
|
|
12861
|
-
},
|
|
12862
|
-
"type": "array"
|
|
12863
13463
|
}
|
|
12864
13464
|
],
|
|
12865
|
-
"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
|
|
13465
|
+
"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). Array elements may also be expression references.\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. Array elements may also be expression references.\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`)."
|
|
12866
13466
|
},
|
|
12867
13467
|
"reverse": {
|
|
12868
13468
|
"description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
|
|
@@ -12977,9 +13577,12 @@
|
|
|
12977
13577
|
},
|
|
12978
13578
|
{
|
|
12979
13579
|
"$ref": "#/definitions/ExprRef"
|
|
13580
|
+
},
|
|
13581
|
+
{
|
|
13582
|
+
"$ref": "#/definitions/DomainValueArray"
|
|
12980
13583
|
}
|
|
12981
13584
|
],
|
|
12982
|
-
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
|
|
13585
|
+
"description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
|
|
12983
13586
|
},
|
|
12984
13587
|
"domainMax": {
|
|
12985
13588
|
"description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
|
|
@@ -13003,7 +13606,7 @@
|
|
|
13003
13606
|
"type": "object"
|
|
13004
13607
|
}
|
|
13005
13608
|
],
|
|
13006
|
-
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains
|
|
13609
|
+
"description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
|
|
13007
13610
|
},
|
|
13008
13611
|
"exponent": {
|
|
13009
13612
|
"description": "The exponent of the `pow` scale.",
|
|
@@ -13076,27 +13679,25 @@
|
|
|
13076
13679
|
"anyOf": [
|
|
13077
13680
|
{
|
|
13078
13681
|
"items": {
|
|
13079
|
-
"
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13085
|
-
|
|
13682
|
+
"anyOf": [
|
|
13683
|
+
{
|
|
13684
|
+
"type": "number"
|
|
13685
|
+
},
|
|
13686
|
+
{
|
|
13687
|
+
"type": "string"
|
|
13688
|
+
},
|
|
13689
|
+
{
|
|
13690
|
+
"$ref": "#/definitions/ExprRef"
|
|
13691
|
+
}
|
|
13692
|
+
]
|
|
13086
13693
|
},
|
|
13087
13694
|
"type": "array"
|
|
13088
13695
|
},
|
|
13089
13696
|
{
|
|
13090
13697
|
"type": "string"
|
|
13091
|
-
},
|
|
13092
|
-
{
|
|
13093
|
-
"items": {
|
|
13094
|
-
"$ref": "#/definitions/ExprRef"
|
|
13095
|
-
},
|
|
13096
|
-
"type": "array"
|
|
13097
13698
|
}
|
|
13098
13699
|
],
|
|
13099
|
-
"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
|
|
13700
|
+
"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). Array elements may also be expression references.\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. Array elements may also be expression references.\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`)."
|
|
13100
13701
|
},
|
|
13101
13702
|
"reverse": {
|
|
13102
13703
|
"description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
|
|
@@ -13147,27 +13748,25 @@
|
|
|
13147
13748
|
"anyOf": [
|
|
13148
13749
|
{
|
|
13149
13750
|
"items": {
|
|
13150
|
-
"
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13751
|
+
"anyOf": [
|
|
13752
|
+
{
|
|
13753
|
+
"type": "number"
|
|
13754
|
+
},
|
|
13755
|
+
{
|
|
13756
|
+
"type": "string"
|
|
13757
|
+
},
|
|
13758
|
+
{
|
|
13759
|
+
"$ref": "#/definitions/ExprRef"
|
|
13760
|
+
}
|
|
13761
|
+
]
|
|
13157
13762
|
},
|
|
13158
13763
|
"type": "array"
|
|
13159
13764
|
},
|
|
13160
13765
|
{
|
|
13161
13766
|
"type": "string"
|
|
13162
|
-
},
|
|
13163
|
-
{
|
|
13164
|
-
"items": {
|
|
13165
|
-
"$ref": "#/definitions/ExprRef"
|
|
13166
|
-
},
|
|
13167
|
-
"type": "array"
|
|
13168
13767
|
}
|
|
13169
13768
|
],
|
|
13170
|
-
"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
|
|
13769
|
+
"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). Array elements may also be expression references.\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. Array elements may also be expression references.\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`)."
|
|
13171
13770
|
},
|
|
13172
13771
|
"reverse": {
|
|
13173
13772
|
"description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
|
|
@@ -16930,6 +17529,63 @@
|
|
|
16930
17529
|
},
|
|
16931
17530
|
"type": "object"
|
|
16932
17531
|
},
|
|
17532
|
+
"scales": {
|
|
17533
|
+
"additionalProperties": {
|
|
17534
|
+
"$ref": "#/definitions/Scale"
|
|
17535
|
+
},
|
|
17536
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
17537
|
+
"properties": {
|
|
17538
|
+
"angle": {
|
|
17539
|
+
"$ref": "#/definitions/Scale"
|
|
17540
|
+
},
|
|
17541
|
+
"color": {
|
|
17542
|
+
"$ref": "#/definitions/Scale"
|
|
17543
|
+
},
|
|
17544
|
+
"dx": {
|
|
17545
|
+
"$ref": "#/definitions/Scale"
|
|
17546
|
+
},
|
|
17547
|
+
"dy": {
|
|
17548
|
+
"$ref": "#/definitions/Scale"
|
|
17549
|
+
},
|
|
17550
|
+
"fill": {
|
|
17551
|
+
"$ref": "#/definitions/Scale"
|
|
17552
|
+
},
|
|
17553
|
+
"fillOpacity": {
|
|
17554
|
+
"$ref": "#/definitions/Scale"
|
|
17555
|
+
},
|
|
17556
|
+
"opacity": {
|
|
17557
|
+
"$ref": "#/definitions/Scale"
|
|
17558
|
+
},
|
|
17559
|
+
"shape": {
|
|
17560
|
+
"$ref": "#/definitions/Scale"
|
|
17561
|
+
},
|
|
17562
|
+
"size": {
|
|
17563
|
+
"$ref": "#/definitions/Scale"
|
|
17564
|
+
},
|
|
17565
|
+
"stroke": {
|
|
17566
|
+
"$ref": "#/definitions/Scale"
|
|
17567
|
+
},
|
|
17568
|
+
"strokeOpacity": {
|
|
17569
|
+
"$ref": "#/definitions/Scale"
|
|
17570
|
+
},
|
|
17571
|
+
"strokeWidth": {
|
|
17572
|
+
"$ref": "#/definitions/Scale"
|
|
17573
|
+
},
|
|
17574
|
+
"x": {
|
|
17575
|
+
"$ref": "#/definitions/Scale"
|
|
17576
|
+
},
|
|
17577
|
+
"x2": {
|
|
17578
|
+
"$ref": "#/definitions/Scale"
|
|
17579
|
+
},
|
|
17580
|
+
"y": {
|
|
17581
|
+
"$ref": "#/definitions/Scale"
|
|
17582
|
+
},
|
|
17583
|
+
"y2": {
|
|
17584
|
+
"$ref": "#/definitions/Scale"
|
|
17585
|
+
}
|
|
17586
|
+
},
|
|
17587
|
+
"type": "object"
|
|
17588
|
+
},
|
|
16933
17589
|
"templates": {
|
|
16934
17590
|
"additionalProperties": {
|
|
16935
17591
|
"$ref": "#/definitions/ViewSpec"
|
|
@@ -17372,6 +18028,63 @@
|
|
|
17372
18028
|
},
|
|
17373
18029
|
"type": "object"
|
|
17374
18030
|
},
|
|
18031
|
+
"scales": {
|
|
18032
|
+
"additionalProperties": {
|
|
18033
|
+
"$ref": "#/definitions/Scale"
|
|
18034
|
+
},
|
|
18035
|
+
"description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
|
|
18036
|
+
"properties": {
|
|
18037
|
+
"angle": {
|
|
18038
|
+
"$ref": "#/definitions/Scale"
|
|
18039
|
+
},
|
|
18040
|
+
"color": {
|
|
18041
|
+
"$ref": "#/definitions/Scale"
|
|
18042
|
+
},
|
|
18043
|
+
"dx": {
|
|
18044
|
+
"$ref": "#/definitions/Scale"
|
|
18045
|
+
},
|
|
18046
|
+
"dy": {
|
|
18047
|
+
"$ref": "#/definitions/Scale"
|
|
18048
|
+
},
|
|
18049
|
+
"fill": {
|
|
18050
|
+
"$ref": "#/definitions/Scale"
|
|
18051
|
+
},
|
|
18052
|
+
"fillOpacity": {
|
|
18053
|
+
"$ref": "#/definitions/Scale"
|
|
18054
|
+
},
|
|
18055
|
+
"opacity": {
|
|
18056
|
+
"$ref": "#/definitions/Scale"
|
|
18057
|
+
},
|
|
18058
|
+
"shape": {
|
|
18059
|
+
"$ref": "#/definitions/Scale"
|
|
18060
|
+
},
|
|
18061
|
+
"size": {
|
|
18062
|
+
"$ref": "#/definitions/Scale"
|
|
18063
|
+
},
|
|
18064
|
+
"stroke": {
|
|
18065
|
+
"$ref": "#/definitions/Scale"
|
|
18066
|
+
},
|
|
18067
|
+
"strokeOpacity": {
|
|
18068
|
+
"$ref": "#/definitions/Scale"
|
|
18069
|
+
},
|
|
18070
|
+
"strokeWidth": {
|
|
18071
|
+
"$ref": "#/definitions/Scale"
|
|
18072
|
+
},
|
|
18073
|
+
"x": {
|
|
18074
|
+
"$ref": "#/definitions/Scale"
|
|
18075
|
+
},
|
|
18076
|
+
"x2": {
|
|
18077
|
+
"$ref": "#/definitions/Scale"
|
|
18078
|
+
},
|
|
18079
|
+
"y": {
|
|
18080
|
+
"$ref": "#/definitions/Scale"
|
|
18081
|
+
},
|
|
18082
|
+
"y2": {
|
|
18083
|
+
"$ref": "#/definitions/Scale"
|
|
18084
|
+
}
|
|
18085
|
+
},
|
|
18086
|
+
"type": "object"
|
|
18087
|
+
},
|
|
17375
18088
|
"separator": {
|
|
17376
18089
|
"anyOf": [
|
|
17377
18090
|
{
|