@uwdata/mosaic-spec 0.12.1 → 0.13.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.
@@ -14888,6 +14888,9 @@
14888
14888
  "bottom": {
14889
14889
  "type": "string"
14890
14890
  },
14891
+ "boxDecorationBreak": {
14892
+ "type": "string"
14893
+ },
14891
14894
  "boxShadow": {
14892
14895
  "type": "string"
14893
14896
  },
@@ -15566,6 +15569,9 @@
15566
15569
  "rowGap": {
15567
15570
  "type": "string"
15568
15571
  },
15572
+ "rubyAlign": {
15573
+ "type": "string"
15574
+ },
15569
15575
  "rubyPosition": {
15570
15576
  "type": "string"
15571
15577
  },
@@ -15722,6 +15728,15 @@
15722
15728
  "textAnchor": {
15723
15729
  "type": "string"
15724
15730
  },
15731
+ "textBox": {
15732
+ "type": "string"
15733
+ },
15734
+ "textBoxEdge": {
15735
+ "type": "string"
15736
+ },
15737
+ "textBoxTrim": {
15738
+ "type": "string"
15739
+ },
15725
15740
  "textCombineUpright": {
15726
15741
  "type": "string"
15727
15742
  },
@@ -15839,6 +15854,9 @@
15839
15854
  "verticalAlign": {
15840
15855
  "type": "string"
15841
15856
  },
15857
+ "viewTransitionClass": {
15858
+ "type": "string"
15859
+ },
15842
15860
  "viewTransitionName": {
15843
15861
  "type": "string"
15844
15862
  },
@@ -29597,6 +29615,29 @@
29597
29615
  ],
29598
29616
  "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
29617
  },
29618
+ "normalize": {
29619
+ "anyOf": [
29620
+ {
29621
+ "type": "boolean"
29622
+ },
29623
+ {
29624
+ "const": "max",
29625
+ "type": "string"
29626
+ },
29627
+ {
29628
+ "const": "sum",
29629
+ "type": "string"
29630
+ },
29631
+ {
29632
+ "const": "none",
29633
+ "type": "string"
29634
+ },
29635
+ {
29636
+ "$ref": "#/definitions/ParamRef"
29637
+ }
29638
+ ],
29639
+ "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."
29640
+ },
29600
29641
  "offset": {
29601
29642
  "anyOf": [
29602
29643
  {
@@ -29688,6 +29729,17 @@
29688
29729
  ],
29689
29730
  "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
29731
  },
29732
+ "stack": {
29733
+ "anyOf": [
29734
+ {
29735
+ "type": "boolean"
29736
+ },
29737
+ {
29738
+ "$ref": "#/definitions/ParamRef"
29739
+ }
29740
+ ],
29741
+ "description": "Flag indicating if densities should be stacked. Defaults to false."
29742
+ },
29691
29743
  "stroke": {
29692
29744
  "anyOf": [
29693
29745
  {
@@ -30895,6 +30947,29 @@
30895
30947
  ],
30896
30948
  "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
30949
  },
30950
+ "normalize": {
30951
+ "anyOf": [
30952
+ {
30953
+ "type": "boolean"
30954
+ },
30955
+ {
30956
+ "const": "max",
30957
+ "type": "string"
30958
+ },
30959
+ {
30960
+ "const": "sum",
30961
+ "type": "string"
30962
+ },
30963
+ {
30964
+ "const": "none",
30965
+ "type": "string"
30966
+ },
30967
+ {
30968
+ "$ref": "#/definitions/ParamRef"
30969
+ }
30970
+ ],
30971
+ "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."
30972
+ },
30898
30973
  "opacity": {
30899
30974
  "$ref": "#/definitions/ChannelValueSpec",
30900
30975
  "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 +32152,29 @@
32077
32152
  ],
32078
32153
  "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
32154
  },
32155
+ "normalize": {
32156
+ "anyOf": [
32157
+ {
32158
+ "type": "boolean"
32159
+ },
32160
+ {
32161
+ "const": "max",
32162
+ "type": "string"
32163
+ },
32164
+ {
32165
+ "const": "sum",
32166
+ "type": "string"
32167
+ },
32168
+ {
32169
+ "const": "none",
32170
+ "type": "string"
32171
+ },
32172
+ {
32173
+ "$ref": "#/definitions/ParamRef"
32174
+ }
32175
+ ],
32176
+ "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."
32177
+ },
32080
32178
  "opacity": {
32081
32179
  "$ref": "#/definitions/ChannelValueSpec",
32082
32180
  "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 +33499,29 @@
33401
33499
  ],
33402
33500
  "description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
33403
33501
  },
