@uwdata/mosaic-spec 0.12.1 → 0.12.2
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/mosaic-schema.json +416 -0
- package/dist/mosaic-spec.js +125 -54
- package/dist/mosaic-spec.min.js +20 -20
- package/dist/types/spec/Param.d.ts +1 -1
- package/dist/types/spec/marks/Density.d.ts +22 -7
- package/package.json +5 -5
- package/src/spec/Param.ts +1 -0
- package/src/spec/marks/Density.ts +25 -7
package/dist/mosaic-schema.json
CHANGED
|
@@ -15566,6 +15566,9 @@
|
|
|
15566
15566
|
"rowGap": {
|
|
15567
15567
|
"type": "string"
|
|
15568
15568
|
},
|
|
15569
|
+
"rubyAlign": {
|
|
15570
|
+
"type": "string"
|
|
15571
|
+
},
|
|
15569
15572
|
"rubyPosition": {
|
|
15570
15573
|
"type": "string"
|
|
15571
15574
|
},
|
|
@@ -29597,6 +29600,29 @@
|
|
|
29597
29600
|
],
|
|
29598
29601
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
29599
29602
|
},
|
|
29603
|
+
"normalize": {
|
|
29604
|
+
"anyOf": [
|
|
29605
|
+
{
|
|
29606
|
+
"type": "boolean"
|
|
29607
|
+
},
|
|
29608
|
+
{
|
|
29609
|
+
"const": "max",
|
|
29610
|
+
"type": "string"
|
|
29611
|
+
},
|
|
29612
|
+
{
|
|
29613
|
+
"const": "sum",
|
|
29614
|
+
"type": "string"
|
|
29615
|
+
},
|
|
29616
|
+
{
|
|
29617
|
+
"const": "none",
|
|
29618
|
+
"type": "string"
|
|
29619
|
+
},
|
|
29620
|
+
{
|
|
29621
|
+
"$ref": "#/definitions/ParamRef"
|
|
29622
|
+
}
|
|
29623
|
+
],
|
|
29624
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
29625
|
+
},
|
|
29600
29626
|
"offset": {
|
|
29601
29627
|
"anyOf": [
|
|
29602
29628
|
{
|
|
@@ -29688,6 +29714,17 @@
|
|
|
29688
29714
|
],
|
|
29689
29715
|
"description": "Either applies a transform to sort the mark’s index by the specified channel values, or imputes ordinal scale domains from this mark’s channels.\n\nWhen imputing ordinal scale domains from channel values, the **sort** option is an object whose keys are ordinal scale names such as *x* or *fx*, and whose values are channel names such as *y*, *y1*, or *y2*. For example, to impute the *y* scale’s domain from the associated *x* channel values in ascending order:\n\n```js sort: {y: \"x\"} ```\n\nFor different sort options for different scales, replace the channel name with a *value* object and per-scale options:\n\n```js sort: {y: {value: \"-x\"}} ```\n\nWhen sorting the mark’s index, the **sort** option is instead one of:\n\n- a channel value definition for sorting given values in ascending order\n- a {value, order} object for sorting given values\n- a {channel, order} object for sorting the named channel’s values"
|
|
29690
29716
|
},
|
|
29717
|
+
"stack": {
|
|
29718
|
+
"anyOf": [
|
|
29719
|
+
{
|
|
29720
|
+
"type": "boolean"
|
|
29721
|
+
},
|
|
29722
|
+
{
|
|
29723
|
+
"$ref": "#/definitions/ParamRef"
|
|
29724
|
+
}
|
|
29725
|
+
],
|
|
29726
|
+
"description": "Flag indicating if densities should be stacked. Defaults to false."
|
|
29727
|
+
},
|
|
29691
29728
|
"stroke": {
|
|
29692
29729
|
"anyOf": [
|
|
29693
29730
|
{
|
|
@@ -30895,6 +30932,29 @@
|
|
|
30895
30932
|
],
|
|
30896
30933
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
30897
30934
|
},
|
|
30935
|
+
"normalize": {
|
|
30936
|
+
"anyOf": [
|
|
30937
|
+
{
|
|
30938
|
+
"type": "boolean"
|
|
30939
|
+
},
|
|
30940
|
+
{
|
|
30941
|
+
"const": "max",
|
|
30942
|
+
"type": "string"
|
|
30943
|
+
},
|
|
30944
|
+
{
|
|
30945
|
+
"const": "sum",
|
|
30946
|
+
"type": "string"
|
|
30947
|
+
},
|
|
30948
|
+
{
|
|
30949
|
+
"const": "none",
|
|
30950
|
+
"type": "string"
|
|
30951
|
+
},
|
|
30952
|
+
{
|
|
30953
|
+
"$ref": "#/definitions/ParamRef"
|
|
30954
|
+
}
|
|
30955
|
+
],
|
|
30956
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
30957
|
+
},
|
|
30898
30958
|
"opacity": {
|
|
30899
30959
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
30900
30960
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -32077,6 +32137,29 @@
|
|
|
32077
32137
|
],
|
|
32078
32138
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
32079
32139
|
},
|
|
32140
|
+
"normalize": {
|
|
32141
|
+
"anyOf": [
|
|
32142
|
+
{
|
|
32143
|
+
"type": "boolean"
|
|
32144
|
+
},
|
|
32145
|
+
{
|
|
32146
|
+
"const": "max",
|
|
32147
|
+
"type": "string"
|
|
32148
|
+
},
|
|
32149
|
+
{
|
|
32150
|
+
"const": "sum",
|
|
32151
|
+
"type": "string"
|
|
32152
|
+
},
|
|
32153
|
+
{
|
|
32154
|
+
"const": "none",
|
|
32155
|
+
"type": "string"
|
|
32156
|
+
},
|
|
32157
|
+
{
|
|
32158
|
+
"$ref": "#/definitions/ParamRef"
|
|
32159
|
+
}
|
|
32160
|
+
],
|
|
32161
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
32162
|
+
},
|
|
32080
32163
|
"opacity": {
|
|
32081
32164
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
32082
32165
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -33401,6 +33484,29 @@
|
|
|
33401
33484
|
],
|
|
33402
33485
|
"description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
|
|
33403
33486
|
},
|
|
33487
|
+
"normalize": {
|
|
33488
|
+
"anyOf": [
|
|
33489
|
+
{
|
|
33490
|
+
"type": "boolean"
|
|
33491
|
+
},
|
|
33492
|
+
{
|
|
33493
|
+
"const": "max",
|
|
33494
|
+
"type": "string"
|
|
33495
|
+
},
|
|
33496
|
+
{
|
|
33497
|
+
"const": "sum",
|
|
33498
|
+
"type": "string"
|
|
33499
|
+
},
|
|
33500
|
+
{
|
|
33501
|
+
"const": "none",
|
|
33502
|
+
"type": "string"
|
|
33503
|
+
},
|
|
33504
|
+
{
|
|
33505
|
+
"$ref": "#/definitions/ParamRef"
|
|
33506
|
+
}
|
|
33507
|
+
],
|
|
33508
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
33509
|
+
},
|
|
33404
33510
|
"opacity": {
|
|
33405
33511
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
33406
33512
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -34651,6 +34757,29 @@
|
|
|
34651
34757
|
],
|
|
34652
34758
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
34653
34759
|
},
|
|
34760
|
+
"normalize": {
|
|
34761
|
+
"anyOf": [
|
|
34762
|
+
{
|
|
34763
|
+
"type": "boolean"
|
|
34764
|
+
},
|
|
34765
|
+
{
|
|
34766
|
+
"const": "max",
|
|
34767
|
+
"type": "string"
|
|
34768
|
+
},
|
|
34769
|
+
{
|
|
34770
|
+
"const": "sum",
|
|
34771
|
+
"type": "string"
|
|
34772
|
+
},
|
|
34773
|
+
{
|
|
34774
|
+
"const": "none",
|
|
34775
|
+
"type": "string"
|
|
34776
|
+
},
|
|
34777
|
+
{
|
|
34778
|
+
"$ref": "#/definitions/ParamRef"
|
|
34779
|
+
}
|
|
34780
|
+
],
|
|
34781
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
34782
|
+
},
|
|
34654
34783
|
"offset": {
|
|
34655
34784
|
"anyOf": [
|
|
34656
34785
|
{
|
|
@@ -34742,6 +34871,17 @@
|
|
|
34742
34871
|
],
|
|
34743
34872
|
"description": "Either applies a transform to sort the mark’s index by the specified channel values, or imputes ordinal scale domains from this mark’s channels.\n\nWhen imputing ordinal scale domains from channel values, the **sort** option is an object whose keys are ordinal scale names such as *x* or *fx*, and whose values are channel names such as *y*, *y1*, or *y2*. For example, to impute the *y* scale’s domain from the associated *x* channel values in ascending order:\n\n```js sort: {y: \"x\"} ```\n\nFor different sort options for different scales, replace the channel name with a *value* object and per-scale options:\n\n```js sort: {y: {value: \"-x\"}} ```\n\nWhen sorting the mark’s index, the **sort** option is instead one of:\n\n- a channel value definition for sorting given values in ascending order\n- a {value, order} object for sorting given values\n- a {channel, order} object for sorting the named channel’s values"
|
|
34744
34873
|
},
|
|
34874
|
+
"stack": {
|
|
34875
|
+
"anyOf": [
|
|
34876
|
+
{
|
|
34877
|
+
"type": "boolean"
|
|
34878
|
+
},
|
|
34879
|
+
{
|
|
34880
|
+
"$ref": "#/definitions/ParamRef"
|
|
34881
|
+
}
|
|
34882
|
+
],
|
|
34883
|
+
"description": "Flag indicating if densities should be stacked. Defaults to false."
|
|
34884
|
+
},
|
|
34745
34885
|
"stroke": {
|
|
34746
34886
|
"anyOf": [
|
|
34747
34887
|
{
|
|
@@ -35948,6 +36088,29 @@
|
|
|
35948
36088
|
],
|
|
35949
36089
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
35950
36090
|
},
|
|
36091
|
+
"normalize": {
|
|
36092
|
+
"anyOf": [
|
|
36093
|
+
{
|
|
36094
|
+
"type": "boolean"
|
|
36095
|
+
},
|
|
36096
|
+
{
|
|
36097
|
+
"const": "max",
|
|
36098
|
+
"type": "string"
|
|
36099
|
+
},
|
|
36100
|
+
{
|
|
36101
|
+
"const": "sum",
|
|
36102
|
+
"type": "string"
|
|
36103
|
+
},
|
|
36104
|
+
{
|
|
36105
|
+
"const": "none",
|
|
36106
|
+
"type": "string"
|
|
36107
|
+
},
|
|
36108
|
+
{
|
|
36109
|
+
"$ref": "#/definitions/ParamRef"
|
|
36110
|
+
}
|
|
36111
|
+
],
|
|
36112
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
36113
|
+
},
|
|
35951
36114
|
"opacity": {
|
|
35952
36115
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
35953
36116
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -37130,6 +37293,29 @@
|
|
|
37130
37293
|
],
|
|
37131
37294
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
37132
37295
|
},
|
|
37296
|
+
"normalize": {
|
|
37297
|
+
"anyOf": [
|
|
37298
|
+
{
|
|
37299
|
+
"type": "boolean"
|
|
37300
|
+
},
|
|
37301
|
+
{
|
|
37302
|
+
"const": "max",
|
|
37303
|
+
"type": "string"
|
|
37304
|
+
},
|
|
37305
|
+
{
|
|
37306
|
+
"const": "sum",
|
|
37307
|
+
"type": "string"
|
|
37308
|
+
},
|
|
37309
|
+
{
|
|
37310
|
+
"const": "none",
|
|
37311
|
+
"type": "string"
|
|
37312
|
+
},
|
|
37313
|
+
{
|
|
37314
|
+
"$ref": "#/definitions/ParamRef"
|
|
37315
|
+
}
|
|
37316
|
+
],
|
|
37317
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
37318
|
+
},
|
|
37133
37319
|
"opacity": {
|
|
37134
37320
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
37135
37321
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -38459,6 +38645,29 @@
|
|
|
38459
38645
|
],
|
|
38460
38646
|
"description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
|
|
38461
38647
|
},
|
|
38648
|
+
"normalize": {
|
|
38649
|
+
"anyOf": [
|
|
38650
|
+
{
|
|
38651
|
+
"type": "boolean"
|
|
38652
|
+
},
|
|
38653
|
+
{
|
|
38654
|
+
"const": "max",
|
|
38655
|
+
"type": "string"
|
|
38656
|
+
},
|
|
38657
|
+
{
|
|
38658
|
+
"const": "sum",
|
|
38659
|
+
"type": "string"
|
|
38660
|
+
},
|
|
38661
|
+
{
|
|
38662
|
+
"const": "none",
|
|
38663
|
+
"type": "string"
|
|
38664
|
+
},
|
|
38665
|
+
{
|
|
38666
|
+
"$ref": "#/definitions/ParamRef"
|
|
38667
|
+
}
|
|
38668
|
+
],
|
|
38669
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
38670
|
+
},
|
|
38462
38671
|
"opacity": {
|
|
38463
38672
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
38464
38673
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -68859,6 +69068,7 @@
|
|
|
68859
69068
|
"ParamLiteral": {
|
|
68860
69069
|
"description": "Literal Param values.",
|
|
68861
69070
|
"type": [
|
|
69071
|
+
"null",
|
|
68862
69072
|
"string",
|
|
68863
69073
|
"number",
|
|
68864
69074
|
"boolean"
|
|
@@ -123552,6 +123762,29 @@
|
|
|
123552
123762
|
],
|
|
123553
123763
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
123554
123764
|
},
|
|
123765
|
+
"normalize": {
|
|
123766
|
+
"anyOf": [
|
|
123767
|
+
{
|
|
123768
|
+
"type": "boolean"
|
|
123769
|
+
},
|
|
123770
|
+
{
|
|
123771
|
+
"const": "max",
|
|
123772
|
+
"type": "string"
|
|
123773
|
+
},
|
|
123774
|
+
{
|
|
123775
|
+
"const": "sum",
|
|
123776
|
+
"type": "string"
|
|
123777
|
+
},
|
|
123778
|
+
{
|
|
123779
|
+
"const": "none",
|
|
123780
|
+
"type": "string"
|
|
123781
|
+
},
|
|
123782
|
+
{
|
|
123783
|
+
"$ref": "#/definitions/ParamRef"
|
|
123784
|
+
}
|
|
123785
|
+
],
|
|
123786
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
123787
|
+
},
|
|
123555
123788
|
"offset": {
|
|
123556
123789
|
"anyOf": [
|
|
123557
123790
|
{
|
|
@@ -123651,6 +123884,17 @@
|
|
|
123651
123884
|
],
|
|
123652
123885
|
"description": "Either applies a transform to sort the mark’s index by the specified channel values, or imputes ordinal scale domains from this mark’s channels.\n\nWhen imputing ordinal scale domains from channel values, the **sort** option is an object whose keys are ordinal scale names such as *x* or *fx*, and whose values are channel names such as *y*, *y1*, or *y2*. For example, to impute the *y* scale’s domain from the associated *x* channel values in ascending order:\n\n```js sort: {y: \"x\"} ```\n\nFor different sort options for different scales, replace the channel name with a *value* object and per-scale options:\n\n```js sort: {y: {value: \"-x\"}} ```\n\nWhen sorting the mark’s index, the **sort** option is instead one of:\n\n- a channel value definition for sorting given values in ascending order\n- a {value, order} object for sorting given values\n- a {channel, order} object for sorting the named channel’s values"
|
|
123653
123886
|
},
|
|
123887
|
+
"stack": {
|
|
123888
|
+
"anyOf": [
|
|
123889
|
+
{
|
|
123890
|
+
"type": "boolean"
|
|
123891
|
+
},
|
|
123892
|
+
{
|
|
123893
|
+
"$ref": "#/definitions/ParamRef"
|
|
123894
|
+
}
|
|
123895
|
+
],
|
|
123896
|
+
"description": "Flag indicating if densities should be stacked. Defaults to false."
|
|
123897
|
+
},
|
|
123654
123898
|
"stroke": {
|
|
123655
123899
|
"anyOf": [
|
|
123656
123900
|
{
|
|
@@ -124871,6 +125115,29 @@
|
|
|
124871
125115
|
],
|
|
124872
125116
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
124873
125117
|
},
|
|
125118
|
+
"normalize": {
|
|
125119
|
+
"anyOf": [
|
|
125120
|
+
{
|
|
125121
|
+
"type": "boolean"
|
|
125122
|
+
},
|
|
125123
|
+
{
|
|
125124
|
+
"const": "max",
|
|
125125
|
+
"type": "string"
|
|
125126
|
+
},
|
|
125127
|
+
{
|
|
125128
|
+
"const": "sum",
|
|
125129
|
+
"type": "string"
|
|
125130
|
+
},
|
|
125131
|
+
{
|
|
125132
|
+
"const": "none",
|
|
125133
|
+
"type": "string"
|
|
125134
|
+
},
|
|
125135
|
+
{
|
|
125136
|
+
"$ref": "#/definitions/ParamRef"
|
|
125137
|
+
}
|
|
125138
|
+
],
|
|
125139
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
125140
|
+
},
|
|
124874
125141
|
"opacity": {
|
|
124875
125142
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
124876
125143
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -126074,6 +126341,29 @@
|
|
|
126074
126341
|
],
|
|
126075
126342
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
126076
126343
|
},
|
|
126344
|
+
"normalize": {
|
|
126345
|
+
"anyOf": [
|
|
126346
|
+
{
|
|
126347
|
+
"type": "boolean"
|
|
126348
|
+
},
|
|
126349
|
+
{
|
|
126350
|
+
"const": "max",
|
|
126351
|
+
"type": "string"
|
|
126352
|
+
},
|
|
126353
|
+
{
|
|
126354
|
+
"const": "sum",
|
|
126355
|
+
"type": "string"
|
|
126356
|
+
},
|
|
126357
|
+
{
|
|
126358
|
+
"const": "none",
|
|
126359
|
+
"type": "string"
|
|
126360
|
+
},
|
|
126361
|
+
{
|
|
126362
|
+
"$ref": "#/definitions/ParamRef"
|
|
126363
|
+
}
|
|
126364
|
+
],
|
|
126365
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
126366
|
+
},
|
|
126077
126367
|
"opacity": {
|
|
126078
126368
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
126079
126369
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -127419,6 +127709,29 @@
|
|
|
127419
127709
|
],
|
|
127420
127710
|
"description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
|
|
127421
127711
|
},
|
|
127712
|
+
"normalize": {
|
|
127713
|
+
"anyOf": [
|
|
127714
|
+
{
|
|
127715
|
+
"type": "boolean"
|
|
127716
|
+
},
|
|
127717
|
+
{
|
|
127718
|
+
"const": "max",
|
|
127719
|
+
"type": "string"
|
|
127720
|
+
},
|
|
127721
|
+
{
|
|
127722
|
+
"const": "sum",
|
|
127723
|
+
"type": "string"
|
|
127724
|
+
},
|
|
127725
|
+
{
|
|
127726
|
+
"const": "none",
|
|
127727
|
+
"type": "string"
|
|
127728
|
+
},
|
|
127729
|
+
{
|
|
127730
|
+
"$ref": "#/definitions/ParamRef"
|
|
127731
|
+
}
|
|
127732
|
+
],
|
|
127733
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
127734
|
+
},
|
|
127422
127735
|
"opacity": {
|
|
127423
127736
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
127424
127737
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -128685,6 +128998,29 @@
|
|
|
128685
128998
|
],
|
|
128686
128999
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
128687
129000
|
},
|
|
129001
|
+
"normalize": {
|
|
129002
|
+
"anyOf": [
|
|
129003
|
+
{
|
|
129004
|
+
"type": "boolean"
|
|
129005
|
+
},
|
|
129006
|
+
{
|
|
129007
|
+
"const": "max",
|
|
129008
|
+
"type": "string"
|
|
129009
|
+
},
|
|
129010
|
+
{
|
|
129011
|
+
"const": "sum",
|
|
129012
|
+
"type": "string"
|
|
129013
|
+
},
|
|
129014
|
+
{
|
|
129015
|
+
"const": "none",
|
|
129016
|
+
"type": "string"
|
|
129017
|
+
},
|
|
129018
|
+
{
|
|
129019
|
+
"$ref": "#/definitions/ParamRef"
|
|
129020
|
+
}
|
|
129021
|
+
],
|
|
129022
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
129023
|
+
},
|
|
128688
129024
|
"offset": {
|
|
128689
129025
|
"anyOf": [
|
|
128690
129026
|
{
|
|
@@ -128784,6 +129120,17 @@
|
|
|
128784
129120
|
],
|
|
128785
129121
|
"description": "Either applies a transform to sort the mark’s index by the specified channel values, or imputes ordinal scale domains from this mark’s channels.\n\nWhen imputing ordinal scale domains from channel values, the **sort** option is an object whose keys are ordinal scale names such as *x* or *fx*, and whose values are channel names such as *y*, *y1*, or *y2*. For example, to impute the *y* scale’s domain from the associated *x* channel values in ascending order:\n\n```js sort: {y: \"x\"} ```\n\nFor different sort options for different scales, replace the channel name with a *value* object and per-scale options:\n\n```js sort: {y: {value: \"-x\"}} ```\n\nWhen sorting the mark’s index, the **sort** option is instead one of:\n\n- a channel value definition for sorting given values in ascending order\n- a {value, order} object for sorting given values\n- a {channel, order} object for sorting the named channel’s values"
|
|
128786
129122
|
},
|
|
129123
|
+
"stack": {
|
|
129124
|
+
"anyOf": [
|
|
129125
|
+
{
|
|
129126
|
+
"type": "boolean"
|
|
129127
|
+
},
|
|
129128
|
+
{
|
|
129129
|
+
"$ref": "#/definitions/ParamRef"
|
|
129130
|
+
}
|
|
129131
|
+
],
|
|
129132
|
+
"description": "Flag indicating if densities should be stacked. Defaults to false."
|
|
129133
|
+
},
|
|
128787
129134
|
"stroke": {
|
|
128788
129135
|
"anyOf": [
|
|
128789
129136
|
{
|
|
@@ -130003,6 +130350,29 @@
|
|
|
130003
130350
|
],
|
|
130004
130351
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
130005
130352
|
},
|
|
130353
|
+
"normalize": {
|
|
130354
|
+
"anyOf": [
|
|
130355
|
+
{
|
|
130356
|
+
"type": "boolean"
|
|
130357
|
+
},
|
|
130358
|
+
{
|
|
130359
|
+
"const": "max",
|
|
130360
|
+
"type": "string"
|
|
130361
|
+
},
|
|
130362
|
+
{
|
|
130363
|
+
"const": "sum",
|
|
130364
|
+
"type": "string"
|
|
130365
|
+
},
|
|
130366
|
+
{
|
|
130367
|
+
"const": "none",
|
|
130368
|
+
"type": "string"
|
|
130369
|
+
},
|
|
130370
|
+
{
|
|
130371
|
+
"$ref": "#/definitions/ParamRef"
|
|
130372
|
+
}
|
|
130373
|
+
],
|
|
130374
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
130375
|
+
},
|
|
130006
130376
|
"opacity": {
|
|
130007
130377
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
130008
130378
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -131206,6 +131576,29 @@
|
|
|
131206
131576
|
],
|
|
131207
131577
|
"description": "The [mix-blend-mode][1]; a constant string specifying how to blend content such as *multiply*.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode"
|
|
131208
131578
|
},
|
|
131579
|
+
"normalize": {
|
|
131580
|
+
"anyOf": [
|
|
131581
|
+
{
|
|
131582
|
+
"type": "boolean"
|
|
131583
|
+
},
|
|
131584
|
+
{
|
|
131585
|
+
"const": "max",
|
|
131586
|
+
"type": "string"
|
|
131587
|
+
},
|
|
131588
|
+
{
|
|
131589
|
+
"const": "sum",
|
|
131590
|
+
"type": "string"
|
|
131591
|
+
},
|
|
131592
|
+
{
|
|
131593
|
+
"const": "none",
|
|
131594
|
+
"type": "string"
|
|
131595
|
+
},
|
|
131596
|
+
{
|
|
131597
|
+
"$ref": "#/definitions/ParamRef"
|
|
131598
|
+
}
|
|
131599
|
+
],
|
|
131600
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
131601
|
+
},
|
|
131209
131602
|
"opacity": {
|
|
131210
131603
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
131211
131604
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|
|
@@ -132556,6 +132949,29 @@
|
|
|
132556
132949
|
],
|
|
132557
132950
|
"description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
|
|
132558
132951
|
},
|
|
132952
|
+
"normalize": {
|
|
132953
|
+
"anyOf": [
|
|
132954
|
+
{
|
|
132955
|
+
"type": "boolean"
|
|
132956
|
+
},
|
|
132957
|
+
{
|
|
132958
|
+
"const": "max",
|
|
132959
|
+
"type": "string"
|
|
132960
|
+
},
|
|
132961
|
+
{
|
|
132962
|
+
"const": "sum",
|
|
132963
|
+
"type": "string"
|
|
132964
|
+
},
|
|
132965
|
+
{
|
|
132966
|
+
"const": "none",
|
|
132967
|
+
"type": "string"
|
|
132968
|
+
},
|
|
132969
|
+
{
|
|
132970
|
+
"$ref": "#/definitions/ParamRef"
|
|
132971
|
+
}
|
|
132972
|
+
],
|
|
132973
|
+
"description": "Normalization method for density estimates. If `false` or `'none'` (the default), the density estimates are smoothed weighted counts. If `true` or `'sum'`, density estimates are divided by the sum of the total point mass. If `'max'`, estimates are divided by the maximum smoothed value."
|
|
132974
|
+
},
|
|
132559
132975
|
"opacity": {
|
|
132560
132976
|
"$ref": "#/definitions/ChannelValueSpec",
|
|
132561
132977
|
"description": "The [opacity][1]; a constant between 0 and 1, or a channel typically bound to the *opacity* scale. If all channel values are numbers in [0, 1], by default the channel will not be bound to the *opacity* scale, interpreting the opacities literally. For faster rendering, prefer the **strokeOpacity** or **fillOpacity** option.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity"
|