@astrato-io/visualizations 0.10.1 → 0.12.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.
Files changed (143) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/README.md +148 -5
  3. package/THIRD_PARTY_NOTICES.md +494 -0
  4. package/VISUALIZATION_DEFINITIONS.md +9 -146
  5. package/chunks/{Button-Dn3rJrYf.js → Button-CQdoKSXX.js} +3 -3
  6. package/chunks/{CircularProgress-BFeu06Yb.js → CircularProgress-DpT1lwWw.js} +20 -20
  7. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  8. package/chunks/{LinearProgress-ClO6GUjN.js → LinearProgress-B7S0Q26A.js} +14 -14
  9. package/chunks/{MenuOption-Czc34u4q.js → MenuOption-DpKFJxmo.js} +167 -167
  10. package/chunks/{Title-BgYnaVTR.js → Title-m5damhc0.js} +37 -37
  11. package/chunks/{_createAggregator-BMu9uRax.js → _createAggregator-BA8_iU9q.js} +17 -17
  12. package/chunks/{app-filter-bar.compiler-CVir0wkl.js → app-filter-bar.compiler--T4Qz3Wu.js} +8 -8
  13. package/chunks/{bar-layout-C_UgRlVl.js → bar-layout-OFhxn2Go.js} +2 -2
  14. package/chunks/{bar.compiler-DYuFdi9J.js → bar.compiler-hWZBYYvV.js} +71 -69
  15. package/chunks/{builder-C-TKA-My.js → builder-7w_bgV_h.js} +106 -55
  16. package/chunks/{coloring-BtnPiQ_o.js → coloring-Cd6p0GQJ.js} +93 -88
  17. package/chunks/{createSimplePaletteValueFilter--zrZxRV9.js → createSimplePaletteValueFilter-CiJT8s1s.js} +169 -169
  18. package/chunks/defaults-CMFqXvaJ.js +3 -0
  19. package/chunks/{definitions-CT304NDn.js → definitions-DTauTjIX.js} +399 -398
  20. package/chunks/{escobar-CvEV2ES1.js → escobar-CMvphKSK.js} +4949 -4879
  21. package/chunks/{extend-preset-D9-JP92b.js → extend-preset-BpXttHFk.js} +449 -450
  22. package/chunks/{filter.compiler-CXeZznks.js → filter.compiler-DOGFweJz.js} +10 -10
  23. package/chunks/{filtering-8_bFv-jb.js → filtering-NOnDcGbo.js} +241 -241
  24. package/chunks/handlers-CyYFSfhM.js +15393 -0
  25. package/chunks/{icon-picker-styles-BXiJ1SZS.js → icon-picker-styles-DuSERhBU.js} +8 -8
  26. package/chunks/{isEqual-D8Ay63xR.js → isEqual-4f8yUUtC.js} +1 -1
  27. package/chunks/{isFocusVisible-Bu8gGZu5.js → isFocusVisible-Czm70MGc.js} +9 -9
  28. package/chunks/line.compiler-B-4H55_T.js +203 -0
  29. package/chunks/linear-Bq_r9l5S.js +264 -0
  30. package/chunks/{logger-DdZpR7xZ.js → logger-Cioob-QV.js} +74 -73
  31. package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
  32. package/chunks/{map.compiler-Q_Y1Pvat.js → map.compiler-Cv5V6EhF.js} +40 -40
  33. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  34. package/chunks/measure-format-default-B_kuGSzi.js +26 -0
  35. package/chunks/{metadata-BQm_TXI1.js → metadata-dGSe5UWy.js} +5 -5
  36. package/chunks/number.compiler-D7nMcEMv.js +57 -0
  37. package/chunks/{operations-DKQWuLL7.js → operations-CgfehCad.js} +11397 -11114
  38. package/chunks/{range-BdhzvYQ_.js → range-Dmwp9kVB.js} +2 -2
  39. package/chunks/{react-dom-BGP4tbXV.js → react-dom-CfuL-m78.js} +82 -82
  40. package/chunks/{render-wrappers-BZpyDnJy.js → render-wrappers--g-zPFBW.js} +1 -1
  41. package/chunks/{requirements-e8Fe96ag.js → requirements-DHayNJ2C.js} +245 -221
  42. package/chunks/{shared-C_2F90xq.js → shared-DoEN9nNM.js} +505 -494
  43. package/chunks/standalone-B3hRGgYi.js +773 -0
  44. package/chunks/{standalone-BkbiH-o8.js → standalone-BPNXgFft.js} +498 -759
  45. package/chunks/standalone-BPTT8XEu.js +424 -0
  46. package/chunks/standalone-BgAeHROc.js +2 -0
  47. package/chunks/{standalone-BE_ONgiG.js → standalone-BkQxag7M.js} +102 -102
  48. package/chunks/{standalone-Cc98Pdr6.js → standalone-Bxa3x6dg.js} +872 -872
  49. package/chunks/standalone-C0If-V6O.js +773 -0
  50. package/chunks/standalone-C1TOyflX.js +287 -0
  51. package/chunks/{standalone-CY_kjarf.js → standalone-CE5PwJN0.js} +18 -18
  52. package/chunks/{standalone-B8ZSqauS.js → standalone-CG7IFN6n.js} +120 -120
  53. package/chunks/{standalone-wOWRCpdn.js → standalone-CKlgGu80.js} +49 -49
  54. package/chunks/standalone-CNf-oA2U.js +355 -0
  55. package/chunks/{standalone-BDrXVxlP.js → standalone-CXPdWFlw.js} +14 -14
  56. package/chunks/{standalone-z0o52o5t.js → standalone-Cf0_5tbu.js} +5567 -5568
  57. package/chunks/{standalone-Cl0TSfqC.js → standalone-DMi4-Vp3.js} +122 -122
  58. package/chunks/{standalone-DNh9NcMa.js → standalone-DTEX67C8.js} +154 -154
  59. package/chunks/{standalone-DHRalbVO.js → standalone-DU46-kYv.js} +279 -279
  60. package/chunks/standalone-Dbn3jSH6.js +690 -0
  61. package/chunks/{standalone-CsoMmE9T.js → standalone-DdcAL_k_.js} +839 -843
  62. package/chunks/standalone-DwCIA0UG.js +1057 -0
  63. package/chunks/standalone-Dz13tl3P.js +357 -0
  64. package/chunks/standalone-H9GFzFk_.js +8377 -0
  65. package/chunks/{standalone-CaTxAydz.js → standalone-MduR0qre.js} +2227 -1000
  66. package/chunks/standalone-ejTz66P3.js +2 -0
  67. package/chunks/{standalone-DflyWtuR.js → standalone-keB-0wK3.js} +216 -216
  68. package/chunks/{standalone-BTY3w_JA.js → standalone-nnkuQd0K.js} +28 -28
  69. package/chunks/standalone-vGGR6Vcn.js +6 -0
  70. package/chunks/{table.compiler-COaHE9VD.js → table.compiler-mS4UvhLT.js} +31 -31
  71. package/chunks/theme-MYp6Rj1J.js +232 -0
  72. package/chunks/{useFieldName-CdnCWzhd.js → useFieldName-AdSak4Ch.js} +1 -1
  73. package/chunks/{utils-DganVptf.js → utils-CUKgR7it.js} +4216 -4070
  74. package/chunks/{view-Bzlros43.js → view-BeYwpcVD.js} +1561 -1561
  75. package/chunks/{visualization-filters-D7i6oh1Z.js → visualization-filters-B9qik5_K.js} +2683 -2342
  76. package/chunks/{with-html-element-CiIhFEa5.js → with-html-element-1GSeLT59.js} +3712 -3682
  77. package/definitions.js +2 -2
  78. package/docs/operations/astrato-app-filter-bar.md +1 -1
  79. package/docs/operations/bar.md +144 -32
  80. package/docs/operations/combo.md +79 -17
  81. package/docs/operations/date-picker.md +4 -4
  82. package/docs/operations/distribution-gauge.md +18 -16
  83. package/docs/operations/dot.md +107 -24
  84. package/docs/operations/filter.md +10 -8
  85. package/docs/operations/gauge.md +20 -18
  86. package/docs/operations/heatMap.md +73 -21
  87. package/docs/operations/histogram.md +45 -12
  88. package/docs/operations/iframe.md +1 -1
  89. package/docs/operations/image.md +1 -1
  90. package/docs/operations/index.md +12 -11
  91. package/docs/operations/line.md +86 -24
  92. package/docs/operations/map.md +5274 -0
  93. package/docs/operations/number.md +10 -9
  94. package/docs/operations/pie.md +23 -21
  95. package/docs/operations/radar.md +13 -11
  96. package/docs/operations/sankey.md +19 -17
  97. package/docs/operations/scatter.md +111 -28
  98. package/docs/operations/shape.md +5 -5
  99. package/docs/operations/simpleTextObject.md +4 -4
  100. package/docs/operations/slider.md +1 -1
  101. package/docs/operations/table.md +27 -25
  102. package/docs/operations/tree.md +5 -3
  103. package/docs/operations/treemap.md +70 -18
  104. package/docs/operations/waterfall.md +40 -7
  105. package/docs/operations/word-cloud.md +69 -17
  106. package/getters.js +3 -3
  107. package/index.js +585 -612
  108. package/metadata.js +2 -2
  109. package/operations.js +25 -18
  110. package/package.json +74 -70
  111. package/src/definitions/index.d.ts +1 -7
  112. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +3 -48
  113. package/src/definitions/model/definitions/schema-registry.d.ts +15 -14
  114. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +3 -3
  115. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
  116. package/src/definitions/model/definitions/schemas/common.schema.d.ts +19 -6
  117. package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
  118. package/src/definitions/model/definitions/schemas/line.schema.d.ts +4 -3
  119. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  120. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  121. package/src/index.d.ts +1 -1
  122. package/src/operations/index.d.ts +11 -1
  123. package/src/types.d.ts +166 -1
  124. package/src/visualization-catalog.d.ts +3 -0
  125. package/styles.css +1 -1
  126. package/chunks/FieldTypeIcon-DrMoGpHJ.js +0 -22
  127. package/chunks/color-rules-DYJL4fIW.js +0 -15
  128. package/chunks/color-settings-DJFoFTip.js +0 -5
  129. package/chunks/defaults-Dtk7fg3C.js +0 -3
  130. package/chunks/handlers-C6CZ0XJA.js +0 -15399
  131. package/chunks/line.compiler-DmHpmQCC.js +0 -198
  132. package/chunks/number.compiler-DQdg6zTy.js +0 -53
  133. package/chunks/standalone-4MsKiqs0.js +0 -355
  134. package/chunks/standalone-B794g9pE.js +0 -1012
  135. package/chunks/standalone-BA2YXyJS.js +0 -422
  136. package/chunks/standalone-BgumbdaJ2.js +0 -357
  137. package/chunks/standalone-Blh4qejk.js +0 -689
  138. package/chunks/standalone-CXY4FpF7.js +0 -773
  139. package/chunks/standalone-DH0xTEes.js +0 -2
  140. package/chunks/standalone-DcnHjNnC.js +0 -2
  141. package/chunks/standalone-DrHdGkY7.js +0 -762
  142. package/chunks/standalone-c_rROMtx.js +0 -287
  143. package/chunks/standalone-drcFLeN6.js +0 -6
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `tree` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.10.1`.
5
+ Reference for `@astrato-io/visualizations@0.12.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -938,6 +938,7 @@ Set the display format type used by a dimension. This changes label formatting o
938
938
  "abbreviationNoDecimal",