33502
+ "normalize": {
33503
+ "anyOf": [
33504
+ {
33505
+ "type": "boolean"
33506
+ },
33507
+ {
33508
+ "const": "max",
33509
+ "type": "string"
33510
+ },
33511
+ {
33512
+ "const": "sum",
33513
+ "type": "string"
33514
+ },
33515
+ {
33516
+ "const": "none",
33517
+ "type": "string"
33518
+ },
33519
+ {
33520
+ "$ref": "#/definitions/ParamRef"
33521
+ }
33522
+ ],
33523
+ "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."
33524
+ },
33404
33525
  "opacity": {
33405
33526
  "$ref": "#/definitions/ChannelValueSpec",
33406
33527
  "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 +34772,29 @@
34651
34772
  ],
34652
34773
  "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
34774
  },
34775
+ "normalize": {
34776
+ "anyOf": [
34777
+ {
34778
+ "type": "boolean"
34779
+ },
34780
+ {
34781
+ "const": "max",
34782
+ "type": "string"
34783
+ },
34784
+ {
34785
+ "const": "sum",
34786
+ "type": "string"
34787
+ },
34788
+ {
34789
+ "const": "none",
34790
+ "type": "string"
34791
+ },
34792
+ {
34793
+ "$ref": "#/definitions/ParamRef"
34794
+ }
34795
+ ],
34796
+ "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."
34797
+ },
34654
34798
  "offset": {
34655
34799
  "anyOf": [
34656
34800
  {
@@ -34742,6 +34886,17 @@
34742
34886
  ],
34743
34887
  "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
34888
  },
34889
+ "stack": {
34890
+ "anyOf": [
34891
+ {
34892
+ "type": "boolean"
34893
+ },
34894
+ {
34895
+ "$ref": "#/definitions/ParamRef"
34896
+ }
34897
+ ],
34898
+ "description": "Flag indicating if densities should be stacked. Defaults to false."
34899
+ },
34745
34900
  "stroke": {
34746
34901
  "anyOf": [
34747
34902
  {
@@ -35948,6 +36103,29 @@
35948
36103
  ],
35949
36104
  "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
36105
  },
36106
+ "normalize": {
36107
+ "anyOf": [
36108
+ {
36109
+ "type": "boolean"
36110
+ },
36111
+ {
36112
+ "const": "max",
36113
+ "type": "string"
36114
+ },
36115
+ {
36116
+ "const": "sum",
36117
+ "type": "string"
36118
+ },
36119
+ {
36120
+ "const": "none",
36121
+ "type": "string"
36122
+ },
36123
+ {
36124
+ "$ref": "#/definitions/ParamRef"
36125
+ }
36126
+ ],
36127
+ "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."
36128
+ },
35951
36129
  "opacity": {
35952
36130
  "$ref": "#/definitions/ChannelValueSpec",
35953
36131
  "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 +37308,29 @@
37130
37308
  ],
37131
37309
  "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
37310
  },
37311
+ "normalize": {
37312
+ "anyOf": [
37313
+ {
37314
+ "type": "boolean"
37315
+ },
37316
+ {
37317
+ "const": "max",
37318
+ "type": "string"
37319
+ },
37320
+ {
37321
+ "const": "sum",
37322
+ "type": "string"
37323
+ },
37324
+ {
37325
+ "const": "none",
37326
+ "type": "string"
37327
+ },
37328
+ {
37329
+ "$ref": "#/definitions/ParamRef"
37330
+ }
37331
+ ],
37332
+ "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."
37333
+ },
37133
37334
  "opacity": {
37134
37335
  "$ref": "#/definitions/ChannelValueSpec",
37135
37336
  "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 +38660,29 @@
38459
38660
  ],
38460
38661
  "description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
38461
38662
  },
