@astrato-io/visualizations 0.11.0 → 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.
- package/CHANGELOG.md +19 -0
- package/README.md +129 -4
- package/VISUALIZATION_DEFINITIONS.md +3 -1
- package/chunks/{Button-CPG4WX8X.js → Button-CQdoKSXX.js} +3 -3
- package/chunks/{CircularProgress-PSLW8HmD.js → CircularProgress-DpT1lwWw.js} +18 -18
- package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
- package/chunks/{LinearProgress-KQ2EQlGL.js → LinearProgress-B7S0Q26A.js} +8 -8
- package/chunks/{MenuOption-B-6K7kks.js → MenuOption-DpKFJxmo.js} +133 -133
- package/chunks/{Title-BmvwZYkh.js → Title-m5damhc0.js} +10 -10
- package/chunks/{_createAggregator-CFmH6gUN.js → _createAggregator-BA8_iU9q.js} +7 -7
- package/chunks/{app-filter-bar.compiler-BY5-T16I.js → app-filter-bar.compiler--T4Qz3Wu.js} +3 -3
- package/chunks/{bar-layout-BNou0dZF.js → bar-layout-OFhxn2Go.js} +2 -2
- package/chunks/{bar.compiler-BkhO7sDd.js → bar.compiler-hWZBYYvV.js} +62 -62
- package/chunks/{builder-CNjuqD2z.js → builder-7w_bgV_h.js} +31 -31
- package/chunks/{coloring-BOiP0rmn.js → coloring-Cd6p0GQJ.js} +88 -83
- package/chunks/{createSimplePaletteValueFilter-BkgQ7MFE.js → createSimplePaletteValueFilter-CiJT8s1s.js} +55 -55
- package/chunks/defaults-CMFqXvaJ.js +3 -0
- package/chunks/{definitions-AS9GcavE.js → definitions-DTauTjIX.js} +412 -406
- package/chunks/{escobar-cQ1eQ64G.js → escobar-CMvphKSK.js} +4787 -4717
- package/chunks/{extend-preset-BlCbcXKR.js → extend-preset-BpXttHFk.js} +371 -372
- package/chunks/{filter.compiler-CI7dDNM1.js → filter.compiler-DOGFweJz.js} +4 -4
- package/chunks/{filtering-Dwi7hDPZ.js → filtering-NOnDcGbo.js} +183 -183
- package/chunks/handlers-CyYFSfhM.js +15393 -0
- package/chunks/{icon-picker-styles-CBlxEu3s.js → icon-picker-styles-DuSERhBU.js} +2 -2
- package/chunks/{isEqual-BdHo6wqq.js → isEqual-4f8yUUtC.js} +1 -1
- package/chunks/{isFocusVisible-C1nlVUwL.js → isFocusVisible-Czm70MGc.js} +1 -1
- package/chunks/line.compiler-B-4H55_T.js +203 -0
- package/chunks/{logger-Bc-DqDM_.js → logger-Cioob-QV.js} +71 -70
- package/chunks/{map.compiler-CRO6XpdI.js → map.compiler-Cv5V6EhF.js} +13 -13
- package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
- package/chunks/{measure-format-default-B6ghxih7.js → measure-format-default-B_kuGSzi.js} +7 -3
- package/chunks/{metadata-CtkvZEhS.js → metadata-dGSe5UWy.js} +5 -5
- package/chunks/{number.compiler-kV4lobCZ.js → number.compiler-D7nMcEMv.js} +8 -8
- package/chunks/{operations-COl9wgqi.js → operations-CgfehCad.js} +11462 -11223
- package/chunks/{range-CMJ5yc5Z.js → range-Dmwp9kVB.js} +2 -2
- package/chunks/{react-dom-BjsCbYHq.js → react-dom-CfuL-m78.js} +24 -24
- package/chunks/{render-wrappers-DFHi3Wkr.js → render-wrappers--g-zPFBW.js} +1 -1
- package/chunks/{requirements-C5YLmHKe.js → requirements-DHayNJ2C.js} +83 -83
- package/chunks/{shared-DyqxOie0.js → shared-DoEN9nNM.js} +282 -277
- package/chunks/standalone-B3hRGgYi.js +773 -0
- package/chunks/{standalone-BYK2U0Vd.js → standalone-BPNXgFft.js} +380 -380
- package/chunks/standalone-BPTT8XEu.js +424 -0
- package/chunks/standalone-BgAeHROc.js +2 -0
- package/chunks/{standalone-I5kRIsp8.js → standalone-BkQxag7M.js} +81 -81
- package/chunks/{standalone-DYVYccmY.js → standalone-Bxa3x6dg.js} +913 -913
- package/chunks/standalone-C0If-V6O.js +773 -0
- package/chunks/standalone-C1TOyflX.js +287 -0
- package/chunks/{standalone-DaNxWIKn.js → standalone-CE5PwJN0.js} +21 -21
- package/chunks/{standalone-K2OvRAQM.js → standalone-CG7IFN6n.js} +121 -121
- package/chunks/{standalone-Db_HNuWx.js → standalone-CKlgGu80.js} +44 -44
- package/chunks/standalone-CNf-oA2U.js +355 -0
- package/chunks/{standalone-9jrQ3zJT.js → standalone-CXPdWFlw.js} +10 -10
- package/chunks/{standalone-c4CPN6ug.js → standalone-Cf0_5tbu.js} +5783 -5785
- package/chunks/{standalone-Bp4G3MDx.js → standalone-DMi4-Vp3.js} +118 -118
- package/chunks/{standalone-BrjtMIdd.js → standalone-DTEX67C8.js} +108 -108
- package/chunks/{standalone-iOnJhCvA.js → standalone-DU46-kYv.js} +181 -181
- package/chunks/standalone-Dbn3jSH6.js +690 -0
- package/chunks/{standalone-CS5VGoja.js → standalone-DdcAL_k_.js} +833 -837
- package/chunks/standalone-DwCIA0UG.js +1057 -0
- package/chunks/standalone-Dz13tl3P.js +357 -0
- package/chunks/{standalone-CIjNYyya.js → standalone-H9GFzFk_.js} +937 -938
- package/chunks/{standalone-ChfEHb28.js → standalone-MduR0qre.js} +1279 -1279
- package/chunks/standalone-ejTz66P3.js +2 -0
- package/chunks/{standalone-D9k5SCd8.js → standalone-keB-0wK3.js} +189 -189
- package/chunks/{standalone-Bsfz5vnJ.js → standalone-nnkuQd0K.js} +35 -35
- package/chunks/standalone-vGGR6Vcn.js +6 -0
- package/chunks/{table.compiler-CMH_dtYs.js → table.compiler-mS4UvhLT.js} +12 -12
- package/chunks/theme-MYp6Rj1J.js +232 -0
- package/chunks/{useFieldName-BfxBzhhH.js → useFieldName-AdSak4Ch.js} +1 -1
- package/chunks/{utils-BdJrEeIQ.js → utils-CUKgR7it.js} +3265 -3133
- package/chunks/{view-Q-_XIrWE.js → view-BeYwpcVD.js} +478 -478
- package/chunks/{visualization-filters-BwS0xUqs.js → visualization-filters-B9qik5_K.js} +2706 -2384
- package/chunks/{with-html-element-D_ooGNWI.js → with-html-element-1GSeLT59.js} +3888 -3870
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +115 -32
- package/docs/operations/combo.md +50 -17
- package/docs/operations/date-picker.md +4 -4
- package/docs/operations/distribution-gauge.md +18 -16
- package/docs/operations/dot.md +107 -24
- package/docs/operations/filter.md +10 -8
- package/docs/operations/gauge.md +20 -18
- package/docs/operations/heatMap.md +73 -21
- package/docs/operations/histogram.md +45 -12
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +11 -11
- package/docs/operations/line.md +57 -24
- package/docs/operations/map.md +16 -16
- package/docs/operations/number.md +10 -9
- package/docs/operations/pie.md +23 -21
- package/docs/operations/radar.md +13 -11
- package/docs/operations/sankey.md +19 -17
- package/docs/operations/scatter.md +111 -28
- package/docs/operations/shape.md +5 -5
- package/docs/operations/simpleTextObject.md +4 -4
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +27 -25
- package/docs/operations/tree.md +5 -3
- package/docs/operations/treemap.md +70 -18
- package/docs/operations/waterfall.md +40 -7
- package/docs/operations/word-cloud.md +69 -17
- package/getters.js +2 -2
- package/index.js +474 -525
- package/metadata.js +2 -2
- package/operations.js +24 -17
- package/package.json +71 -72
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1 -1
- package/src/definitions/model/definitions/schema-registry.d.ts +13 -12
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -2
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +5 -4
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +3 -2
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
- package/src/index.d.ts +1 -1
- package/src/operations/index.d.ts +11 -1
- package/src/types.d.ts +166 -1
- package/chunks/FieldTypeIcon-5k2bkqd0.js +0 -22
- package/chunks/category-axis-D1OVyMrr.js +0 -20
- package/chunks/color-rules-DYJL4fIW.js +0 -15
- package/chunks/color-settings-DJFoFTip.js +0 -5
- package/chunks/defaults-B5_8S-J-.js +0 -3
- package/chunks/handlers-C63NVo7i.js +0 -15433
- package/chunks/line.compiler-DCv3h42f.js +0 -198
- package/chunks/standalone-06i1wmIX.js +0 -6
- package/chunks/standalone-B6zUvxNQ.js +0 -357
- package/chunks/standalone-Be5APcVv.js +0 -762
- package/chunks/standalone-BuXpKMnc.js +0 -2
- package/chunks/standalone-CUGt2FUF.js +0 -2
- package/chunks/standalone-CnF2OYLQ.js +0 -355
- package/chunks/standalone-CznEEiq3.js +0 -422
- package/chunks/standalone-DcuE8KBa.js +0 -287
- package/chunks/standalone-pCrzBiTy.js +0 -773
- package/chunks/standalone-qrZaimgC.js +0 -689
- package/chunks/standalone-yqDJ8h3K.js +0 -1012
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `distribution-gauge` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.12.0`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -94,7 +94,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
94
94
|
},
|
|
95
95
|
"color": {
|
|
96
96
|
"type": "string",
|
|
97
|
-
"pattern": "
|
|
97
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
98
98
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
99
99
|
},
|
|
100
100
|
"operator": {
|
|
@@ -131,7 +131,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
131
131
|
},
|
|
132
132
|
"color": {
|
|
133
133
|
"type": "string",
|
|
134
|
-
"pattern": "
|
|
134
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
135
135
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
136
136
|
},
|
|
137
137
|
"operator": {
|
|
@@ -172,7 +172,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
172
172
|
},
|
|
173
173
|
"color": {
|
|
174
174
|
"type": "string",
|
|
175
|
-
"pattern": "
|
|
175
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
176
176
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
177
177
|
},
|
|
178
178
|
"operator": {
|
|
@@ -235,7 +235,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
235
235
|
},
|
|
236
236
|
"color": {
|
|
237
237
|
"type": "string",
|
|
238
|
-
"pattern": "
|
|
238
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
239
239
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
240
240
|
},
|
|
241
241
|
"operator": {
|
|
@@ -272,7 +272,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
272
272
|
},
|
|
273
273
|
"color": {
|
|
274
274
|
"type": "string",
|
|
275
|
-
"pattern": "
|
|
275
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
276
276
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
277
277
|
},
|
|
278
278
|
"operator": {
|
|
@@ -313,7 +313,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
313
313
|
},
|
|
314
314
|
"color": {
|
|
315
315
|
"type": "string",
|
|
316
|
-
"pattern": "
|
|
316
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
317
317
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
318
318
|
},
|
|
319
319
|
"operator": {
|
|
@@ -1099,7 +1099,7 @@ Turn the chart animations on or off. They are on by default; the host can still
|
|
|
1099
1099
|
|
|
1100
1100
|
Chart palette
|
|
1101
1101
|
|
|
1102
|
-
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
|
|
1102
|
+
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
|
|
1103
1103
|
|
|
1104
1104
|
**Payload schema**
|
|
1105
1105
|
|
|
@@ -1150,7 +1150,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1150
1150
|
},
|
|
1151
1151
|
"color": {
|
|
1152
1152
|
"type": "string",
|
|
1153
|
-
"pattern": "
|
|
1153
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1154
1154
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1155
1155
|
},
|
|
1156
1156
|
"operator": {
|
|
@@ -1196,7 +1196,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1196
1196
|
},
|
|
1197
1197
|
"color": {
|
|
1198
1198
|
"type": "string",
|
|
1199
|
-
"pattern": "
|
|
1199
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1200
1200
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1201
1201
|
},
|
|
1202
1202
|
"operator": {
|
|
@@ -1237,7 +1237,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1237
1237
|
},
|
|
1238
1238
|
"color": {
|
|
1239
1239
|
"type": "string",
|
|
1240
|
-
"pattern": "
|
|
1240
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1241
1241
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1242
1242
|
},
|
|
1243
1243
|
"operator": {
|
|
@@ -1311,7 +1311,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1311
1311
|
},
|
|
1312
1312
|
"color": {
|
|
1313
1313
|
"type": "string",
|
|
1314
|
-
"pattern": "
|
|
1314
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1315
1315
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1316
1316
|
},
|
|
1317
1317
|
"operator": {
|
|
@@ -1348,7 +1348,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1348
1348
|
},
|
|
1349
1349
|
"color": {
|
|
1350
1350
|
"type": "string",
|
|
1351
|
-
"pattern": "
|
|
1351
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1352
1352
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1353
1353
|
},
|
|
1354
1354
|
"operator": {
|
|
@@ -1389,7 +1389,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1389
1389
|
},
|
|
1390
1390
|
"color": {
|
|
1391
1391
|
"type": "string",
|
|
1392
|
-
"pattern": "
|
|
1392
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1393
1393
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1394
1394
|
},
|
|
1395
1395
|
"operator": {
|
|
@@ -1460,7 +1460,7 @@ Replace the whole custom categorical palette with a provided list of colors and
|
|
|
1460
1460
|
"type": "array",
|
|
1461
1461
|
"items": {
|
|
1462
1462
|
"type": "string",
|
|
1463
|
-
"pattern": "
|
|
1463
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
1464
1464
|
}
|
|
1465
1465
|
}
|
|
1466
1466
|
},
|
|
@@ -1557,6 +1557,7 @@ Set the display format type used by a dimension. This changes label formatting o
|
|
|
1557
1557
|
"abbreviationNoDecimal",
|
|
1558
1558
|
"abbreviation1Decimal",
|
|
1559
1559
|
"abbreviation2Decimal",
|
|
1560
|
+
"abbreviationCompact",
|
|
1560
1561
|
"percentageNoDecimal",
|
|
1561
1562
|
"percentage1Decimal",
|
|
1562
1563
|
"percentage2Decimal",
|
|
@@ -1808,7 +1809,7 @@ Change the color of legend text labels
|
|
|
1808
1809
|
"anyOf": [
|
|
1809
1810
|
{
|
|
1810
1811
|
"type": "string",
|
|
1811
|
-
"pattern": "
|
|
1812
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
1812
1813
|
},
|
|
1813
1814
|
{
|
|
1814
1815
|
"type": "null"
|
|
@@ -2322,6 +2323,7 @@ Set the format type used by a measure
|
|
|
2322
2323
|
"abbreviationNoDecimal",
|
|
2323
2324
|
"abbreviation1Decimal",
|
|
2324
2325
|
"abbreviation2Decimal",
|
|
2326
|
+
"abbreviationCompact",
|
|
2325
2327
|
"percentageNoDecimal",
|
|
2326
2328
|
"percentage1Decimal",
|
|
2327
2329
|
"percentage2Decimal",
|
package/docs/operations/dot.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `dot` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.12.0`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -50,6 +50,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
|
|
|
50
50
|
- [`setColoringGradientField`](#setcoloringgradientfield)
|
|
51
51
|
- [`setColoringGradientMax`](#setcoloringgradientmax)
|
|
52
52
|
- [`setColoringGradientMin`](#setcoloringgradientmin)
|
|
53
|
+
- [`setColoringGradientRamp`](#setcoloringgradientramp)
|
|
53
54
|
- [`setColoringMeasureAggregation`](#setcoloringmeasureaggregation)
|
|
54
55
|
- [`setColoringOverwrites`](#setcoloringoverwrites)
|
|
55
56
|
- [`setColoringPersistentColors`](#setcoloringpersistentcolors)
|
|
@@ -98,6 +99,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
|
|
|
98
99
|
- [`setMeasureAdvancedStandardDeviations`](#setmeasureadvancedstandarddeviations)
|
|
99
100
|
- [`setMeasureAdvancedWindowBegin`](#setmeasureadvancedwindowbegin)
|
|
100
101
|
- [`setMeasureAdvancedWindowEnd`](#setmeasureadvancedwindowend)
|
|
102
|
+
- [`setMeasureAxisLabelFormat`](#setmeasureaxislabelformat)
|
|
101
103
|
- [`setMeasureCurrency`](#setmeasurecurrency)
|
|
102
104
|
- [`setMeasureCurrencyIsPrefix`](#setmeasurecurrencyisprefix)
|
|
103
105
|
- [`setMeasureDefinedParameter`](#setmeasuredefinedparameter)
|
|
@@ -155,7 +157,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
155
157
|
},
|
|
156
158
|
"color": {
|
|
157
159
|
"type": "string",
|
|
158
|
-
"pattern": "
|
|
160
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
159
161
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
160
162
|
},
|
|
161
163
|
"operator": {
|
|
@@ -192,7 +194,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
192
194
|
},
|
|
193
195
|
"color": {
|
|
194
196
|
"type": "string",
|
|
195
|
-
"pattern": "
|
|
197
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
196
198
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
197
199
|
},
|
|
198
200
|
"operator": {
|
|
@@ -233,7 +235,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
233
235
|
},
|
|
234
236
|
"color": {
|
|
235
237
|
"type": "string",
|
|
236
|
-
"pattern": "
|
|
238
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
237
239
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
238
240
|
},
|
|
239
241
|
"operator": {
|
|
@@ -296,7 +298,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
296
298
|
},
|
|
297
299
|
"color": {
|
|
298
300
|
"type": "string",
|
|
299
|
-
"pattern": "
|
|
301
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
300
302
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
301
303
|
},
|
|
302
304
|
"operator": {
|
|
@@ -333,7 +335,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
333
335
|
},
|
|
334
336
|
"color": {
|
|
335
337
|
"type": "string",
|
|
336
|
-
"pattern": "
|
|
338
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
337
339
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
338
340
|
},
|
|
339
341
|
"operator": {
|
|
@@ -374,7 +376,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
374
376
|
},
|
|
375
377
|
"color": {
|
|
376
378
|
"type": "string",
|
|
377
|
-
"pattern": "
|
|
379
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
378
380
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
379
381
|
},
|
|
380
382
|
"operator": {
|
|
@@ -797,7 +799,7 @@ Add a reference line at a value on the x or y axis, with an optional label, colo
|
|
|
797
799
|
"anyOf": [
|
|
798
800
|
{
|
|
799
801
|
"type": "string",
|
|
800
|
-
"pattern": "
|
|
802
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
801
803
|
},
|
|
802
804
|
{
|
|
803
805
|
"type": "null"
|
|
@@ -1467,7 +1469,7 @@ Change the color of axis value labels
|
|
|
1467
1469
|
"anyOf": [
|
|
1468
1470
|
{
|
|
1469
1471
|
"type": "string",
|
|
1470
|
-
"pattern": "
|
|
1472
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
1471
1473
|
},
|
|
1472
1474
|
{
|
|
1473
1475
|
"type": "null"
|
|
@@ -1502,7 +1504,7 @@ Change the color of axis lines
|
|
|
1502
1504
|
"anyOf": [
|
|
1503
1505
|
{
|
|
1504
1506
|
"type": "string",
|
|
1505
|
-
"pattern": "
|
|
1507
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
1506
1508
|
},
|
|
1507
1509
|
{
|
|
1508
1510
|
"type": "null"
|
|
@@ -1646,7 +1648,7 @@ Change the color of axis tick marks
|
|
|
1646
1648
|
"anyOf": [
|
|
1647
1649
|
{
|
|
1648
1650
|
"type": "string",
|
|
1649
|
-
"pattern": "
|
|
1651
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
1650
1652
|
},
|
|
1651
1653
|
{
|
|
1652
1654
|
"type": "null"
|
|
@@ -1708,7 +1710,7 @@ Change the color of axis titles
|
|
|
1708
1710
|
"anyOf": [
|
|
1709
1711
|
{
|
|
1710
1712
|
"type": "string",
|
|
1711
|
-
"pattern": "
|
|
1713
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
1712
1714
|
},
|
|
1713
1715
|
{
|
|
1714
1716
|
"type": "null"
|
|
@@ -1730,7 +1732,7 @@ Change the color of axis titles
|
|
|
1730
1732
|
|
|
1731
1733
|
Chart palette
|
|
1732
1734
|
|
|
1733
|
-
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
|
|
1735
|
+
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
|
|
1734
1736
|
|
|
1735
1737
|
**Payload schema**
|
|
1736
1738
|
|
|
@@ -1755,7 +1757,7 @@ Set the single color used by the chart
|
|
|
1755
1757
|
{
|
|
1756
1758
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1757
1759
|
"type": "string",
|
|
1758
|
-
"pattern": "
|
|
1760
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1759
1761
|
"title": "Coloring color schema"
|
|
1760
1762
|
}
|
|
1761
1763
|
```
|
|
@@ -1877,6 +1879,55 @@ Set the minimum value of the gradient domain using a number or variable. Applies
|
|
|
1877
1879
|
}
|
|
1878
1880
|
```
|
|
1879
1881
|
|
|
1882
|
+
## `setColoringGradientRamp`
|
|
1883
|
+
|
|
1884
|
+
Gradient ramp
|
|
1885
|
+
|
|
1886
|
+
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
|
|
1887
|
+
|
|
1888
|
+
**Payload schema**
|
|
1889
|
+
|
|
1890
|
+
```json
|
|
1891
|
+
{
|
|
1892
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1893
|
+
"type": "object",
|
|
1894
|
+
"properties": {
|
|
1895
|
+
"kind": {
|
|
1896
|
+
"description": "sequential runs from low to high; diverging runs away from the midpoint in both directions",
|
|
1897
|
+
"type": "string",
|
|
1898
|
+
"enum": ["sequential", "diverging"]
|
|
1899
|
+
},
|
|
1900
|
+
"midpoint": {
|
|
1901
|
+
"description": "Value a diverging gradient centers on, or \"auto\" for the middle of its limits. Defaults to 0",
|
|
1902
|
+
"anyOf": [
|
|
1903
|
+
{
|
|
1904
|
+
"type": "number"
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"type": "string",
|
|
1908
|
+
"const": "auto"
|
|
1909
|
+
}
|
|
1910
|
+
]
|
|
1911
|
+
},
|
|
1912
|
+
"steps": {
|
|
1913
|
+
"description": "Number of solid bands to draw the gradient with. Null draws a continuous gradient",
|
|
1914
|
+
"anyOf": [
|
|
1915
|
+
{
|
|
1916
|
+
"type": "integer",
|
|
1917
|
+
"minimum": 2,
|
|
1918
|
+
"maximum": 12
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"type": "null"
|
|
1922
|
+
}
|
|
1923
|
+
]
|
|
1924
|
+
}
|
|
1925
|
+
},
|
|
1926
|
+
"additionalProperties": false,
|
|
1927
|
+
"title": "Coloring gradient ramp schema"
|
|
1928
|
+
}
|
|
1929
|
+
```
|
|
1930
|
+
|
|
1880
1931
|
## `setColoringMeasureAggregation`
|
|
1881
1932
|
|
|
1882
1933
|
Coloring measure aggregation
|
|
@@ -1932,7 +1983,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1932
1983
|
},
|
|
1933
1984
|
"color": {
|
|
1934
1985
|
"type": "string",
|
|
1935
|
-
"pattern": "
|
|
1986
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1936
1987
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1937
1988
|
},
|
|
1938
1989
|
"operator": {
|
|
@@ -1978,7 +2029,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1978
2029
|
},
|
|
1979
2030
|
"color": {
|
|
1980
2031
|
"type": "string",
|
|
1981
|
-
"pattern": "
|
|
2032
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
1982
2033
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
1983
2034
|
},
|
|
1984
2035
|
"operator": {
|
|
@@ -2019,7 +2070,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
2019
2070
|
},
|
|
2020
2071
|
"color": {
|
|
2021
2072
|
"type": "string",
|
|
2022
|
-
"pattern": "
|
|
2073
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
2023
2074
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
2024
2075
|
},
|
|
2025
2076
|
"operator": {
|
|
@@ -2110,7 +2161,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
2110
2161
|
},
|
|
2111
2162
|
"color": {
|
|
2112
2163
|
"type": "string",
|
|
2113
|
-
"pattern": "
|
|
2164
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
2114
2165
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
2115
2166
|
},
|
|
2116
2167
|
"operator": {
|
|
@@ -2147,7 +2198,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
2147
2198
|
},
|
|
2148
2199
|
"color": {
|
|
2149
2200
|
"type": "string",
|
|
2150
|
-
"pattern": "
|
|
2201
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
2151
2202
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
2152
2203
|
},
|
|
2153
2204
|
"operator": {
|
|
@@ -2188,7 +2239,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
2188
2239
|
},
|
|
2189
2240
|
"color": {
|
|
2190
2241
|
"type": "string",
|
|
2191
|
-
"pattern": "
|
|
2242
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
|
|
2192
2243
|
"description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
|
|
2193
2244
|
},
|
|
2194
2245
|
"operator": {
|
|
@@ -2276,7 +2327,7 @@ Replace the whole custom gradient with a provided list of colors
|
|
|
2276
2327
|
"type": "array",
|
|
2277
2328
|
"items": {
|
|
2278
2329
|
"type": "string",
|
|
2279
|
-
"pattern": "
|
|
2330
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
2280
2331
|
}
|
|
2281
2332
|
}
|
|
2282
2333
|
},
|
|
@@ -2304,7 +2355,7 @@ Replace the whole custom categorical palette with a provided list of colors and
|
|
|
2304
2355
|
"type": "array",
|
|
2305
2356
|
"items": {
|
|
2306
2357
|
"type": "string",
|
|
2307
|
-
"pattern": "
|
|
2358
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
2308
2359
|
}
|
|
2309
2360
|
}
|
|
2310
2361
|
},
|
|
@@ -2401,6 +2452,7 @@ Set the display format type used by a dimension. This changes label formatting o
|
|
|
2401
2452
|
"abbreviationNoDecimal",
|
|
2402
2453
|
"abbreviation1Decimal",
|
|
2403
2454
|
"abbreviation2Decimal",
|
|
2455
|
+
"abbreviationCompact",
|
|
2404
2456
|
"percentageNoDecimal",
|
|
2405
2457
|
"percentage1Decimal",
|
|
2406
2458
|
"percentage2Decimal",
|
|
@@ -2670,7 +2722,7 @@ Change the color of legend text labels
|
|
|
2670
2722
|
"anyOf": [
|
|
2671
2723
|
{
|
|
2672
2724
|
"type": "string",
|
|
2673
|
-
"pattern": "
|
|
2725
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
2674
2726
|
},
|
|
2675
2727
|
{
|
|
2676
2728
|
"type": "null"
|
|
@@ -4325,6 +4377,36 @@ Set periods after for moving calculation
|
|
|
4325
4377
|
}
|
|
4326
4378
|
```
|
|
4327
4379
|
|
|
4380
|
+
## `setMeasureAxisLabelFormat`
|
|
4381
|
+
|
|
4382
|
+
Measure axis label format
|
|
4383
|
+
|
|
4384
|
+
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.
|
|
4385
|
+
|
|
4386
|
+
**Payload schema**
|
|
4387
|
+
|
|
4388
|
+
```json
|
|
4389
|
+
{
|
|
4390
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4391
|
+
"type": "object",
|
|
4392
|
+
"properties": {
|
|
4393
|
+
"axisName": {
|
|
4394
|
+
"type": "string",
|
|
4395
|
+
"enum": ["primaryMeasure"],
|
|
4396
|
+
"description": "Measure axis to change"
|
|
4397
|
+
},
|
|
4398
|
+
"labelFormat": {
|
|
4399
|
+
"type": "string",
|
|
4400
|
+
"enum": ["compact", "value"],
|
|
4401
|
+
"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."
|
|
4402
|
+
}
|
|
4403
|
+
},
|
|
4404
|
+
"required": ["axisName", "labelFormat"],
|
|
4405
|
+
"additionalProperties": false,
|
|
4406
|
+
"title": "Measure axis label format schema"
|
|
4407
|
+
}
|
|
4408
|
+
```
|
|
4409
|
+
|
|
4328
4410
|
## `setMeasureCurrency`
|
|
4329
4411
|
|
|
4330
4412
|
Measure currency
|
|
@@ -4743,6 +4825,7 @@ Set the format type used by a measure
|
|
|
4743
4825
|
"abbreviationNoDecimal",
|
|
4744
4826
|
"abbreviation1Decimal",
|
|
4745
4827
|
"abbreviation2Decimal",
|
|
4828
|
+
"abbreviationCompact",
|
|
4746
4829
|
"percentageNoDecimal",
|
|
4747
4830
|
"percentage1Decimal",
|
|
4748
4831
|
"percentage2Decimal",
|
|
@@ -5696,7 +5779,7 @@ Change the value, label, color or width of a reference line, or move it to the o
|
|
|
5696
5779
|
"anyOf": [
|
|
5697
5780
|
{
|
|
5698
5781
|
"type": "string",
|
|
5699
|
-
"pattern": "
|
|
5782
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
5700
5783
|
},
|
|
5701
5784
|
{
|
|
5702
5785
|
"type": "null"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `filter` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.12.0`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -317,6 +317,7 @@ Set the display format type used by a dimension. This changes label formatting o
|
|
|
317
317
|
"abbreviationNoDecimal",
|
|
318
318
|
"abbreviation1Decimal",
|
|
319
319
|
"abbreviation2Decimal",
|
|
320
|
+
"abbreviationCompact",
|
|
320
321
|
"percentageNoDecimal",
|
|
321
322
|
"percentage1Decimal",
|
|
322
323
|
"percentage2Decimal",
|
|
@@ -519,13 +520,13 @@ Set the filter background color
|
|
|
519
520
|
"anyOf": [
|
|
520
521
|
{
|
|
521
522
|
"type": "string",
|
|
522
|
-
"pattern": "
|
|
523
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
523
524
|
},
|
|
524
525
|
{
|
|
525
526
|
"type": "null"
|
|
526
527
|
}
|
|
527
528
|
],
|
|
528
|
-
"description": "Background color (hex
|
|
529
|
+
"description": "Background color (hex with optional alpha, or a theme color reference such as theme:primary)",
|
|
529
530
|
"title": "Filter background color schema"
|
|
530
531
|
}
|
|
531
532
|
```
|
|
@@ -544,7 +545,7 @@ Set the filter border color
|
|
|
544
545
|
"description": "Border color",
|
|
545
546
|
"title": "Filter border color schema",
|
|
546
547
|
"type": "string",
|
|
547
|
-
"pattern": "
|
|
548
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
548
549
|
}
|
|
549
550
|
```
|
|
550
551
|
|
|
@@ -661,13 +662,13 @@ Update filter font family, size, color, or style
|
|
|
661
662
|
"anyOf": [
|
|
662
663
|
{
|
|
663
664
|
"type": "string",
|
|
664
|
-
"pattern": "
|
|
665
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
665
666
|
},
|
|
666
667
|
{
|
|
667
668
|
"type": "null"
|
|
668
669
|
}
|
|
669
670
|
],
|
|
670
|
-
"description": "Font color (hex
|
|
671
|
+
"description": "Font color (hex with optional alpha, or a theme color reference such as theme:primary)"
|
|
671
672
|
}
|
|
672
673
|
},
|
|
673
674
|
"additionalProperties": false,
|
|
@@ -734,10 +735,10 @@ Set the filter progress bar color
|
|
|
734
735
|
```json
|
|
735
736
|
{
|
|
736
737
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
737
|
-
"description": "Progress bar color (hex
|
|
738
|
+
"description": "Progress bar color (hex with optional alpha, or a theme color reference such as theme:primary)",
|
|
738
739
|
"title": "Filter progress bar color schema",
|
|
739
740
|
"type": "string",
|
|
740
|
-
"pattern": "
|
|
741
|
+
"pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
|
|
741
742
|
}
|
|
742
743
|
```
|
|
743
744
|
|
|
@@ -1077,6 +1078,7 @@ Set the format type used by a measure
|
|
|
1077
1078
|
"abbreviationNoDecimal",
|
|
1078
1079
|
"abbreviation1Decimal",
|
|
1079
1080
|
"abbreviation2Decimal",
|
|
1081
|
+
"abbreviationCompact",
|
|
1080
1082
|
"percentageNoDecimal",
|
|
1081
1083
|
"percentage1Decimal",
|
|
1082
1084
|
"percentage2Decimal",
|