939
939
  "abbreviation1Decimal",
940
940
  "abbreviation2Decimal",
941
+ "abbreviationCompact",
941
942
  "percentageNoDecimal",
942
943
  "percentage1Decimal",
943
944
  "percentage2Decimal",
@@ -1576,6 +1577,7 @@ Set the format type used by a measure
1576
1577
  "abbreviationNoDecimal",
1577
1578
  "abbreviation1Decimal",
1578
1579
  "abbreviation2Decimal",
1580
+ "abbreviationCompact",
1579
1581
  "percentageNoDecimal",
1580
1582
  "percentage1Decimal",
1581
1583
  "percentage2Decimal",
@@ -2499,7 +2501,7 @@ Set the background color of tree nodes
2499
2501
  "anyOf": [
2500
2502
  {
2501
2503
  "type": "string",
2502
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2504
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
2503
2505
  },
2504
2506
  {
2505
2507
  "type": "null"
@@ -2523,7 +2525,7 @@ Set the color of tree node borders
2523
2525
  "anyOf": [
2524
2526
  {
2525
2527
  "type": "string",
2526
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2528
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
2527
2529
  },
2528
2530
  {
2529
2531
  "type": "null"
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `treemap` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.10.1`.
5
+ Reference for `@astrato-io/visualizations@0.12.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -34,6 +34,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
34
34
  - [`setColoringGradientField`](#setcoloringgradientfield)
35
35
  - [`setColoringGradientMax`](#setcoloringgradientmax)
36
36
  - [`setColoringGradientMin`](#setcoloringgradientmin)
37
+ - [`setColoringGradientRamp`](#setcoloringgradientramp)
37
38
  - [`setColoringMeasureAggregation`](#setcoloringmeasureaggregation)
38
39
  - [`setColoringOverwrites`](#setcoloringoverwrites)
39
40
  - [`setColoringPersistentColors`](#setcoloringpersistentcolors)
@@ -113,7 +114,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
113
114
  },
114
115
  "color": {
115
116
  "type": "string",
116
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
117
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
117
118
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
118
119
  },
119
120
  "operator": {
@@ -150,7 +151,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
150
151
  },
151
152
  "color": {
152
153
  "type": "string",
153
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
154
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
154
155
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
155
156
  },
156
157
  "operator": {
@@ -191,7 +192,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
191
192
  },
192
193
  "color": {
193
194
  "type": "string",
194
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
195
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
195
196
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
196
197
  },
197
198
  "operator": {
@@ -254,7 +255,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
254
255
  },
255
256
  "color": {
256
257
  "type": "string",
257
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
258
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
258
259
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
259
260
  },
260
261
  "operator": {
@@ -291,7 +292,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
291
292
  },
292
293
  "color": {
293
294
  "type": "string",
294
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
295
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
295
296
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
296
297
  },
297
298
  "operator": {
@@ -332,7 +333,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
332
333
  },
333
334
  "color": {
334
335
  "type": "string",
335
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
336
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
336
337
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
337
338
  },
338
339
  "operator": {
@@ -1124,7 +1125,7 @@ Turn the chart animations on or off. They are on by default; the host can still
1124
1125
 
1125
1126
  Chart palette
1126
1127
 
1127
- Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1128
+ Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Built-in diverging palettes (diverging gradient coloring): redblue, purplegreen, browngreen. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1128
1129
 
1129
1130
  **Payload schema**
1130
1131
 
@@ -1149,7 +1150,7 @@ Set the single color used by the chart
1149
1150
  {
1150
1151
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1151
1152
  "type": "string",
1152
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1153
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1153
1154
  "title": "Coloring color schema"
1154
1155
  }
1155
1156
  ```
@@ -1271,6 +1272,55 @@ Set the minimum value of the gradient domain using a number or variable. Applies
1271
1272
  }
1272
1273
  ```
1273
1274
 
1275
+ ## `setColoringGradientRamp`
1276
+
1277
+ Gradient ramp
1278
+
1279
+ Set how the gradient spreads its colors. "diverging" centers the middle color on the midpoint (0 unless set; "auto" uses the middle of the gradient limits) and uses a diverging palette. "steps" draws the gradient as solid bands; null makes it continuous. Settings left out keep their current values. Requires gradient coloring
1280
+
1281
+ **Payload schema**
1282
+
1283
+ ```json
1284
+ {
1285
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1286
+ "type": "object",
1287
+ "properties": {
1288
+ "kind": {
1289
+ "description": "sequential runs from low to high; diverging runs away from the midpoint in both directions",
1290
+ "type": "string",
1291
+ "enum": ["sequential", "diverging"]
1292
+ },
1293
+ "midpoint": {
1294
+ "description": "Value a diverging gradient centers on, or \"auto\" for the middle of its limits. Defaults to 0",
1295
+ "anyOf": [
1296
+ {
1297
+ "type": "number"
1298
+ },
1299
+ {
1300
+ "type": "string",
1301
+ "const": "auto"
1302
+ }
1303
+ ]
1304
+ },
1305
+ "steps": {
1306
+ "description": "Number of solid bands to draw the gradient with. Null draws a continuous gradient",
1307
+ "anyOf": [
1308
+ {
1309
+ "type": "integer",
1310
+ "minimum": 2,
1311
+ "maximum": 12
1312
+ },
1313
+ {
1314
+ "type": "null"
1315
+ }
1316
+ ]
1317
+ }
1318
+ },
1319
+ "additionalProperties": false,
1320
+ "title": "Coloring gradient ramp schema"
1321
+ }
1322
+ ```
1323
+
1274
1324
  ## `setColoringMeasureAggregation`
1275
1325
 
1276
1326
  Coloring measure aggregation
@@ -1326,7 +1376,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1326
1376
  },
1327
1377
  "color": {
1328
1378
  "type": "string",
1329
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1379
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1330
1380
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1331
1381
  },
1332
1382
  "operator": {
@@ -1372,7 +1422,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1372
1422
  },
1373
1423
  "color": {
1374
1424
  "type": "string",
1375
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1425
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1376
1426
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1377
1427
  },
1378
1428
  "operator": {
@@ -1413,7 +1463,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1413
1463
  },
1414
1464
  "color": {
1415
1465
  "type": "string",
1416
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1466
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1417
1467
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1418
1468
  },
1419
1469
  "operator": {
@@ -1504,7 +1554,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1504
1554
  },
1505
1555
  "color": {
1506
1556
  "type": "string",
1507
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1557
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1508
1558
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1509
1559
  },
1510
1560
  "operator": {
@@ -1541,7 +1591,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1541
1591
  },
1542
1592
  "color": {
1543
1593
  "type": "string",
1544
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1594
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1545
1595
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1546
1596
  },
1547
1597
  "operator": {
@@ -1582,7 +1632,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1582
1632
  },
1583
1633
  "color": {
1584
1634
  "type": "string",
1585
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1635
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1586
1636
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1587
1637
  },
1588
1638
  "operator": {
@@ -1670,7 +1720,7 @@ Replace the whole custom gradient with a provided list of colors
1670
1720
  "type": "array",
1671
1721
  "items": {
1672
1722
  "type": "string",
1673
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1723
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1674
1724
  }
1675
1725
  }
1676
1726
  },
@@ -1698,7 +1748,7 @@ Replace the whole custom categorical palette with a provided list of colors and
1698
1748
  "type": "array",
1699
1749
  "items": {
1700
1750
  "type": "string",
1701
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1751
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1702
1752
  }
1703
1753
  }
1704
1754
  },
@@ -1795,6 +1845,7 @@ Set the display format type used by a dimension. This changes label formatting o
1795
1845
  "abbreviationNoDecimal",
1796
1846
  "abbreviation1Decimal",
1797
1847
  "abbreviation2Decimal",
1848
+ "abbreviationCompact",
1798
1849
  "percentageNoDecimal",
1799
1850
  "percentage1Decimal",
1800
1851
  "percentage2Decimal",
@@ -2014,7 +2065,7 @@ Change the color of legend text labels
2014
2065
  "anyOf": [
2015
2066
  {
2016
2067
  "type": "string",
2017
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2068
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
2018
2069
  },
2019
2070
  {
2020
2071
  "type": "null"
@@ -2528,6 +2579,7 @@ Set the format type used by a measure
2528
2579
  "abbreviationNoDecimal",
2529
2580
  "abbreviation1Decimal",
2530
2581
  "abbreviation2Decimal",
2582
+ "abbreviationCompact",
2531
2583
  "percentageNoDecimal",
2532
2584
  "percentage1Decimal",
2533
2585
  "percentage2Decimal",
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `waterfall` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.10.1`.
5
+ Reference for `@astrato-io/visualizations@0.12.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -39,6 +39,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
39
39
  - [`setInvertAxis`](#setinvertaxis)
40
40
  - [`setLabelOverlap`](#setlabeloverlap)
41
41
  - [`setMeasureAxisBands`](#setmeasureaxisbands)
42
+ - [`setMeasureAxisLabelFormat`](#setmeasureaxislabelformat)
42
43
  - [`setMeasureCurrency`](#setmeasurecurrency)
43
44
  - [`setMeasureCurrencyIsPrefix`](#setmeasurecurrencyisprefix)
44
45
  - [`setMeasureDataLabelFontSize`](#setmeasuredatalabelfontsize)
@@ -184,7 +185,7 @@ Add a shaded band on the primary measure axis between two measure values
184
185
  "color": {
185
186
  "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
186
187
  "type": "string",
187
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
188
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
188
189
  },
189
190
  "label": {
190
191
  "description": "Text drawn inside the band",
@@ -817,7 +818,7 @@ Change the color of axis value labels
817
818
  "anyOf": [
818
819
  {
819
820
  "type": "string",
820
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
821
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
821
822
  },
822
823
  {
823
824
  "type": "null"
@@ -852,7 +853,7 @@ Change the color of axis lines
852
853
  "anyOf": [
853
854
  {
854
855
  "type": "string",
855
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
856
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
856
857
  },
857
858
  {
858
859
  "type": "null"
@@ -996,7 +997,7 @@ Change the color of axis tick marks
996
997
  "anyOf": [
997
998
  {
998
999
  "type": "string",
999
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1000
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1000
1001
  },
1001
1002
  {
1002
1003
  "type": "null"
@@ -1058,7 +1059,7 @@ Change the color of axis titles
1058
1059
  "anyOf": [
1059
1060
  {
1060
1061
  "type": "string",
1061
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1062
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1062
1063
  },
1063
1064
  {
1064
1065
  "type": "null"
@@ -1163,6 +1164,7 @@ Set the display format type used by a dimension. This changes label formatting o
1163
1164
  "abbreviationNoDecimal",
1164
1165
  "abbreviation1Decimal",
1165
1166
  "abbreviation2Decimal",
1167
+ "abbreviationCompact",
1166
1168
  "percentageNoDecimal",
1167
1169
  "percentage1Decimal",
1168
1170
  "percentage2Decimal",
@@ -1430,7 +1432,7 @@ Replace all shaded bands on the primary measure axis. Each band fills the plot b
1430
1432
  "color": {
1431
1433
  "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
1432
1434
  "type": "string",
1433
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1435
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1434
1436
  },
1435
1437
  "label": {
1436
1438
  "description": "Text drawn inside the band",
@@ -1449,6 +1451,36 @@ Replace all shaded bands on the primary measure axis. Each band fills the plot b
1449
1451
  }
1450
1452
  ```
1451
1453
 
1454
+ ## `setMeasureAxisLabelFormat`
1455
+
1456
+ Measure axis label format
1457
+
1458
+ Print measure axis values compactly, eg. 40M instead of 40,000,000.00, or with the measure's format. Data labels and tooltips keep the measure's format.
1459
+
1460
+ **Payload schema**
1461
+
1462
+ ```json
1463
+ {
1464
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1465
+ "type": "object",
1466
+ "properties": {
1467
+ "axisName": {
1468
+ "type": "string",
1469
+ "enum": ["primaryMeasure"],
1470
+ "description": "Measure axis to change"
1471
+ },
1472
+ "labelFormat": {
1473
+ "type": "string",
1474
+ "enum": ["compact", "value"],
1475
+ "description": "compact abbreviates each axis value, eg. 1.5M or $50M; value prints it with the measure's format. Percent, date, time and duration formats, patterns with conditions or colors, already scaled patterns and fixed-decimal abbreviations keep the measure's format."
1476
+ }
1477
+ },
1478
+ "required": ["axisName", "labelFormat"],
1479
+ "additionalProperties": false,
1480
+ "title": "Measure axis label format schema"
1481
+ }
1482
+ ```
1483
+
1452
1484
  ## `setMeasureCurrency`
1453
1485
 
1454
1486
  Measure currency
@@ -1978,6 +2010,7 @@ Set the format type used by a measure
1978
2010
  "abbreviationNoDecimal",
1979
2011
  "abbreviation1Decimal",
1980
2012
  "abbreviation2Decimal",
2013
+ "abbreviationCompact",
1981
2014
  "percentageNoDecimal",
1982
2015
  "percentage1Decimal",
1983
2016
  "percentage2Decimal",
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `word-cloud` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.10.1`.
5
+ Reference for `@astrato-io/visualizations@0.12.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -31,6 +31,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
31
31
  - [`setColoringGradientAuto`](#setcoloringgradientauto)
32
32
  - [`setColoringGradientMax`](#setcoloringgradientmax)
33
33
  - [`setColoringGradientMin`](#setcoloringgradientmin)
34
+ - [`setColoringGradientRamp`](#setcoloringgradientramp)
34
35
  - [`setColoringOverwrites`](#setcoloringoverwrites)
35
36
  - [`setColoringPersistentColors`](#setcoloringpersistentcolors)
36
37
  - [`setColoringRules`](#setcoloringrules)
@@ -89,7 +90,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
89
90
  },
90
91
  "color": {
91
92
  "type": "string",
92
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
93
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
93
94
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
94
95
  },
95
96
  "operator": {
@@ -126,7 +127,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
126
127
  },
127
128
  "color": {
128
129
  "type": "string",
129
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
130
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
130
131
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
131
132
  },
132
133
  "operator": {
@@ -167,7 +168,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
167
168
  },
168
169
  "color": {
169
170
  "type": "string",
170
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
171
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
171
172
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
172
173
  },
173
174
  "operator": {
@@ -230,7 +231,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
230
231
  },
231
232
  "color": {
232
233
  "type": "string",
233
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
234
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
234
235
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
235
236
  },
236
237
  "operator": {
@@ -267,7 +268,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
267
268
  },
268
269
  "color": {
269
270
  "type": "string",
270
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
271
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
271
272
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
272
273
  },
273
274
  "operator": {
@@ -308,7 +309,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
308
309
  },
309
310
  "color": {
310
311
  "type": "string",
311
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
312
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
312
313
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
313
314
  },
314
315
  "operator": {
@@ -1058,7 +1059,7 @@ Reset the chart palette back to the workbook theme default
1058
1059
 
1059
1060
  Chart palette
1060
1061
 
1061
- Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1062
+ Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Built-in diverging palettes (diverging gradient coloring): redblue, purplegreen, browngreen. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1062
1063
 
1063
1064
  **Payload schema**
1064
1065
 
@@ -1083,7 +1084,7 @@ Set the single color used by the chart
1083
1084
  {
1084
1085
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1085
1086
  "type": "string",
1086
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1087
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1087
1088
  "title": "Coloring color schema"
1088
1089
  }
1089
1090
  ```
@@ -1172,6 +1173,55 @@ Set the minimum value of the gradient domain using a number or variable. Applies
1172
1173
  }
1173
1174
  ```
1174
1175
 
1176
+ ## `setColoringGradientRamp`
1177
+
1178
+ Gradient ramp
1179
+
1180
+ Set how the gradient spreads its colors. "diverging" centers the middle color on the midpoint (0 unless set; "auto" uses the middle of the gradient limits) and uses a diverging palette. "steps" draws the gradient as solid bands; null makes it continuous. Settings left out keep their current values. Requires gradient coloring
1181
+
1182
+ **Payload schema**
1183
+
1184
+ ```json
1185
+ {
1186
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1187
+ "type": "object",
1188
+ "properties": {
1189
+ "kind": {
1190
+ "description": "sequential runs from low to high; diverging runs away from the midpoint in both directions",
1191
+ "type": "string",
1192
+ "enum": ["sequential", "diverging"]
1193
+ },
1194
+ "midpoint": {
1195
+ "description": "Value a diverging gradient centers on, or \"auto\" for the middle of its limits. Defaults to 0",
1196
+ "anyOf": [
1197
+ {
1198
+ "type": "number"
1199
+ },
1200
+ {
1201
+ "type": "string",
1202
+ "const": "auto"
1203
+ }
1204
+ ]
1205
+ },
1206
+ "steps": {
1207
+ "description": "Number of solid bands to draw the gradient with. Null draws a continuous gradient",
1208
+ "anyOf": [
1209
+ {
1210
+ "type": "integer",
1211
+ "minimum": 2,
1212
+ "maximum": 12
1213
+ },
1214
+ {
1215
+ "type": "null"
1216
+ }
1217
+ ]
1218
+ }
1219
+ },
1220
+ "additionalProperties": false,
1221
+ "title": "Coloring gradient ramp schema"
1222
+ }
1223
+ ```
1224
+
1175
1225
  ## `setColoringOverwrites`
1176
1226
 
1177
1227
  Value colors
@@ -1210,7 +1260,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1210
1260
  },
1211
1261
  "color": {
1212
1262
  "type": "string",
1213
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1263
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1214
1264
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1215
1265
  },
1216
1266
  "operator": {
@@ -1256,7 +1306,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1256
1306
  },
1257
1307
  "color": {
1258
1308
  "type": "string",
1259
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1309
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1260
1310
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1261
1311
  },
1262
1312
  "operator": {
@@ -1297,7 +1347,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1297
1347
  },
1298
1348
  "color": {
1299
1349
  "type": "string",
1300
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1350
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1301
1351
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1302
1352
  },
1303
1353
  "operator": {
@@ -1388,7 +1438,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1388
1438
  },
1389
1439
  "color": {
1390
1440
  "type": "string",
1391
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1441
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1392
1442
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1393
1443
  },
1394
1444
  "operator": {
@@ -1425,7 +1475,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1425
1475
  },
1426
1476
  "color": {
1427
1477
  "type": "string",
1428
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1478
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1429
1479
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1430
1480
  },
1431
1481
  "operator": {
@@ -1466,7 +1516,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1466
1516
  },
1467
1517
  "color": {
1468
1518
  "type": "string",
1469
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1519
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1470
1520
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1471
1521
  },
1472
1522
  "operator": {
@@ -1537,7 +1587,7 @@ Replace the whole custom gradient with a provided list of colors
1537
1587
  "type": "array",
1538
1588
  "items": {
1539
1589
  "type": "string",
1540
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1590
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1541
1591
  }
1542
1592
  }
1543
1593
  },
@@ -1565,7 +1615,7 @@ Replace the whole custom categorical palette with a provided list of colors and
1565
1615
  "type": "array",
1566
1616
  "items": {
1567
1617
  "type": "string",
1568
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1618
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1569
1619
  }
1570
1620
  }
1571
1621
  },
@@ -1662,6 +1712,7 @@ Set the display format type used by a dimension. This changes label formatting o
1662
1712
  "abbreviationNoDecimal",
1663
1713
  "abbreviation1Decimal",
1664
1714
  "abbreviation2Decimal",
1715
+ "abbreviationCompact",
1665
1716
  "percentageNoDecimal",
1666
1717
  "percentage1Decimal",
1667
1718
  "percentage2Decimal",
@@ -2268,6 +2319,7 @@ Set the format type used by a measure
2268
2319
  "abbreviationNoDecimal",
2269
2320
  "abbreviation1Decimal",
2270
2321
  "abbreviation2Decimal",
2322
+ "abbreviationCompact",
2271
2323
  "percentageNoDecimal",
2272
2324
  "percentage1Decimal",
2273
2325
  "percentage2Decimal",
package/getters.js CHANGED
@@ -1,6 +1,6 @@
1
- import { r as e } from "./chunks/operations-DKQWuLL7.js";
2
- import { n as t, t as n } from "./chunks/lookup-BWllin0q.js";
3
- import { t as r } from "./chunks/metadata-BQm_TXI1.js";
1
+ import { r as e } from "./chunks/operations-CgfehCad.js";
2
+ import { n as t, t as n } from "./chunks/lookup-B3tWH2hX.js";
3
+ import { t as r } from "./chunks/metadata-dGSe5UWy.js";
4
4
  var i = (e) => typeof e == "object" && !!e && "id" in e && typeof e.id == "string" && "name" in e && typeof e.name == "string", a = (a) => {
5
5
  let o = a.registry ? t(a.instance.type, a.registry) : void 0, s = new Set((o?.getters ?? r(o?.type ?? n(a.instance.type))).names);
6
6
  if (a.getterRequests.forEach((e) => {