38663
+ "normalize": {
38664
+ "anyOf": [
38665
+ {
38666
+ "type": "boolean"
38667
+ },
38668
+ {
38669
+ "const": "max",
38670
+ "type": "string"
38671
+ },
38672
+ {
38673
+ "const": "sum",
38674
+ "type": "string"
38675
+ },
38676
+ {
38677
+ "const": "none",
38678
+ "type": "string"
38679
+ },
38680
+ {
38681
+ "$ref": "#/definitions/ParamRef"
38682
+ }
38683
+ ],
38684
+ "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."
38685
+ },
38462
38686
  "opacity": {
38463
38687
  "$ref": "#/definitions/ChannelValueSpec",
38464
38688
  "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 +69083,7 @@
68859
69083
  "ParamLiteral": {
68860
69084
  "description": "Literal Param values.",
68861
69085
  "type": [
69086
+ "null",
68862
69087
  "string",
68863
69088
  "number",
68864
69089
  "boolean"
@@ -123552,6 +123777,29 @@
123552
123777
  ],
123553
123778
  "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
123779
  },
123780
+ "normalize": {
123781
+ "anyOf": [
123782
+ {
123783
+ "type": "boolean"
123784
+ },
123785
+ {
123786
+ "const": "max",
123787
+ "type": "string"
123788
+ },
123789
+ {
123790
+ "const": "sum",
123791
+ "type": "string"
123792
+ },
123793
+ {
123794
+ "const": "none",
123795
+ "type": "string"
123796
+ },
123797
+ {
123798
+ "$ref": "#/definitions/ParamRef"
123799
+ }
123800
+ ],
123801
+ "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."
123802
+ },
123555
123803
  "offset": {
123556
123804
  "anyOf": [
123557
123805
  {
@@ -123651,6 +123899,17 @@
123651
123899
  ],
123652
123900
  "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
123901
  },
123902
+ "stack": {
123903
+ "anyOf": [
123904
+ {
123905
+ "type": "boolean"
123906
+ },
123907
+ {
123908
+ "$ref": "#/definitions/ParamRef"
123909
+ }
123910
+ ],
123911
+ "description": "Flag indicating if densities should be stacked. Defaults to false."
123912
+ },
123654
123913
  "stroke": {
123655
123914
  "anyOf": [
123656
123915
  {
@@ -124871,6 +125130,29 @@
124871
125130
  ],
124872
125131
  "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
125132
  },
125133
+ "normalize": {
125134
+ "anyOf": [
125135
+ {
125136
+ "type": "boolean"
125137
+ },
125138
+ {
125139
+ "const": "max",
125140
+ "type": "string"
125141
+ },
125142
+ {
125143
+ "const": "sum",
125144
+ "type": "string"
125145
+ },
125146
+ {
125147
+ "const": "none",
125148
+ "type": "string"
125149
+ },
125150
+ {
125151
+ "$ref": "#/definitions/ParamRef"
125152
+ }
125153
+ ],
125154
+ "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."
125155
+ },
124874
125156
  "opacity": {
124875
125157
  "$ref": "#/definitions/ChannelValueSpec",
124876
125158
  "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 +126356,29 @@
126074
126356
  ],
126075
126357
  "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
126358
  },
126359
+ "normalize": {
126360
+ "anyOf": [
126361
+ {
126362
+ "type": "boolean"
126363
+ },
126364
+ {
126365
+ "const": "max",
126366
+ "type": "string"
126367
+ },
126368
+ {
126369
+ "const": "sum",
126370
+ "type": "string"
126371
+ },
126372
+ {
126373
+ "const": "none",
126374
+ "type": "string"
126375
+ },
126376
+ {
126377
+ "$ref": "#/definitions/ParamRef"
126378
+ }
126379
+ ],
126380
+ "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."
126381
+ },
126077
126382
  "opacity": {
126078
126383
  "$ref": "#/definitions/ChannelValueSpec",
126079
126384
  "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 +127724,29 @@
127419
127724
  ],
127420
127725
  "description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
127421
127726
  },
127727
+ "normalize": {
127728
+ "anyOf": [
127729
+ {
127730
+ "type": "boolean"
127731
+ },
127732
+ {
127733
+ "const": "max",
127734
+ "type": "string"
127735
+ },
127736
+ {
127737
+ "const": "sum",
127738
+ "type": "string"
127739
+ },
127740
+ {
127741
+ "const": "none",
127742
+ "type": "string"
127743
+ },
127744
+ {
127745
+ "$ref": "#/definitions/ParamRef"
127746
+ }
127747
+ ],
127748
+ "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."
127749
+ },
127422
127750
  "opacity": {
127423
127751
  "$ref": "#/definitions/ChannelValueSpec",
127424
127752
  "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 +129013,29 @@
128685
129013
  ],
128686
129014
  "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
129015
  },
