@astrato-io/visualizations 0.6.4 → 0.6.5
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 +0 -0
- package/THIRD_PARTY_NOTICES.md +94 -4
- package/chunks/ClickAwayListener-BbeNMAvj.js +52 -0
- package/chunks/{LinearProgress-CUZ0D8_t.js → LinearProgress-B1FeWaen.js} +54 -54
- package/chunks/app-filter-bar.compiler-BGJ7HAbr.js +64 -0
- package/chunks/bar.compiler-CT0ZbQKc.js +374 -0
- package/chunks/{src-Cum_2NLV.js → builder-B6dWSIdD.js} +5779 -5635
- package/chunks/{coloring-C16AUZEi.js → coloring-B1XAfg6b.js} +234 -233
- package/chunks/{src-BC7cGcJ-.js → definitions-D3OVqmXl.js} +438 -360
- package/chunks/{escobar-BGqT1EsE.js → escobar-eDjtGpkC.js} +4645 -4619
- package/chunks/filter.compiler-DBsyRBJt.js +70 -0
- package/chunks/{filtering-Yq4DEa0t.js → filtering-tqjAyJH5.js} +432 -313
- package/chunks/{grouping-type-BX_9Ix5q.js → grouping-type-On4s9Thj.js} +1 -1
- package/chunks/handlers-VTBfIZYZ.js +13072 -0
- package/chunks/isEqual-BDxAhUo8.js +7514 -0
- package/chunks/line.compiler-CzdM5Ld0.js +198 -0
- package/chunks/{metadata-CPXdYoln.js → metadata-BGElBy5Z.js} +1 -1
- package/chunks/number.compiler-G-R7y16P.js +53 -0
- package/chunks/{src-C0LgoUWY.js → operations-CTNUX6Sy.js} +9576 -9432
- package/chunks/{range-DrzdfBX4.js → range-CiwTbMig.js} +2 -2
- package/chunks/{registry-CExpGJ1N.js → registry-CsQQzukD.js} +153 -153
- package/chunks/{requirements-DNhuShLS.js → requirements-DYjZCFyf.js} +1 -1
- package/chunks/{shared-CKDL4hx9.js → shared-CBvcC5YV.js} +460 -413
- package/chunks/{standalone-D5vnf-9y.js → standalone-0M4HlmDW2.js} +823 -822
- package/chunks/standalone-0ashe9w1.js +411 -0
- package/chunks/{standalone-C85u7U6I.js → standalone-B7jax8wa.js} +93 -94
- package/chunks/standalone-BK0VYU-l.js +463 -0
- package/chunks/{standalone-BDCwI6Hn.js → standalone-BMIbT1b2.js} +815 -815
- package/chunks/standalone-BZV5vOwA.js +6 -0
- package/chunks/standalone-BhDrWj4p.js +1980 -0
- package/chunks/{standalone-CNyNHKVx.js → standalone-BtSHCp2U2.js} +97 -98
- package/chunks/{standalone-CDQnr6qT.js → standalone-BvaKdky9.js} +95 -96
- package/chunks/standalone-BwtM31-f.js +2 -0
- package/chunks/{standalone-CY57qwZ-.js → standalone-C3gg736V.js} +153 -153
- package/chunks/{standalone-DFPva_ku.js → standalone-CC1VUjO32.js} +60 -60
- package/chunks/{standalone-CCNtaJ7s.js → standalone-C_rYnZ0N.js} +41 -41
- package/chunks/{standalone-CZynjFG7.js → standalone-CoLrAxRV.js} +3701 -3482
- package/chunks/{standalone-jiz0L2Dg.js → standalone-DC-aUgXC.js} +104 -104
- package/chunks/standalone-DCtRoTWg.js +675 -0
- package/chunks/standalone-DUDFTBqL.js +833 -0
- package/chunks/standalone-DhZkX9Td.js +2 -0
- package/chunks/{standalone-Dx3MLlrO.js → standalone-DtLElfuM.js} +141 -141
- package/chunks/{standalone-BmfMt74U.js → standalone-G9Q4Uczu.js} +192 -192
- package/chunks/{standalone-BH5NqDwp.js → standalone-JuLF-OoH.js} +390 -391
- package/chunks/standalone-_DeX21JJ.js +383 -0
- package/chunks/{standalone-lBm9hQ-q.js → standalone-gFhKZh8m.js} +34 -34
- package/chunks/standalone-tDNy-SFH.js +281 -0
- package/chunks/{standalone-rJ45Zfl1.js → standalone-v1oxfU20.js} +10 -10
- package/chunks/{standalone-BYm1UjLr.js → standalone-vzBY6q0I2.js} +18 -18
- package/chunks/table.compiler-tb914oj3.js +222 -0
- package/chunks/{ui-D1HQNIBy.js → ui-DQWtv2iM.js} +13485 -3973
- package/chunks/{useFieldName-oqQ3bvnO.js → useFieldName-BvdcoJRl.js} +1 -1
- package/chunks/{utils-Ba9T0TqC.js → utils-Bg7K-t6K.js} +7306 -6024
- package/chunks/{src-DvX5LU9T.js → view-Bn83C8d9.js} +2555 -4831
- package/definitions.js +3 -3
- package/docs/operations/astrato-app-filter-bar.md +17 -17
- package/docs/operations/bar.md +989 -1071
- package/docs/operations/combo.md +717 -738
- package/docs/operations/date-picker.md +25 -25
- package/docs/operations/distribution-gauge.md +471 -607
- package/docs/operations/dot.md +787 -879
- package/docs/operations/filter.md +139 -163
- package/docs/operations/gauge.md +491 -627
- package/docs/operations/heatMap.md +834 -916
- package/docs/operations/histogram.md +166 -180
- package/docs/operations/iframe.md +5 -5
- package/docs/operations/image.md +16 -16
- package/docs/operations/index.md +12 -12
- package/docs/operations/line.md +811 -888
- package/docs/operations/number.md +470 -536
- package/docs/operations/pie.md +825 -958
- package/docs/operations/radar.md +599 -679
- package/docs/operations/sankey.md +462 -584
- package/docs/operations/scatter.md +823 -929
- package/docs/operations/shape.md +34 -34
- package/docs/operations/simpleTextObject.md +18 -25
- package/docs/operations/slider.md +33 -43
- package/docs/operations/table.md +1160 -1150
- package/docs/operations/tree.md +354 -361
- package/docs/operations/treemap.md +545 -637
- package/docs/operations/waterfall.md +369 -379
- package/docs/operations/word-cloud.md +512 -583
- package/getters.js +3 -3
- package/index.js +51 -51
- package/metadata.js +3 -3
- package/operations.js +7 -7
- package/package.json +80 -86
- package/src/definitions/index.d.ts +2 -2
- package/src/definitions/{shared/lib → model/definitions}/available-fields.d.ts +0 -1
- package/src/definitions/{shared/lib/compilers/index.d.ts → model/definitions/compilers/compile.d.ts} +1 -1
- package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1341 -0
- package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
- package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
- package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
- package/src/definitions/model/definitions/index.d.ts +23 -0
- package/src/definitions/{shared/lib → model/definitions}/registry/compile.d.ts +1 -1
- package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
- package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/broad-chart.schema.d.ts +1 -1
- package/src/definitions/{shared/lib → model/definitions}/schemas/common.schema.d.ts +0 -1
- package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/object.schema.d.ts +6 -6
- package/src/definitions/{shared/lib → model/definitions}/types/definition.types.d.ts +1 -1
- package/src/definitions/model/definitions/types/index.d.ts +3 -0
- package/src/definitions/{shared/lib/registry → model/definitions}/validation.d.ts +1 -1
- package/chunks/Radio-Ciu-F4CU.js +0 -957
- package/chunks/ToggleButton-BCJc3Jlc.js +0 -153
- package/chunks/_baseFlatten-DPXPOrea.js +0 -7076
- package/chunks/app-filter-bar.compiler-j_CVoWTa.js +0 -55
- package/chunks/bar.compiler-oqaPzIut.js +0 -370
- package/chunks/data-item-resolution-1lvYB5ln.js +0 -53
- package/chunks/event-bus-KiSiCJrC.js +0 -2683
- package/chunks/filter.compiler-CuLtc_02.js +0 -60
- package/chunks/gauge-target-type-BkKXAqkX.js +0 -4
- package/chunks/interfaces-VUY4_yVO.js +0 -8742
- package/chunks/line-settings-DfYTUyPz.js +0 -4
- package/chunks/line.compiler-BpA_6Tc7.js +0 -188
- package/chunks/number.compiler-DbkWcG4S.js +0 -44
- package/chunks/pie-uv42Eqal.js +0 -10
- package/chunks/src-Dun_jXtz.js +0 -10295
- package/chunks/standalone-87YV_m9n.js +0 -687
- package/chunks/standalone-BLVAWLNJ.js +0 -385
- package/chunks/standalone-BPomtAVs.js +0 -2
- package/chunks/standalone-BXyBcUOQ.js +0 -2
- package/chunks/standalone-BllF4rDp.js +0 -383
- package/chunks/standalone-BqWyrnZI.js +0 -281
- package/chunks/standalone-DQxxNwF8.js +0 -675
- package/chunks/standalone-DS9T0FZ-.js +0 -830
- package/chunks/standalone-DzixzZAL.js +0 -411
- package/chunks/standalone-QJ1kKMnO.js +0 -6
- package/chunks/table.compiler-BrXkm4Fz.js +0 -213
- package/chunks/toInteger-DVZr-D1j.js +0 -11
- package/chunks/treemap-x_zmJoG7.js +0 -23
- package/chunks/types-dVVCsDWD.js +0 -4
- package/chunks/view-CLqWMV7Z.js +0 -156
- package/src/definitions/shared/index.d.ts +0 -5
- package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +0 -587
- package/src/definitions/shared/lib/registry/index.d.ts +0 -3
- package/src/definitions/shared/lib/schemas/index.d.ts +0 -9
- package/src/definitions/shared/lib/types/index.d.ts +0 -3
- package/src/definitions/{shared/lib → model/definitions}/schemas/app-filter-bar.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/bar.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/filter.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/line.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/number.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/table.schema.d.ts +4 -4
- /package/src/definitions/{shared/lib → model/definitions}/types/compilation.types.d.ts +0 -0
- /package/src/definitions/{shared/lib → model/definitions}/types/descriptor.types.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `filter` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.6.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.6.5`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -55,12 +55,11 @@ Add one primary dimension to the filter. Only the filter-dimension role is suppo
|
|
|
55
55
|
```json
|
|
56
56
|
{
|
|
57
57
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
58
|
-
"title": "Add filter dimension schema",
|
|
59
58
|
"type": "object",
|
|
60
59
|
"properties": {
|
|
61
60
|
"key": {
|
|
62
|
-
"
|
|
63
|
-
"
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\""
|
|
64
63
|
},
|
|
65
64
|
"role": {
|
|
66
65
|
"type": "string",
|
|
@@ -68,7 +67,8 @@ Add one primary dimension to the filter. Only the filter-dimension role is suppo
|
|
|
68
67
|
}
|
|
69
68
|
},
|
|
70
69
|
"required": ["key"],
|
|
71
|
-
"additionalProperties": false
|
|
70
|
+
"additionalProperties": false,
|
|
71
|
+
"title": "Add filter dimension schema"
|
|
72
72
|
}
|
|
73
73
|
```
|
|
74
74
|
|
|
@@ -83,23 +83,22 @@ Add a measure to display additional values in the filter
|
|
|
83
83
|
```json
|
|
84
84
|
{
|
|
85
85
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
86
|
-
"
|
|
87
|
-
"anyOf": [
|
|
86
|
+
"oneOf": [
|
|
88
87
|
{
|
|
89
88
|
"type": "object",
|
|
90
89
|
"properties": {
|
|
91
90
|
"sourceKind": {
|
|
92
|
-
"description": "Raw database field from available data `fields`.",
|
|
93
91
|
"type": "string",
|
|
94
|
-
"const": "field"
|
|
92
|
+
"const": "field",
|
|
93
|
+
"description": "Raw database field from available data `fields`."
|
|
95
94
|
},
|
|
96
95
|
"key": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
|
|
99
98
|
},
|
|
100
99
|
"aggregation": {
|
|
101
|
-
"
|
|
102
|
-
"
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "Required for raw database fields. Use one of the aggregation names returned for that field."
|
|
103
102
|
}
|
|
104
103
|
},
|
|
105
104
|
"required": ["sourceKind", "key", "aggregation"],
|
|
@@ -109,13 +108,13 @@ Add a measure to display additional values in the filter
|
|
|
109
108
|
"type": "object",
|
|
110
109
|
"properties": {
|
|
111
110
|
"sourceKind": {
|
|
112
|
-
"description": "Predefined/user-defined measure from available data `measures`.",
|
|
113
111
|
"type": "string",
|
|
114
|
-
"const": "measure"
|
|
112
|
+
"const": "measure",
|
|
113
|
+
"description": "Predefined/user-defined measure from available data `measures`."
|
|
115
114
|
},
|
|
116
115
|
"key": {
|
|
117
|
-
"
|
|
118
|
-
"
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
|
|
119
118
|
}
|
|
120
119
|
},
|
|
121
120
|
"required": ["sourceKind", "key"],
|
|
@@ -125,19 +124,20 @@ Add a measure to display additional values in the filter
|
|
|
125
124
|
"type": "object",
|
|
126
125
|
"properties": {
|
|
127
126
|
"sourceKind": {
|
|
128
|
-
"description": "Predefined calculation from available data `measures`.",
|
|
129
127
|
"type": "string",
|
|
130
|
-
"const": "calculation"
|
|
128
|
+
"const": "calculation",
|
|
129
|
+
"description": "Predefined calculation from available data `measures`."
|
|
131
130
|
},
|
|
132
131
|
"key": {
|
|
133
|
-
"
|
|
134
|
-
"
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
|
|
135
134
|
}
|
|
136
135
|
},
|
|
137
136
|
"required": ["sourceKind", "key"],
|
|
138
137
|
"additionalProperties": false
|
|
139
138
|
}
|
|
140
|
-
]
|
|
139
|
+
],
|
|
140
|
+
"title": "Add filter measure schema"
|
|
141
141
|
}
|
|
142
142
|
```
|
|
143
143
|
|
|
@@ -152,25 +152,25 @@ Change how a filter measure is aggregated
|
|
|
152
152
|
```json
|
|
153
153
|
{
|
|
154
154
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
155
|
-
"title": "Change filter measure aggregation schema",
|
|
156
155
|
"type": "object",
|
|
157
156
|
"properties": {
|
|
158
157
|
"dataItemInternalKey": {
|
|
159
|
-
"
|
|
160
|
-
"
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
161
160
|
},
|
|
162
161
|
"dataItemUniqueSignature": {
|
|
163
|
-
"
|
|
164
|
-
"
|
|
162
|
+
"type": "string",
|
|
163
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
165
164
|
},
|
|
166
165
|
"aggregation": {
|
|
167
|
-
"description": "Aggregation function to be used for the measure",
|
|
168
166
|
"type": "string",
|
|
169
|
-
"minLength": 1
|
|
167
|
+
"minLength": 1,
|
|
168
|
+
"description": "Aggregation function to be used for the measure"
|
|
170
169
|
}
|
|
171
170
|
},
|
|
172
171
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "aggregation"],
|
|
173
|
-
"additionalProperties": false
|
|
172
|
+
"additionalProperties": false,
|
|
173
|
+
"title": "Change filter measure aggregation schema"
|
|
174
174
|
}
|
|
175
175
|
```
|
|
176
176
|
|
|
@@ -185,20 +185,20 @@ Remove a primary dimension from the filter
|
|
|
185
185
|
```json
|
|
186
186
|
{
|
|
187
187
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
188
|
-
"title": "Remove filter dimension schema",
|
|
189
188
|
"type": "object",
|
|
190
189
|
"properties": {
|
|
191
190
|
"dataItemInternalKey": {
|
|
192
|
-
"
|
|
193
|
-
"
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "Internal key of the data item of the dimension to be removed"
|
|
194
193
|
},
|
|
195
194
|
"dataItemUniqueSignature": {
|
|
196
|
-
"
|
|
197
|
-
"
|
|
195
|
+
"type": "string",
|
|
196
|
+
"description": "Unique signature of the data item of the dimension to be removed"
|
|
198
197
|
}
|
|
199
198
|
},
|
|
200
199
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
201
|
-
"additionalProperties": false
|
|
200
|
+
"additionalProperties": false,
|
|
201
|
+
"title": "Remove filter dimension schema"
|
|
202
202
|
}
|
|
203
203
|
```
|
|
204
204
|
|
|
@@ -213,20 +213,20 @@ Remove a measure from the filter
|
|
|
213
213
|
```json
|
|
214
214
|
{
|
|
215
215
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
216
|
-
"title": "Remove filter measure schema",
|
|
217
216
|
"type": "object",
|
|
218
217
|
"properties": {
|
|
219
218
|
"dataItemInternalKey": {
|
|
220
|
-
"
|
|
221
|
-
"
|
|
219
|
+
"type": "string",
|
|
220
|
+
"description": "Internal key of the data item of the measure to be removed"
|
|
222
221
|
},
|
|
223
222
|
"dataItemUniqueSignature": {
|
|
224
|
-
"
|
|
225
|
-
"
|
|
223
|
+
"type": "string",
|
|
224
|
+
"description": "Unique signature of the data item of the measure to be removed"
|
|
226
225
|
}
|
|
227
226
|
},
|
|
228
227
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
229
|
-
"additionalProperties": false
|
|
228
|
+
"additionalProperties": false,
|
|
229
|
+
"title": "Remove filter measure schema"
|
|
230
230
|
}
|
|
231
231
|
```
|
|
232
232
|
|
|
@@ -241,16 +241,15 @@ Set the custom display format string for a dimension. This changes label formatt
|
|
|
241
241
|
```json
|
|
242
242
|
{
|
|
243
243
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
244
|
-
"title": "Dimension format string schema",
|
|
245
244
|
"type": "object",
|
|
246
245
|
"properties": {
|
|
247
246
|
"dataItemInternalKey": {
|
|
248
|
-
"
|
|
249
|
-
"
|
|
247
|
+
"type": "string",
|
|
248
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
250
249
|
},
|
|
251
250
|
"dataItemUniqueSignature": {
|
|
252
|
-
"
|
|
253
|
-
"
|
|
251
|
+
"type": "string",
|
|
252
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
254
253
|
},
|
|
255
254
|
"formatString": {
|
|
256
255
|
"anyOf": [
|
|
@@ -275,7 +274,8 @@ Set the custom display format string for a dimension. This changes label formatt
|
|
|
275
274
|
}
|
|
276
275
|
},
|
|
277
276
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
278
|
-
"additionalProperties": false
|
|
277
|
+
"additionalProperties": false,
|
|
278
|
+
"title": "Dimension format string schema"
|
|
279
279
|
}
|
|
280
280
|
```
|
|
281
281
|
|
|
@@ -290,16 +290,15 @@ Set the display format type used by a dimension. This changes label formatting o
|
|
|
290
290
|
```json
|
|
291
291
|
{
|
|
292
292
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
293
|
-
"title": "Dimension format type schema",
|
|
294
293
|
"type": "object",
|
|
295
294
|
"properties": {
|
|
296
295
|
"dataItemInternalKey": {
|
|
297
|
-
"
|
|
298
|
-
"
|
|
296
|
+
"type": "string",
|
|
297
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
299
298
|
},
|
|
300
299
|
"dataItemUniqueSignature": {
|
|
301
|
-
"
|
|
302
|
-
"
|
|
300
|
+
"type": "string",
|
|
301
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
303
302
|
},
|
|
304
303
|
"formatType": {
|
|
305
304
|
"anyOf": [
|
|
@@ -394,7 +393,8 @@ Set the display format type used by a dimension. This changes label formatting o
|
|
|
394
393
|
}
|
|
395
394
|
},
|
|
396
395
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
|
|
397
|
-
"additionalProperties": false
|
|
396
|
+
"additionalProperties": false,
|
|
397
|
+
"title": "Dimension format type schema"
|
|
398
398
|
}
|
|
399
399
|
```
|
|
400
400
|
|
|
@@ -409,18 +409,17 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
409
409
|
```json
|
|
410
410
|
{
|
|
411
411
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
412
|
-
"
|
|
413
|
-
"anyOf": [
|
|
412
|
+
"oneOf": [
|
|
414
413
|
{
|
|
415
414
|
"type": "object",
|
|
416
415
|
"properties": {
|
|
417
416
|
"dataItemInternalKey": {
|
|
418
|
-
"
|
|
419
|
-
"
|
|
417
|
+
"type": "string",
|
|
418
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
420
419
|
},
|
|
421
420
|
"dataItemUniqueSignature": {
|
|
422
|
-
"
|
|
423
|
-
"
|
|
421
|
+
"type": "string",
|
|
422
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
424
423
|
},
|
|
425
424
|
"mode": {
|
|
426
425
|
"type": "string",
|
|
@@ -434,12 +433,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
434
433
|
"type": "object",
|
|
435
434
|
"properties": {
|
|
436
435
|
"dataItemInternalKey": {
|
|
437
|
-
"
|
|
438
|
-
"
|
|
436
|
+
"type": "string",
|
|
437
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
439
438
|
},
|
|
440
439
|
"dataItemUniqueSignature": {
|
|
441
|
-
"
|
|
442
|
-
"
|
|
440
|
+
"type": "string",
|
|
441
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
443
442
|
},
|
|
444
443
|
"mode": {
|
|
445
444
|
"type": "string",
|
|
@@ -470,12 +469,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
470
469
|
"type": "object",
|
|
471
470
|
"properties": {
|
|
472
471
|
"dataItemInternalKey": {
|
|
473
|
-
"
|
|
474
|
-
"
|
|
472
|
+
"type": "string",
|
|
473
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
475
474
|
},
|
|
476
475
|
"dataItemUniqueSignature": {
|
|
477
|
-
"
|
|
478
|
-
"
|
|
476
|
+
"type": "string",
|
|
477
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
479
478
|
},
|
|
480
479
|
"mode": {
|
|
481
480
|
"type": "string",
|
|
@@ -501,7 +500,8 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
501
500
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "datePart"],
|
|
502
501
|
"additionalProperties": false
|
|
503
502
|
}
|
|
504
|
-
]
|
|
503
|
+
],
|
|
504
|
+
"title": "Dimension temporal grouping schema"
|
|
505
505
|
}
|
|
506
506
|
```
|
|
507
507
|
|
|
@@ -516,8 +516,6 @@ Set the filter background color
|
|
|
516
516
|
```json
|
|
517
517
|
{
|
|
518
518
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
519
|
-
"description": "Background color (hex, with optional alpha)",
|
|
520
|
-
"title": "Filter background color schema",
|
|
521
519
|
"anyOf": [
|
|
522
520
|
{
|
|
523
521
|
"type": "string",
|
|
@@ -526,7 +524,9 @@ Set the filter background color
|
|
|
526
524
|
{
|
|
527
525
|
"type": "null"
|
|
528
526
|
}
|
|
529
|
-
]
|
|
527
|
+
],
|
|
528
|
+
"description": "Background color (hex, with optional alpha)",
|
|
529
|
+
"title": "Filter background color schema"
|
|
530
530
|
}
|
|
531
531
|
```
|
|
532
532
|
|
|
@@ -632,19 +632,11 @@ Update filter font family, size, color, or style
|
|
|
632
632
|
```json
|
|
633
633
|
{
|
|
634
634
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
635
|
-
"title": "Filter font style schema",
|
|
636
635
|
"type": "object",
|
|
637
636
|
"properties": {
|
|
638
637
|
"weight": {
|
|
639
638
|
"description": "Font weight",
|
|
640
|
-
"
|
|
641
|
-
{
|
|
642
|
-
"type": "number"
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
"type": "null"
|
|
646
|
-
}
|
|
647
|
-
]
|
|
639
|
+
"type": ["number", "null"]
|
|
648
640
|
},
|
|
649
641
|
"bold": {
|
|
650
642
|
"description": "Bold font. Should take precedence over weight",
|
|
@@ -660,20 +652,12 @@ Update filter font family, size, color, or style
|
|
|
660
652
|
"type": "boolean"
|
|
661
653
|
},
|
|
662
654
|
"fontFamily": {
|
|
663
|
-
"
|
|
664
|
-
{
|
|
665
|
-
"type": "string"
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
"type": "null"
|
|
669
|
-
}
|
|
670
|
-
]
|
|
655
|
+
"type": ["string", "null"]
|
|
671
656
|
},
|
|
672
657
|
"fontSize": {
|
|
673
658
|
"type": "number"
|
|
674
659
|
},
|
|
675
660
|
"fontColor": {
|
|
676
|
-
"description": "Font color (hex, with optional alpha)",
|
|
677
661
|
"anyOf": [
|
|
678
662
|
{
|
|
679
663
|
"type": "string",
|
|
@@ -682,10 +666,12 @@ Update filter font family, size, color, or style
|
|
|
682
666
|
{
|
|
683
667
|
"type": "null"
|
|
684
668
|
}
|
|
685
|
-
]
|
|
669
|
+
],
|
|
670
|
+
"description": "Font color (hex, with optional alpha)"
|
|
686
671
|
}
|
|
687
672
|
},
|
|
688
|
-
"additionalProperties": false
|
|
673
|
+
"additionalProperties": false,
|
|
674
|
+
"title": "Filter font style schema"
|
|
689
675
|
}
|
|
690
676
|
```
|
|
691
677
|
|
|
@@ -700,23 +686,23 @@ Set the label shown for a measure value in the filter
|
|
|
700
686
|
```json
|
|
701
687
|
{
|
|
702
688
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
703
|
-
"title": "Filter measure value label schema",
|
|
704
689
|
"type": "object",
|
|
705
690
|
"properties": {
|
|
706
691
|
"dataItemInternalKey": {
|
|
707
|
-
"
|
|
708
|
-
"
|
|
692
|
+
"type": "string",
|
|
693
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
709
694
|
},
|
|
710
695
|
"dataItemUniqueSignature": {
|
|
711
|
-
"
|
|
712
|
-
"
|
|
696
|
+
"type": "string",
|
|
697
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
713
698
|
},
|
|
714
699
|
"filterValueLabel": {
|
|
715
700
|
"type": "string"
|
|
716
701
|
}
|
|
717
702
|
},
|
|
718
703
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
719
|
-
"additionalProperties": false
|
|
704
|
+
"additionalProperties": false,
|
|
705
|
+
"title": "Filter measure value label schema"
|
|
720
706
|
}
|
|
721
707
|
```
|
|
722
708
|
|
|
@@ -731,9 +717,9 @@ Set the filter display mode. Supported modes are dropdown and listbox.
|
|
|
731
717
|
```json
|
|
732
718
|
{
|
|
733
719
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
734
|
-
"title": "Filter mode schema",
|
|
735
720
|
"type": "string",
|
|
736
|
-
"enum": ["dropdown", "listbox"]
|
|
721
|
+
"enum": ["dropdown", "listbox"],
|
|
722
|
+
"title": "Filter mode schema"
|
|
737
723
|
}
|
|
738
724
|
```
|
|
739
725
|
|
|
@@ -851,10 +837,10 @@ Set the filter source
|
|
|
851
837
|
```json
|
|
852
838
|
{
|
|
853
839
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
854
|
-
"description": "Filter source - manual or engine",
|
|
855
|
-
"title": "Filter source schema",
|
|
856
840
|
"type": "string",
|
|
857
|
-
"enum": ["manual", "engine"]
|
|
841
|
+
"enum": ["manual", "engine"],
|
|
842
|
+
"description": "Filter source - manual or engine",
|
|
843
|
+
"title": "Filter source schema"
|
|
858
844
|
}
|
|
859
845
|
```
|
|
860
846
|
|
|
@@ -869,23 +855,23 @@ Set the currency symbol used by a measure formatter
|
|
|
869
855
|
```json
|
|
870
856
|
{
|
|
871
857
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
872
|
-
"title": "Measure currency schema",
|
|
873
858
|
"type": "object",
|
|
874
859
|
"properties": {
|
|
875
860
|
"dataItemInternalKey": {
|
|
876
|
-
"
|
|
877
|
-
"
|
|
861
|
+
"type": "string",
|
|
862
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
878
863
|
},
|
|
879
864
|
"dataItemUniqueSignature": {
|
|
880
|
-
"
|
|
881
|
-
"
|
|
865
|
+
"type": "string",
|
|
866
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
882
867
|
},
|
|
883
868
|
"currency": {
|
|
884
869
|
"type": "string"
|
|
885
870
|
}
|
|
886
871
|
},
|
|
887
872
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
888
|
-
"additionalProperties": false
|
|
873
|
+
"additionalProperties": false,
|
|
874
|
+
"title": "Measure currency schema"
|
|
889
875
|
}
|
|
890
876
|
```
|
|
891
877
|
|
|
@@ -900,23 +886,23 @@ Set whether measure currency symbol is prefixed
|
|
|
900
886
|
```json
|
|
901
887
|
{
|
|
902
888
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
903
|
-
"title": "Measure currency is prefix schema",
|
|
904
889
|
"type": "object",
|
|
905
890
|
"properties": {
|
|
906
891
|
"dataItemInternalKey": {
|
|
907
|
-
"
|
|
908
|
-
"
|
|
892
|
+
"type": "string",
|
|
893
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
909
894
|
},
|
|
910
895
|
"dataItemUniqueSignature": {
|
|
911
|
-
"
|
|
912
|
-
"
|
|
896
|
+
"type": "string",
|
|
897
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
913
898
|
},
|
|
914
899
|
"currencyIsPrefix": {
|
|
915
900
|
"type": "boolean"
|
|
916
901
|
}
|
|
917
902
|
},
|
|
918
903
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
919
|
-
"additionalProperties": false
|
|
904
|
+
"additionalProperties": false,
|
|
905
|
+
"title": "Measure currency is prefix schema"
|
|
920
906
|
}
|
|
921
907
|
```
|
|
922
908
|
|
|
@@ -931,16 +917,15 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
931
917
|
```json
|
|
932
918
|
{
|
|
933
919
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
934
|
-
"title": "Set measure defined parameter schema",
|
|
935
920
|
"type": "object",
|
|
936
921
|
"properties": {
|
|
937
922
|
"dataItemInternalKey": {
|
|
938
|
-
"
|
|
939
|
-
"
|
|
923
|
+
"type": "string",
|
|
924
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
940
925
|
},
|
|
941
926
|
"dataItemUniqueSignature": {
|
|
942
|
-
"
|
|
943
|
-
"
|
|
927
|
+
"type": "string",
|
|
928
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
944
929
|
},
|
|
945
930
|
"collectionKey": {
|
|
946
931
|
"description": "Measure collection to update. Defaults to primary measures.",
|
|
@@ -948,13 +933,12 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
948
933
|
"enum": ["measures", "supportingMeasures"]
|
|
949
934
|
},
|
|
950
935
|
"parameterName": {
|
|
951
|
-
"description": "Exact name of a Defined parameter exposed by the measure",
|
|
952
936
|
"type": "string",
|
|
953
|
-
"minLength": 1
|
|
937
|
+
"minLength": 1,
|
|
938
|
+
"description": "Exact name of a Defined parameter exposed by the measure"
|
|
954
939
|
},
|
|
955
940
|
"value": {
|
|
956
|
-
"
|
|
957
|
-
"anyOf": [
|
|
941
|
+
"oneOf": [
|
|
958
942
|
{
|
|
959
943
|
"type": "object",
|
|
960
944
|
"properties": {
|
|
@@ -974,17 +958,7 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
974
958
|
"const": "static"
|
|
975
959
|
},
|
|
976
960
|
"value": {
|
|
977
|
-
"
|
|
978
|
-
{
|
|
979
|
-
"type": "string"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"type": "number"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"type": "boolean"
|
|
986
|
-
}
|
|
987
|
-
]
|
|
961
|
+
"type": ["string", "number", "boolean"]
|
|
988
962
|
}
|
|
989
963
|
},
|
|
990
964
|
"required": ["type", "value"],
|
|
@@ -998,19 +972,21 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
998
972
|
"const": "variable"
|
|
999
973
|
},
|
|
1000
974
|
"variableName": {
|
|
1001
|
-
"description": "Exact name of an existing compatible workbook variable",
|
|
1002
975
|
"type": "string",
|
|
1003
|
-
"minLength": 1
|
|
976
|
+
"minLength": 1,
|
|
977
|
+
"description": "Exact name of an existing compatible workbook variable"
|
|
1004
978
|
}
|
|
1005
979
|
},
|
|
1006
980
|
"required": ["type", "variableName"],
|
|
1007
981
|
"additionalProperties": false
|
|
1008
982
|
}
|
|
1009
|
-
]
|
|
983
|
+
],
|
|
984
|
+
"description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable"
|
|
1010
985
|
}
|
|
1011
986
|
},
|
|
1012
987
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
|
|
1013
|
-
"additionalProperties": false
|
|
988
|
+
"additionalProperties": false,
|
|
989
|
+
"title": "Set measure defined parameter schema"
|
|
1014
990
|
}
|
|
1015
991
|
```
|
|
1016
992
|
|
|
@@ -1025,16 +1001,15 @@ Set the custom format string for a measure
|
|
|
1025
1001
|
```json
|
|
1026
1002
|
{
|
|
1027
1003
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1028
|
-
"title": "Measure format string schema",
|
|
1029
1004
|
"type": "object",
|
|
1030
1005
|
"properties": {
|
|
1031
1006
|
"dataItemInternalKey": {
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
1007
|
+
"type": "string",
|
|
1008
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1034
1009
|
},
|
|
1035
1010
|
"dataItemUniqueSignature": {
|
|
1036
|
-
"
|
|
1037
|
-
"
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1038
1013
|
},
|
|
1039
1014
|
"formatString": {
|
|
1040
1015
|
"anyOf": [
|
|
@@ -1059,7 +1034,8 @@ Set the custom format string for a measure
|
|
|
1059
1034
|
}
|
|
1060
1035
|
},
|
|
1061
1036
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1062
|
-
"additionalProperties": false
|
|
1037
|
+
"additionalProperties": false,
|
|
1038
|
+
"title": "Measure format string schema"
|
|
1063
1039
|
}
|
|
1064
1040
|
```
|
|
1065
1041
|
|
|
@@ -1074,16 +1050,15 @@ Set the format type used by a measure
|
|
|
1074
1050
|
```json
|
|
1075
1051
|
{
|
|
1076
1052
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1077
|
-
"title": "Measure format type schema",
|
|
1078
1053
|
"type": "object",
|
|
1079
1054
|
"properties": {
|
|
1080
1055
|
"dataItemInternalKey": {
|
|
1081
|
-
"
|
|
1082
|
-
"
|
|
1056
|
+
"type": "string",
|
|
1057
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1083
1058
|
},
|
|
1084
1059
|
"dataItemUniqueSignature": {
|
|
1085
|
-
"
|
|
1086
|
-
"
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1087
1062
|
},
|
|
1088
1063
|
"formatType": {
|
|
1089
1064
|
"anyOf": [
|
|
@@ -1178,7 +1153,8 @@ Set the format type used by a measure
|
|
|
1178
1153
|
}
|
|
1179
1154
|
},
|
|
1180
1155
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
|
|
1181
|
-
"additionalProperties": false
|
|
1156
|
+
"additionalProperties": false,
|
|
1157
|
+
"title": "Measure format type schema"
|
|
1182
1158
|
}
|
|
1183
1159
|
```
|
|
1184
1160
|
|
|
@@ -1193,16 +1169,15 @@ Set how negative values are displayed for a measure formatter
|
|
|
1193
1169
|
```json
|
|
1194
1170
|
{
|
|
1195
1171
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1196
|
-
"title": "Measure negative type schema",
|
|
1197
1172
|
"type": "object",
|
|
1198
1173
|
"properties": {
|
|
1199
1174
|
"dataItemInternalKey": {
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1175
|
+
"type": "string",
|
|
1176
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1202
1177
|
},
|
|
1203
1178
|
"dataItemUniqueSignature": {
|
|
1204
|
-
"
|
|
1205
|
-
"
|
|
1179
|
+
"type": "string",
|
|
1180
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1206
1181
|
},
|
|
1207
1182
|
"negativeType": {
|
|
1208
1183
|
"type": "string",
|
|
@@ -1210,7 +1185,8 @@ Set how negative values are displayed for a measure formatter
|
|
|
1210
1185
|
}
|
|
1211
1186
|
},
|
|
1212
1187
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1213
|
-
"additionalProperties": false
|
|
1188
|
+
"additionalProperties": false,
|
|
1189
|
+
"title": "Measure negative type schema"
|
|
1214
1190
|
}
|
|
1215
1191
|
```
|
|
1216
1192
|
|
|
@@ -1225,7 +1201,6 @@ Set sorting direction for all matching sortable items by name
|
|
|
1225
1201
|
```json
|
|
1226
1202
|
{
|
|
1227
1203
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1228
|
-
"title": "Sorting direction by name schema",
|
|
1229
1204
|
"type": "object",
|
|
1230
1205
|
"properties": {
|
|
1231
1206
|
"name": {
|
|
@@ -1238,7 +1213,8 @@ Set sorting direction for all matching sortable items by name
|
|
|
1238
1213
|
}
|
|
1239
1214
|
},
|
|
1240
1215
|
"required": ["name", "sortDirection"],
|
|
1241
|
-
"additionalProperties": false
|
|
1216
|
+
"additionalProperties": false,
|
|
1217
|
+
"title": "Sorting direction by name schema"
|
|
1242
1218
|
}
|
|
1243
1219
|
```
|
|
1244
1220
|
|
|
@@ -1253,7 +1229,6 @@ Enable or disable sorting for all matching sortable items by name
|
|
|
1253
1229
|
```json
|
|
1254
1230
|
{
|
|
1255
1231
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1256
|
-
"title": "Sorting enabled by name schema",
|
|
1257
1232
|
"type": "object",
|
|
1258
1233
|
"properties": {
|
|
1259
1234
|
"name": {
|
|
@@ -1265,7 +1240,8 @@ Enable or disable sorting for all matching sortable items by name
|
|
|
1265
1240
|
}
|
|
1266
1241
|
},
|
|
1267
1242
|
"required": ["name"],
|
|
1268
|
-
"additionalProperties": false
|
|
1243
|
+
"additionalProperties": false,
|
|
1244
|
+
"title": "Sorting enabled by name schema"
|
|
1269
1245
|
}
|
|
1270
1246
|
```
|
|
1271
1247
|
|
|
@@ -1299,8 +1275,8 @@ Replace all static filters with a nested AND/OR filter group.
|
|
|
1299
1275
|
"type": "object",
|
|
1300
1276
|
"properties": {
|
|
1301
1277
|
"fieldKey": {
|
|
1302
|
-
"
|
|
1303
|
-
"
|
|
1278
|
+
"type": "string",
|
|
1279
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
1304
1280
|
},
|
|
1305
1281
|
"operator": {
|
|
1306
1282
|
"anyOf": [
|