129016
+ "normalize": {
129017
+ "anyOf": [
129018
+ {
129019
+ "type": "boolean"
129020
+ },
129021
+ {
129022
+ "const": "max",
129023
+ "type": "string"
129024
+ },
129025
+ {
129026
+ "const": "sum",
129027
+ "type": "string"
129028
+ },
129029
+ {
129030
+ "const": "none",
129031
+ "type": "string"
129032
+ },
129033
+ {
129034
+ "$ref": "#/definitions/ParamRef"
129035
+ }
129036
+ ],
129037
+ "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."
129038
+ },
128688
129039
  "offset": {
128689
129040
  "anyOf": [
128690
129041
  {
@@ -128784,6 +129135,17 @@
128784
129135
  ],
128785
129136
  "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
129137
  },
129138
+ "stack": {
129139
+ "anyOf": [
129140
+ {
129141
+ "type": "boolean"
129142
+ },
129143
+ {
129144
+ "$ref": "#/definitions/ParamRef"
129145
+ }
129146
+ ],
129147
+ "description": "Flag indicating if densities should be stacked. Defaults to false."
129148
+ },
128787
129149
  "stroke": {
128788
129150
  "anyOf": [
128789
129151
  {
@@ -130003,6 +130365,29 @@
130003
130365
  ],
130004
130366
  "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
130367
  },
130368
+ "normalize": {
130369
+ "anyOf": [
130370
+ {
130371
+ "type": "boolean"
130372
+ },
130373
+ {
130374
+ "const": "max",
130375
+ "type": "string"
130376
+ },
130377
+ {
130378
+ "const": "sum",
130379
+ "type": "string"
130380
+ },
130381
+ {
130382
+ "const": "none",
130383
+ "type": "string"
130384
+ },
130385
+ {
130386
+ "$ref": "#/definitions/ParamRef"
130387
+ }
130388
+ ],
130389
+ "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."
130390
+ },
130006
130391
  "opacity": {
130007
130392
  "$ref": "#/definitions/ChannelValueSpec",
130008
130393
  "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 +131591,29 @@
131206
131591
  ],
131207
131592
  "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
131593
  },
131594
+ "normalize": {
131595
+ "anyOf": [
131596
+ {
131597
+ "type": "boolean"
131598
+ },
131599
+ {
131600
+ "const": "max",
131601
+ "type": "string"
131602
+ },
131603
+ {
131604
+ "const": "sum",
131605
+ "type": "string"
131606
+ },
131607
+ {
131608
+ "const": "none",
131609
+ "type": "string"
131610
+ },
131611
+ {
131612
+ "$ref": "#/definitions/ParamRef"
131613
+ }
131614
+ ],
131615
+ "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."
131616
+ },
131209
131617
  "opacity": {
131210
131618
  "$ref": "#/definitions/ChannelValueSpec",
131211
131619
  "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 +132964,29 @@
132556
132964
  ],
132557
132965
  "description": "If true, changes the default **fontFamily** to *monospace*, and uses simplified monospaced text metrics calculations."
132558
132966
  },
132967
+ "normalize": {
132968
+ "anyOf": [
132969
+ {
132970
+ "type": "boolean"
132971
+ },
132972
+ {
132973
+ "const": "max",
132974
+ "type": "string"
132975
+ },
132976
+ {
132977
+ "const": "sum",
132978
+ "type": "string"
132979
+ },
132980
+ {
132981
+ "const": "none",
132982
+ "type": "string"
132983
+ },
132984
+ {
132985
+ "$ref": "#/definitions/ParamRef"
132986
+ }
132987
+ ],
132988
+ "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."
132989
+ },
132559
132990
  "opacity": {
132560
132991
  "$ref": "#/definitions/ChannelValueSpec",
132561
132992
  "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"
@@ -5,7 +5,7 @@ export class PlotAttributeNode extends ASTNode {
5
5
  instantiate(ctx: any): any;
6
6
  codegen(ctx: any): string;
7
7
  toJSON(): {
8
- [x: number]: any;
8
+ [name]: any;
9
9
  };
10
10
  }
11
11
  export class PlotFixedNode extends ASTNode {
@@ -7,7 +7,7 @@ export class TransformNode extends ASTNode {
7
7
  instantiate(ctx: any): any;
8
8
  codegen(ctx: any): string;
9
9
  toJSON(): {
10
- [x: number]: any;
10
+ [name]: any;
11
11
  };
12
12
  }
13
13
  export class BinTransformNode extends ASTNode {