@astrato-io/visualizations 0.8.0 → 0.9.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +307 -378
- package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
- package/chunks/CircularProgress-DFS-LQb7.js +765 -0
- package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
- package/chunks/LinearProgress-CjIQfkNA.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
- package/chunks/Title-CtFw1bVg.js +1804 -0
- package/chunks/ToggleButton-Br9HCPCv.js +150 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
- package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
- package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
- package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
- package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
- package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
- package/chunks/isFocusVisible-B1_z03UT.js +144 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
- package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
- package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
- package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
- package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
- package/chunks/react-dom-BwZT0N3F.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-CYpVh65U.js} +52 -52
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
- package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
- package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
- package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
- package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
- package/chunks/{standalone-vBnBS2YC.js → standalone-BDrQMxLi.js} +98 -98
- package/chunks/standalone-BMoJXGYe.js +2 -0
- package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
- package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
- package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
- package/chunks/standalone-CMJJIi9v.js +2 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
- package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
- package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
- package/chunks/standalone-C_Jd4gkj.js +6 -0
- package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
- package/chunks/standalone-CoQxJ6ov.js +3638 -0
- package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
- package/chunks/standalone-DBeXQrwH.js +468 -0
- package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
- package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
- package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
- package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
- package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
- package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
- package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
- package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-mWrD_uk_.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
- package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
- package/chunks/with-html-element-B0Clt4jY.js +15901 -0
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +1 -1
- package/docs/operations/combo.md +1 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +1 -1
- package/docs/operations/filter.md +1 -1
- package/docs/operations/gauge.md +1 -1
- package/docs/operations/heatMap.md +1 -1
- package/docs/operations/histogram.md +1 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +2 -2
- package/docs/operations/line.md +1 -1
- package/docs/operations/number.md +1 -1
- package/docs/operations/pie.md +1 -1
- package/docs/operations/radar.md +1 -1
- package/docs/operations/sankey.md +1 -1
- package/docs/operations/scatter.md +1 -1
- package/docs/operations/shape.md +1 -1
- package/docs/operations/simpleTextObject.md +1 -1
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +66 -1
- package/docs/operations/tree.md +1 -1
- package/docs/operations/treemap.md +1 -1
- package/docs/operations/waterfall.md +1 -1
- package/docs/operations/word-cloud.md +1 -1
- package/getters.js +2 -2
- package/index.js +74 -68
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +67 -66
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
- package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
- package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
- package/src/visualization-catalog.d.ts +26 -26
- package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
- package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
- package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
- package/chunks/Title-CO5dP1ma.js +0 -1691
- package/chunks/ToggleButton-KOBAimC1.js +0 -112
- package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-DT0wKji7.js +0 -6
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
- /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
|
@@ -52,83 +52,72 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
52
52
|
readonly presentation: {
|
|
53
53
|
readonly coloring: {
|
|
54
54
|
readonly overwrites: [{
|
|
55
|
-
readonly color:
|
|
56
|
-
readonly value:
|
|
55
|
+
readonly color: '#0F766E';
|
|
56
|
+
readonly value: 'Audi';
|
|
57
57
|
}, {
|
|
58
|
-
readonly color:
|
|
59
|
-
readonly operator:
|
|
58
|
+
readonly color: '#D97706';
|
|
59
|
+
readonly operator: 'inList';
|
|
60
60
|
readonly values: ["BMW", "Buick"];
|
|
61
61
|
}];
|
|
62
62
|
readonly rules: [{
|
|
63
|
-
readonly color:
|
|
64
|
-
readonly measure:
|
|
65
|
-
readonly operator:
|
|
63
|
+
readonly color: '#DC2626';
|
|
64
|
+
readonly measure: 'sales';
|
|
65
|
+
readonly operator: 'less';
|
|
66
66
|
readonly value: 20;
|
|
67
67
|
}];
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
readonly type:
|
|
70
|
+
readonly type: 'bar';
|
|
71
71
|
readonly version: 1;
|
|
72
72
|
};
|
|
73
|
-
readonly title:
|
|
73
|
+
readonly title: 'Colors bound to dimension values and a measure threshold';
|
|
74
74
|
}];
|
|
75
75
|
readonly documentation: {
|
|
76
76
|
readonly constraints: readonly ["Sorting and Top N refer to definition-local refs, not generated data-item IDs.", "Every dimension and measure must resolve to an available field with a compatible role.", "Set axis per measure to plot it against the primary or the secondary measure axis.", "presentation.axes.primaryMeasure.bands shades the plot between two primary measure axis values; start and end are measure values, and the bands replace any on the base vSpec.", string, "Set scale to log on a measure axis to draw it logarithmically, with gridlines at powers of ten. Zero and negative values are drawn at the floor of a log axis."];
|
|
77
77
|
readonly dataRequirements: readonly ["At least one dimension.", "At least one measure."];
|
|
78
|
-
readonly summary:
|
|
79
|
-
readonly title:
|
|
78
|
+
readonly summary: 'Categorical comparison chart with sorting, limiting, per-measure axes, labels, and orientation controls.';
|
|
79
|
+
readonly title: 'Bar chart';
|
|
80
80
|
};
|
|
81
81
|
readonly example: {
|
|
82
82
|
readonly data: {
|
|
83
83
|
readonly dimensions: [{
|
|
84
|
-
readonly showNullValues: false;
|
|
85
84
|
readonly fieldKey: string;
|
|
86
85
|
readonly ref: string;
|
|
86
|
+
readonly showNullValues: false;
|
|
87
87
|
}];
|
|
88
88
|
readonly measures: [{
|
|
89
|
-
readonly dataLabels: {
|
|
90
|
-
readonly placements: ["outside", "inside"];
|
|
91
|
-
readonly visible: true;
|
|
92
|
-
};
|
|
93
89
|
readonly aggregation: string;
|
|
94
90
|
readonly fieldKey: string;
|
|
95
91
|
readonly format: {
|
|
96
|
-
formatType:
|
|
97
|
-
negativeType:
|
|
92
|
+
formatType: 'number2Decimal';
|
|
93
|
+
negativeType: 'parenthesis';
|
|
98
94
|
};
|
|
99
95
|
readonly ref: string;
|
|
96
|
+
readonly dataLabels: {
|
|
97
|
+
readonly placements: ["outside", "inside"];
|
|
98
|
+
readonly visible: true;
|
|
99
|
+
};
|
|
100
100
|
}];
|
|
101
101
|
};
|
|
102
102
|
readonly filterGroup: {
|
|
103
103
|
filters: {
|
|
104
104
|
fieldKey: "[Cars].[Manufacturer]";
|
|
105
|
-
operator:
|
|
105
|
+
operator: 'inList';
|
|
106
106
|
values: string[];
|
|
107
107
|
}[];
|
|
108
|
-
operator:
|
|
108
|
+
operator: 'and';
|
|
109
109
|
};
|
|
110
110
|
readonly limiting: {
|
|
111
111
|
readonly queryLimit: 100;
|
|
112
112
|
readonly topN: {
|
|
113
|
-
readonly by:
|
|
113
|
+
readonly by: 'sales';
|
|
114
114
|
readonly count: 10;
|
|
115
|
-
readonly direction:
|
|
115
|
+
readonly direction: 'desc';
|
|
116
116
|
readonly showOthers: false;
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
119
|
readonly presentation: {
|
|
120
120
|
readonly axes: {
|
|
121
|
-
readonly primaryMeasure: {
|
|
122
|
-
readonly bands: [{
|
|
123
|
-
readonly color: "#E6E6E6";
|
|
124
|
-
readonly end: 150000;
|
|
125
|
-
readonly label: "Target range";
|
|
126
|
-
readonly start: 100000;
|
|
127
|
-
}];
|
|
128
|
-
readonly labelsVisible: boolean;
|
|
129
|
-
readonly title: string;
|
|
130
|
-
readonly titleVisible: boolean;
|
|
131
|
-
};
|
|
132
121
|
readonly dimension: {
|
|
133
122
|
labelsVisible: boolean;
|
|
134
123
|
title: string;
|
|
@@ -139,64 +128,75 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
139
128
|
title: string;
|
|
140
129
|
titleVisible: boolean;
|
|
141
130
|
};
|
|
131
|
+
readonly primaryMeasure: {
|
|
132
|
+
readonly labelsVisible: boolean;
|
|
133
|
+
readonly title: string;
|
|
134
|
+
readonly titleVisible: boolean;
|
|
135
|
+
readonly bands: [{
|
|
136
|
+
readonly color: '#E6E6E6';
|
|
137
|
+
readonly end: 150000;
|
|
138
|
+
readonly label: 'Target range';
|
|
139
|
+
readonly start: 100000;
|
|
140
|
+
}];
|
|
141
|
+
};
|
|
142
142
|
};
|
|
143
143
|
readonly legend: {
|
|
144
|
-
position:
|
|
144
|
+
position: 'right';
|
|
145
145
|
title: string;
|
|
146
146
|
visible: boolean;
|
|
147
147
|
};
|
|
148
|
-
readonly orientation:
|
|
148
|
+
readonly orientation: 'vertical';
|
|
149
149
|
};
|
|
150
150
|
readonly sorting: [{
|
|
151
|
-
readonly by:
|
|
152
|
-
readonly direction:
|
|
151
|
+
readonly by: 'sales';
|
|
152
|
+
readonly direction: 'desc';
|
|
153
153
|
}];
|
|
154
|
-
readonly type:
|
|
154
|
+
readonly type: 'bar';
|
|
155
155
|
readonly version: 1;
|
|
156
156
|
};
|
|
157
157
|
readonly supportedFeatures: readonly ["axes", "axis-bands", "axis-range", "axis-scale", "conditional-coloring", "data-labels", "dimensions", "filters", "legend", "measure-axis", "measures", "orientation", "query-limit", "sorting", "top-n", "value-formatting"];
|
|
158
|
-
readonly type:
|
|
158
|
+
readonly type: 'bar';
|
|
159
159
|
}, {
|
|
160
160
|
readonly documentation: {
|
|
161
161
|
readonly constraints: readonly ["The single dimension is assigned the combo category role.", "Set seriesType per measure to create bar, line, or point series; omission keeps the existing line default.", "Data labels apply only to bar series.", "Sorting refers to definition-local refs, not generated data-item IDs.", "Set axis per measure to plot it against the primary or the secondary measure axis. Bar series share one axis: state it on any bar measure, and every bar measure that states one must state the same axis.", "presentation.axes.primaryMeasure.bands shades the plot between two primary measure axis values; start and end are measure values, and the bands replace any on the base vSpec.", string, "Set scale to log on a measure axis to draw it logarithmically, with gridlines at powers of ten. Zero and negative values are drawn at the floor of a log axis."];
|
|
162
162
|
readonly dataRequirements: readonly ["Exactly one dimension.", "Between one and ten measures."];
|
|
163
|
-
readonly summary:
|
|
164
|
-
readonly title:
|
|
163
|
+
readonly summary: 'Combined categorical chart supporting multiple measures, per-measure axes, sorting, limiting, labels, legend, and orientation.';
|
|
164
|
+
readonly title: 'Combo chart';
|
|
165
165
|
};
|
|
166
166
|
readonly example: {
|
|
167
167
|
readonly data: {
|
|
168
168
|
readonly dimensions: [ExampleDimension];
|
|
169
169
|
readonly measures: [{
|
|
170
|
-
readonly dataLabels: {
|
|
171
|
-
readonly visible: true;
|
|
172
|
-
};
|
|
173
|
-
readonly seriesType: "bar";
|
|
174
170
|
readonly aggregation: string;
|
|
175
171
|
readonly fieldKey: string;
|
|
176
172
|
readonly format: {
|
|
177
|
-
formatType:
|
|
178
|
-
negativeType:
|
|
173
|
+
formatType: 'number2Decimal';
|
|
174
|
+
negativeType: 'parenthesis';
|
|
179
175
|
};
|
|
180
176
|
readonly ref: string;
|
|
177
|
+
readonly dataLabels: {
|
|
178
|
+
readonly visible: true;
|
|
179
|
+
};
|
|
180
|
+
readonly seriesType: 'bar';
|
|
181
181
|
}, {
|
|
182
|
-
readonly axis: "secondary";
|
|
183
|
-
readonly seriesType: "line";
|
|
184
182
|
readonly aggregation: string;
|
|
185
183
|
readonly fieldKey: string;
|
|
186
184
|
readonly format: {
|
|
187
|
-
formatType:
|
|
188
|
-
negativeType:
|
|
185
|
+
formatType: 'number2Decimal';
|
|
186
|
+
negativeType: 'parenthesis';
|
|
189
187
|
};
|
|
190
188
|
readonly ref: string;
|
|
189
|
+
readonly axis: 'secondary';
|
|
190
|
+
readonly seriesType: 'line';
|
|
191
191
|
}];
|
|
192
192
|
};
|
|
193
193
|
readonly filterGroup: {
|
|
194
194
|
filters: {
|
|
195
195
|
fieldKey: "[Cars].[Manufacturer]";
|
|
196
|
-
operator:
|
|
196
|
+
operator: 'inList';
|
|
197
197
|
values: string[];
|
|
198
198
|
}[];
|
|
199
|
-
operator:
|
|
199
|
+
operator: 'and';
|
|
200
200
|
};
|
|
201
201
|
readonly limiting: {
|
|
202
202
|
readonly queryLimit: 100;
|
|
@@ -218,27 +218,27 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
218
218
|
readonly visible: true;
|
|
219
219
|
};
|
|
220
220
|
readonly legend: {
|
|
221
|
-
position:
|
|
221
|
+
position: 'right';
|
|
222
222
|
title: string;
|
|
223
223
|
visible: boolean;
|
|
224
224
|
};
|
|
225
|
-
readonly orientation:
|
|
225
|
+
readonly orientation: 'vertical';
|
|
226
226
|
};
|
|
227
227
|
readonly sorting: [{
|
|
228
|
-
readonly by:
|
|
229
|
-
readonly direction:
|
|
228
|
+
readonly by: 'sales';
|
|
229
|
+
readonly direction: 'desc';
|
|
230
230
|
}];
|
|
231
|
-
readonly type:
|
|
231
|
+
readonly type: 'combo';
|
|
232
232
|
readonly version: 1;
|
|
233
233
|
};
|
|
234
234
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "axes", "axis-bands", "axis-range", "axis-scale", "data-labels", "legend", "measure-axis", "orientation", "query-limit", "series-type", "sorting"];
|
|
235
|
-
readonly type:
|
|
235
|
+
readonly type: 'combo';
|
|
236
236
|
}, {
|
|
237
237
|
readonly documentation: {
|
|
238
238
|
readonly constraints: readonly ["All measures are assigned the gauge-value role.", "Distribution definitions enable the established gauge comparison mode."];
|
|
239
239
|
readonly dataRequirements: readonly ["Zero or one dimension.", "Between one and twenty measures."];
|
|
240
|
-
readonly summary:
|
|
241
|
-
readonly title:
|
|
240
|
+
readonly summary: 'Gauge distribution across one or more values, optionally grouped by a dimension.';
|
|
241
|
+
readonly title: 'Distribution gauge';
|
|
242
242
|
};
|
|
243
243
|
readonly example: {
|
|
244
244
|
readonly data: {
|
|
@@ -248,30 +248,30 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
248
248
|
readonly filterGroup: {
|
|
249
249
|
filters: {
|
|
250
250
|
fieldKey: "[Cars].[Manufacturer]";
|
|
251
|
-
operator:
|
|
251
|
+
operator: 'inList';
|
|
252
252
|
values: string[];
|
|
253
253
|
}[];
|
|
254
|
-
operator:
|
|
254
|
+
operator: 'and';
|
|
255
255
|
};
|
|
256
256
|
readonly presentation: {
|
|
257
|
-
readonly displayMode:
|
|
257
|
+
readonly displayMode: 'bar';
|
|
258
258
|
readonly legend: {
|
|
259
|
-
position:
|
|
259
|
+
position: 'right';
|
|
260
260
|
title: string;
|
|
261
261
|
visible: boolean;
|
|
262
262
|
};
|
|
263
263
|
};
|
|
264
|
-
readonly type:
|
|
264
|
+
readonly type: 'distribution-gauge';
|
|
265
265
|
readonly version: 1;
|
|
266
266
|
};
|
|
267
267
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "display-mode", "legend"];
|
|
268
|
-
readonly type:
|
|
268
|
+
readonly type: 'distribution-gauge';
|
|
269
269
|
}, {
|
|
270
270
|
readonly documentation: {
|
|
271
271
|
readonly constraints: readonly ["Dimension order is significant and maps to the two dot-chart dimension roles.", string];
|
|
272
272
|
readonly dataRequirements: readonly ["Exactly two dimensions.", "Exactly one measure."];
|
|
273
|
-
readonly summary:
|
|
274
|
-
readonly title:
|
|
273
|
+
readonly summary: 'Dot comparison using two categorical dimensions and one measure.';
|
|
274
|
+
readonly title: 'Dot chart';
|
|
275
275
|
};
|
|
276
276
|
readonly example: {
|
|
277
277
|
readonly data: {
|
|
@@ -281,10 +281,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
281
281
|
readonly filterGroup: {
|
|
282
282
|
filters: {
|
|
283
283
|
fieldKey: "[Cars].[Manufacturer]";
|
|
284
|
-
operator:
|
|
284
|
+
operator: 'inList';
|
|
285
285
|
values: string[];
|
|
286
286
|
}[];
|
|
287
|
-
operator:
|
|
287
|
+
operator: 'and';
|
|
288
288
|
};
|
|
289
289
|
readonly presentation: {
|
|
290
290
|
readonly axes: {
|
|
@@ -300,23 +300,23 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
300
300
|
};
|
|
301
301
|
};
|
|
302
302
|
readonly legend: {
|
|
303
|
-
position:
|
|
303
|
+
position: 'right';
|
|
304
304
|
title: string;
|
|
305
305
|
visible: boolean;
|
|
306
306
|
};
|
|
307
|
-
readonly orientation:
|
|
307
|
+
readonly orientation: 'horizontal';
|
|
308
308
|
};
|
|
309
|
-
readonly type:
|
|
309
|
+
readonly type: 'dot';
|
|
310
310
|
readonly version: 1;
|
|
311
311
|
};
|
|
312
312
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "axes", "axis-range", "legend", "orientation"];
|
|
313
|
-
readonly type:
|
|
313
|
+
readonly type: 'dot';
|
|
314
314
|
}, {
|
|
315
315
|
readonly documentation: {
|
|
316
316
|
readonly constraints: readonly ["With a dimension, the first measure is the gauge value and the optional second measure is the target.", "Without a dimension, supplied measures are gauge values.", "When a target measure is supplied, the compiler enables the established data-target mode."];
|
|
317
317
|
readonly dataRequirements: readonly ["Zero or one dimension.", "Between one and twenty measures; with one dimension, at most two measures."];
|
|
318
|
-
readonly summary:
|
|
319
|
-
readonly title:
|
|
318
|
+
readonly summary: 'Gauge values with an optional grouping dimension and optional data target.';
|
|
319
|
+
readonly title: 'Gauge chart';
|
|
320
320
|
};
|
|
321
321
|
readonly example: {
|
|
322
322
|
readonly data: {
|
|
@@ -326,30 +326,30 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
326
326
|
readonly filterGroup: {
|
|
327
327
|
filters: {
|
|
328
328
|
fieldKey: "[Cars].[Manufacturer]";
|
|
329
|
-
operator:
|
|
329
|
+
operator: 'inList';
|
|
330
330
|
values: string[];
|
|
331
331
|
}[];
|
|
332
|
-
operator:
|
|
332
|
+
operator: 'and';
|
|
333
333
|
};
|
|
334
334
|
readonly presentation: {
|
|
335
|
-
readonly displayMode:
|
|
335
|
+
readonly displayMode: 'radial';
|
|
336
336
|
readonly legend: {
|
|
337
|
-
position:
|
|
337
|
+
position: 'right';
|
|
338
338
|
title: string;
|
|
339
339
|
visible: boolean;
|
|
340
340
|
};
|
|
341
341
|
};
|
|
342
|
-
readonly type:
|
|
342
|
+
readonly type: 'gauge';
|
|
343
343
|
readonly version: 1;
|
|
344
344
|
};
|
|
345
345
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "display-mode", "legend"];
|
|
346
|
-
readonly type:
|
|
346
|
+
readonly type: 'gauge';
|
|
347
347
|
}, {
|
|
348
348
|
readonly documentation: {
|
|
349
349
|
readonly constraints: readonly ["Dimension order maps to horizontal then vertical roles.", "Measure order maps to color then optional size roles."];
|
|
350
350
|
readonly dataRequirements: readonly ["Exactly two dimensions.", "One or two measures."];
|
|
351
|
-
readonly summary:
|
|
352
|
-
readonly title:
|
|
351
|
+
readonly summary: 'Two-dimensional matrix colored and optionally sized by measures.';
|
|
352
|
+
readonly title: 'Heat map';
|
|
353
353
|
};
|
|
354
354
|
readonly example: {
|
|
355
355
|
readonly data: {
|
|
@@ -359,10 +359,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
359
359
|
readonly filterGroup: {
|
|
360
360
|
filters: {
|
|
361
361
|
fieldKey: "[Cars].[Manufacturer]";
|
|
362
|
-
operator:
|
|
362
|
+
operator: 'inList';
|
|
363
363
|
values: string[];
|
|
364
364
|
}[];
|
|
365
|
-
operator:
|
|
365
|
+
operator: 'and';
|
|
366
366
|
};
|
|
367
367
|
readonly limiting: {
|
|
368
368
|
readonly queryLimit: 100;
|
|
@@ -386,26 +386,26 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
386
386
|
};
|
|
387
387
|
};
|
|
388
388
|
readonly legend: {
|
|
389
|
-
position:
|
|
389
|
+
position: 'right';
|
|
390
390
|
title: string;
|
|
391
391
|
visible: boolean;
|
|
392
392
|
};
|
|
393
393
|
};
|
|
394
394
|
readonly sorting: [{
|
|
395
|
-
readonly by:
|
|
396
|
-
readonly direction:
|
|
395
|
+
readonly by: 'sales';
|
|
396
|
+
readonly direction: 'desc';
|
|
397
397
|
}];
|
|
398
|
-
readonly type:
|
|
398
|
+
readonly type: 'heatMap';
|
|
399
399
|
readonly version: 1;
|
|
400
400
|
};
|
|
401
401
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "axes", "legend", "query-limit", "sorting"];
|
|
402
|
-
readonly type:
|
|
402
|
+
readonly type: 'heatMap';
|
|
403
403
|
}, {
|
|
404
404
|
readonly documentation: {
|
|
405
405
|
readonly constraints: readonly ["The compiler creates the canonical generated count measure; callers do not provide measures.", "presentation.axes.primaryMeasure.bands shades the plot between two primary measure axis values; start and end are measure values, and the bands replace any on the base vSpec.", string];
|
|
406
406
|
readonly dataRequirements: readonly ["Exactly one numeric dimension.", "No caller-supplied measures."];
|
|
407
|
-
readonly summary:
|
|
408
|
-
readonly title:
|
|
407
|
+
readonly summary: 'Distribution of a numeric field into generated bins and counts.';
|
|
408
|
+
readonly title: 'Histogram';
|
|
409
409
|
};
|
|
410
410
|
readonly example: {
|
|
411
411
|
readonly data: {
|
|
@@ -414,10 +414,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
414
414
|
readonly filterGroup: {
|
|
415
415
|
filters: {
|
|
416
416
|
fieldKey: "[Cars].[Manufacturer]";
|
|
417
|
-
operator:
|
|
417
|
+
operator: 'inList';
|
|
418
418
|
values: string[];
|
|
419
419
|
}[];
|
|
420
|
-
operator:
|
|
420
|
+
operator: 'and';
|
|
421
421
|
};
|
|
422
422
|
readonly presentation: {
|
|
423
423
|
readonly axes: {
|
|
@@ -433,31 +433,31 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
433
433
|
};
|
|
434
434
|
};
|
|
435
435
|
readonly legend: {
|
|
436
|
-
position:
|
|
436
|
+
position: 'right';
|
|
437
437
|
title: string;
|
|
438
438
|
visible: boolean;
|
|
439
439
|
};
|
|
440
|
-
readonly orientation:
|
|
440
|
+
readonly orientation: 'vertical';
|
|
441
441
|
};
|
|
442
|
-
readonly type:
|
|
442
|
+
readonly type: 'histogram';
|
|
443
443
|
readonly version: 1;
|
|
444
444
|
};
|
|
445
445
|
readonly supportedFeatures: readonly ["axes", "axis-bands", "axis-range", "dimensions", "filters", "legend", "orientation", "value-formatting"];
|
|
446
|
-
readonly type:
|
|
446
|
+
readonly type: 'histogram';
|
|
447
447
|
}, {
|
|
448
448
|
readonly additionalExamples: readonly [{
|
|
449
449
|
readonly definition: {
|
|
450
450
|
readonly data: {
|
|
451
451
|
readonly dimensions: [ExampleDimension];
|
|
452
452
|
readonly measures: [{
|
|
453
|
-
readonly dataPointShape: "circle";
|
|
454
453
|
readonly aggregation: string;
|
|
455
454
|
readonly fieldKey: string;
|
|
456
455
|
readonly format: {
|
|
457
|
-
formatType:
|
|
458
|
-
negativeType:
|
|
456
|
+
formatType: 'number2Decimal';
|
|
457
|
+
negativeType: 'parenthesis';
|
|
459
458
|
};
|
|
460
459
|
readonly ref: string;
|
|
460
|
+
readonly dataPointShape: 'circle';
|
|
461
461
|
}];
|
|
462
462
|
};
|
|
463
463
|
readonly presentation: {
|
|
@@ -468,48 +468,48 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
468
468
|
readonly max: 100;
|
|
469
469
|
readonly min: 1;
|
|
470
470
|
};
|
|
471
|
-
readonly title:
|
|
471
|
+
readonly title: 'Rank';
|
|
472
472
|
};
|
|
473
473
|
};
|
|
474
474
|
};
|
|
475
|
-
readonly type:
|
|
475
|
+
readonly type: 'line';
|
|
476
476
|
readonly version: 1;
|
|
477
477
|
};
|
|
478
|
-
readonly title:
|
|
478
|
+
readonly title: 'Fixed, inverted measure axis';
|
|
479
479
|
}, {
|
|
480
480
|
readonly definition: {
|
|
481
481
|
readonly data: {
|
|
482
482
|
readonly dimensions: [ExampleDimension, ExampleDimension];
|
|
483
483
|
readonly measures: [{
|
|
484
|
-
readonly dataPointShape: "circle";
|
|
485
484
|
readonly aggregation: string;
|
|
486
485
|
readonly fieldKey: string;
|
|
487
486
|
readonly format: {
|
|
488
|
-
formatType:
|
|
489
|
-
negativeType:
|
|
487
|
+
formatType: 'number2Decimal';
|
|
488
|
+
negativeType: 'parenthesis';
|
|
490
489
|
};
|
|
491
490
|
readonly ref: string;
|
|
491
|
+
readonly dataPointShape: 'circle';
|
|
492
492
|
}];
|
|
493
493
|
};
|
|
494
494
|
readonly presentation: {
|
|
495
495
|
readonly coloring: {
|
|
496
496
|
readonly overwrites: [{
|
|
497
|
-
readonly color:
|
|
498
|
-
readonly operator:
|
|
499
|
-
readonly value:
|
|
497
|
+
readonly color: '#7C3AED';
|
|
498
|
+
readonly operator: 'startsWith';
|
|
499
|
+
readonly value: 'A';
|
|
500
500
|
}];
|
|
501
501
|
};
|
|
502
502
|
};
|
|
503
|
-
readonly type:
|
|
503
|
+
readonly type: 'line';
|
|
504
504
|
readonly version: 1;
|
|
505
505
|
};
|
|
506
|
-
readonly title:
|
|
506
|
+
readonly title: 'Series colored by dimension value';
|
|
507
507
|
}];
|
|
508
508
|
readonly documentation: {
|
|
509
509
|
readonly constraints: readonly ["Each measure may select the primary or secondary axis using its axis property.", "Visible data labels require dataPointShape on every measure.", "presentation.axes.primaryMeasure.bands shades the plot between two primary measure axis values; start and end are measure values, and the bands replace any on the base vSpec.", string, "Set scale to log on a measure axis to draw it logarithmically, with gridlines at powers of ten. Zero and negative values are drawn at the floor of a log axis.", "Value colors in presentation.coloring require at least two dimensions; measure color rules are not supported.", "For a trend over time, use a date field as the dimension with temporalGrouping, such as month, and sort by its ref in ascending order. Omit its format to show readable dates."];
|
|
510
510
|
readonly dataRequirements: readonly ["At least one dimension.", "At least one measure."];
|
|
511
|
-
readonly summary:
|
|
512
|
-
readonly title:
|
|
511
|
+
readonly summary: 'Trend chart with sorting, query limiting, dual measure axes, labels, legend, and orientation.';
|
|
512
|
+
readonly title: 'Line chart';
|
|
513
513
|
};
|
|
514
514
|
readonly example: {
|
|
515
515
|
readonly data: {
|
|
@@ -517,50 +517,45 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
517
517
|
fieldKey: "[Cars].[Latest Launch]";
|
|
518
518
|
ref: string;
|
|
519
519
|
temporalGrouping: {
|
|
520
|
-
dateLevel:
|
|
521
|
-
mode:
|
|
520
|
+
dateLevel: 'month';
|
|
521
|
+
mode: 'level';
|
|
522
522
|
};
|
|
523
523
|
}];
|
|
524
524
|
readonly measures: [{
|
|
525
|
-
readonly axis: "primary";
|
|
526
|
-
readonly dataPointShape: "circle";
|
|
527
525
|
readonly aggregation: string;
|
|
528
526
|
readonly fieldKey: string;
|
|
529
527
|
readonly format: {
|
|
530
|
-
formatType:
|
|
531
|
-
negativeType:
|
|
528
|
+
formatType: 'number2Decimal';
|
|
529
|
+
negativeType: 'parenthesis';
|
|
532
530
|
};
|
|
533
531
|
readonly ref: string;
|
|
532
|
+
readonly axis: 'primary';
|
|
533
|
+
readonly dataPointShape: 'circle';
|
|
534
534
|
}, {
|
|
535
|
-
readonly axis: "secondary";
|
|
536
|
-
readonly dataPointShape: "square";
|
|
537
535
|
readonly aggregation: string;
|
|
538
536
|
readonly fieldKey: string;
|
|
539
537
|
readonly format: {
|
|
540
|
-
formatType:
|
|
541
|
-
negativeType:
|
|
538
|
+
formatType: 'number2Decimal';
|
|
539
|
+
negativeType: 'parenthesis';
|
|
542
540
|
};
|
|
543
541
|
readonly ref: string;
|
|
542
|
+
readonly axis: 'secondary';
|
|
543
|
+
readonly dataPointShape: 'square';
|
|
544
544
|
}];
|
|
545
545
|
};
|
|
546
546
|
readonly filterGroup: {
|
|
547
547
|
filters: {
|
|
548
548
|
fieldKey: "[Cars].[Manufacturer]";
|
|
549
|
-
operator:
|
|
549
|
+
operator: 'inList';
|
|
550
550
|
values: string[];
|
|
551
551
|
}[];
|
|
552
|
-
operator:
|
|
552
|
+
operator: 'and';
|
|
553
553
|
};
|
|
554
554
|
readonly limiting: {
|
|
555
555
|
readonly queryLimit: 100;
|
|
556
556
|
};
|
|
557
557
|
readonly presentation: {
|
|
558
558
|
readonly axes: {
|
|
559
|
-
readonly dimension: {
|
|
560
|
-
readonly title: "Launch month";
|
|
561
|
-
readonly labelsVisible: boolean;
|
|
562
|
-
readonly titleVisible: boolean;
|
|
563
|
-
};
|
|
564
559
|
readonly primaryMeasure: {
|
|
565
560
|
labelsVisible: boolean;
|
|
566
561
|
title: string;
|
|
@@ -571,33 +566,38 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
571
566
|
title: string;
|
|
572
567
|
titleVisible: boolean;
|
|
573
568
|
};
|
|
569
|
+
readonly dimension: {
|
|
570
|
+
readonly labelsVisible: boolean;
|
|
571
|
+
readonly titleVisible: boolean;
|
|
572
|
+
readonly title: 'Launch month';
|
|
573
|
+
};
|
|
574
574
|
};
|
|
575
575
|
readonly dataLabels: {
|
|
576
|
-
readonly density:
|
|
576
|
+
readonly density: 'medium';
|
|
577
577
|
readonly visible: true;
|
|
578
578
|
};
|
|
579
579
|
readonly legend: {
|
|
580
|
-
position:
|
|
580
|
+
position: 'right';
|
|
581
581
|
title: string;
|
|
582
582
|
visible: boolean;
|
|
583
583
|
};
|
|
584
|
-
readonly orientation:
|
|
584
|
+
readonly orientation: 'vertical';
|
|
585
585
|
};
|
|
586
586
|
readonly sorting: [{
|
|
587
|
-
readonly by:
|
|
588
|
-
readonly direction:
|
|
587
|
+
readonly by: 'launchMonth';
|
|
588
|
+
readonly direction: 'asc';
|
|
589
589
|
}];
|
|
590
|
-
readonly type:
|
|
590
|
+
readonly type: 'line';
|
|
591
591
|
readonly version: 1;
|
|
592
592
|
};
|
|
593
593
|
readonly supportedFeatures: readonly ["axes", "axis-bands", "axis-range", "axis-scale", "conditional-coloring", "data-labels", "data-points", "dimensions", "filters", "legend", "measure-axis", "measures", "orientation", "query-limit", "sorting", "value-formatting"];
|
|
594
|
-
readonly type:
|
|
594
|
+
readonly type: 'line';
|
|
595
595
|
}, {
|
|
596
596
|
readonly documentation: {
|
|
597
597
|
readonly constraints: readonly ["Without dimensions, at least two measures are required.", "With dimensions, exactly one measure is supported.", "Value colors in presentation.coloring require two dimensions; measure color rules are not supported."];
|
|
598
598
|
readonly dataRequirements: readonly ["Zero to two dimensions.", "Two to five measures without dimensions, or one with dimensions."];
|
|
599
|
-
readonly summary:
|
|
600
|
-
readonly title:
|
|
599
|
+
readonly summary: 'Radial comparison chart for one or more measures with optional categorical dimensions.';
|
|
600
|
+
readonly title: 'Radar chart';
|
|
601
601
|
};
|
|
602
602
|
readonly example: {
|
|
603
603
|
readonly data: {
|
|
@@ -607,23 +607,23 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
607
607
|
readonly filterGroup: {
|
|
608
608
|
filters: {
|
|
609
609
|
fieldKey: "[Cars].[Manufacturer]";
|
|
610
|
-
operator:
|
|
610
|
+
operator: 'inList';
|
|
611
611
|
values: string[];
|
|
612
612
|
}[];
|
|
613
|
-
operator:
|
|
613
|
+
operator: 'and';
|
|
614
614
|
};
|
|
615
615
|
readonly presentation: {
|
|
616
616
|
readonly legend: {
|
|
617
|
-
position:
|
|
617
|
+
position: 'right';
|
|
618
618
|
title: string;
|
|
619
619
|
visible: boolean;
|
|
620
620
|
};
|
|
621
621
|
};
|
|
622
|
-
readonly type:
|
|
622
|
+
readonly type: 'radar';
|
|
623
623
|
readonly version: 1;
|
|
624
624
|
};
|
|
625
625
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "legend"];
|
|
626
|
-
readonly type:
|
|
626
|
+
readonly type: 'radar';
|
|
627
627
|
}, {
|
|
628
628
|
readonly additionalExamples: readonly [{
|
|
629
629
|
readonly definition: {
|
|
@@ -634,27 +634,27 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
634
634
|
readonly presentation: {
|
|
635
635
|
readonly coloring: {
|
|
636
636
|
readonly overwrites: [{
|
|
637
|
-
readonly color:
|
|
638
|
-
readonly value:
|
|
637
|
+
readonly color: '#134E4A';
|
|
638
|
+
readonly value: 'Audi';
|
|
639
639
|
}, {
|
|
640
|
-
readonly color:
|
|
641
|
-
readonly value:
|
|
640
|
+
readonly color: '#2DD4BF';
|
|
641
|
+
readonly value: 'BMW';
|
|
642
642
|
}, {
|
|
643
|
-
readonly color:
|
|
644
|
-
readonly value:
|
|
643
|
+
readonly color: '#CCFBF1';
|
|
644
|
+
readonly value: 'Buick';
|
|
645
645
|
}];
|
|
646
646
|
};
|
|
647
647
|
};
|
|
648
|
-
readonly type:
|
|
648
|
+
readonly type: 'pie';
|
|
649
649
|
readonly version: 1;
|
|
650
650
|
};
|
|
651
|
-
readonly title:
|
|
651
|
+
readonly title: 'Ordered bands colored along a ramp';
|
|
652
652
|
}];
|
|
653
653
|
readonly documentation: {
|
|
654
654
|
readonly constraints: readonly ["The first measure is the slice value; the optional second measure receives the length role."];
|
|
655
655
|
readonly dataRequirements: readonly ["Exactly one dimension.", "One or two measures."];
|
|
656
|
-
readonly summary:
|
|
657
|
-
readonly title:
|
|
656
|
+
readonly summary: 'Part-to-whole chart with optional secondary radial measure.';
|
|
657
|
+
readonly title: 'Pie chart';
|
|
658
658
|
};
|
|
659
659
|
readonly example: {
|
|
660
660
|
readonly data: {
|
|
@@ -664,36 +664,36 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
664
664
|
readonly filterGroup: {
|
|
665
665
|
filters: {
|
|
666
666
|
fieldKey: "[Cars].[Manufacturer]";
|
|
667
|
-
operator:
|
|
667
|
+
operator: 'inList';
|
|
668
668
|
values: string[];
|
|
669
669
|
}[];
|
|
670
|
-
operator:
|
|
670
|
+
operator: 'and';
|
|
671
671
|
};
|
|
672
672
|
readonly limiting: {
|
|
673
673
|
readonly queryLimit: 100;
|
|
674
674
|
};
|
|
675
675
|
readonly presentation: {
|
|
676
676
|
readonly legend: {
|
|
677
|
-
position:
|
|
677
|
+
position: 'right';
|
|
678
678
|
title: string;
|
|
679
679
|
visible: boolean;
|
|
680
680
|
};
|
|
681
681
|
};
|
|
682
682
|
readonly sorting: [{
|
|
683
|
-
readonly by:
|
|
684
|
-
readonly direction:
|
|
683
|
+
readonly by: 'sales';
|
|
684
|
+
readonly direction: 'desc';
|
|
685
685
|
}];
|
|
686
|
-
readonly type:
|
|
686
|
+
readonly type: 'pie';
|
|
687
687
|
readonly version: 1;
|
|
688
688
|
};
|
|
689
689
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "legend", "query-limit", "sorting"];
|
|
690
|
-
readonly type:
|
|
690
|
+
readonly type: 'pie';
|
|
691
691
|
}, {
|
|
692
692
|
readonly documentation: {
|
|
693
693
|
readonly constraints: readonly ["At least one dimension or measure must be supplied.", "Trees with dimensions support at most one measure; measure-only trees may contain multiple measures."];
|
|
694
694
|
readonly dataRequirements: readonly ["Zero to ten dimensions.", "Zero to one hundred measures, or at most one with dimensions."];
|
|
695
|
-
readonly summary:
|
|
696
|
-
readonly title:
|
|
695
|
+
readonly summary: 'Hierarchical tree built from dimensions, measures, or both.';
|
|
696
|
+
readonly title: 'Tree chart';
|
|
697
697
|
};
|
|
698
698
|
readonly example: {
|
|
699
699
|
readonly data: {
|
|
@@ -703,10 +703,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
703
703
|
readonly filterGroup: {
|
|
704
704
|
filters: {
|
|
705
705
|
fieldKey: "[Cars].[Manufacturer]";
|
|
706
|
-
operator:
|
|
706
|
+
operator: 'inList';
|
|
707
707
|
values: string[];
|
|
708
708
|
}[];
|
|
709
|
-
operator:
|
|
709
|
+
operator: 'and';
|
|
710
710
|
};
|
|
711
711
|
readonly limiting: {
|
|
712
712
|
readonly queryLimit: 100;
|
|
@@ -714,26 +714,26 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
714
714
|
readonly presentation: {
|
|
715
715
|
readonly layout: {
|
|
716
716
|
readonly compact: true;
|
|
717
|
-
readonly direction:
|
|
717
|
+
readonly direction: 'top';
|
|
718
718
|
readonly forceAutoFit: false;
|
|
719
719
|
readonly initialExpandedLevels: 1;
|
|
720
720
|
};
|
|
721
721
|
};
|
|
722
722
|
readonly sorting: [{
|
|
723
|
-
readonly by:
|
|
724
|
-
readonly direction:
|
|
723
|
+
readonly by: 'sales';
|
|
724
|
+
readonly direction: 'desc';
|
|
725
725
|
}];
|
|
726
|
-
readonly type:
|
|
726
|
+
readonly type: 'tree';
|
|
727
727
|
readonly version: 1;
|
|
728
728
|
};
|
|
729
729
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "layout", "query-limit", "sorting"];
|
|
730
|
-
readonly type:
|
|
730
|
+
readonly type: 'tree';
|
|
731
731
|
}, {
|
|
732
732
|
readonly documentation: {
|
|
733
733
|
readonly constraints: readonly ["Dimension order defines hierarchy depth."];
|
|
734
734
|
readonly dataRequirements: readonly ["Between one and ten dimensions.", "Exactly one measure."];
|
|
735
|
-
readonly summary:
|
|
736
|
-
readonly title:
|
|
735
|
+
readonly summary: 'Hierarchical area chart using ordered dimensions and one size measure.';
|
|
736
|
+
readonly title: 'Treemap';
|
|
737
737
|
};
|
|
738
738
|
readonly example: {
|
|
739
739
|
readonly data: {
|
|
@@ -743,23 +743,23 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
743
743
|
readonly filterGroup: {
|
|
744
744
|
filters: {
|
|
745
745
|
fieldKey: "[Cars].[Manufacturer]";
|
|
746
|
-
operator:
|
|
746
|
+
operator: 'inList';
|
|
747
747
|
values: string[];
|
|
748
748
|
}[];
|
|
749
|
-
operator:
|
|
749
|
+
operator: 'and';
|
|
750
750
|
};
|
|
751
751
|
readonly presentation: {
|
|
752
752
|
readonly legend: {
|
|
753
|
-
position:
|
|
753
|
+
position: 'right';
|
|
754
754
|
title: string;
|
|
755
755
|
visible: boolean;
|
|
756
756
|
};
|
|
757
757
|
};
|
|
758
|
-
readonly type:
|
|
758
|
+
readonly type: 'treemap';
|
|
759
759
|
readonly version: 1;
|
|
760
760
|
};
|
|
761
761
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "legend"];
|
|
762
|
-
readonly type:
|
|
762
|
+
readonly type: 'treemap';
|
|
763
763
|
}, {
|
|
764
764
|
readonly additionalExamples: readonly [{
|
|
765
765
|
readonly definition: {
|
|
@@ -770,22 +770,22 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
770
770
|
readonly presentation: {
|
|
771
771
|
readonly coloring: {
|
|
772
772
|
readonly overwrites: [{
|
|
773
|
-
readonly color:
|
|
774
|
-
readonly dimension:
|
|
775
|
-
readonly value:
|
|
773
|
+
readonly color: '#CA8A04';
|
|
774
|
+
readonly dimension: 'manufacturer';
|
|
775
|
+
readonly value: 'Audi';
|
|
776
776
|
}];
|
|
777
777
|
};
|
|
778
778
|
};
|
|
779
|
-
readonly type:
|
|
779
|
+
readonly type: 'sankey';
|
|
780
780
|
readonly version: 1;
|
|
781
781
|
};
|
|
782
|
-
readonly title:
|
|
782
|
+
readonly title: 'A color bound to a value of one flow stage';
|
|
783
783
|
}];
|
|
784
784
|
readonly documentation: {
|
|
785
785
|
readonly constraints: readonly ["Dimension order defines the source-to-target flow stages.", "Every value color in presentation.coloring must name the dimension it applies to."];
|
|
786
786
|
readonly dataRequirements: readonly ["Between two and fifteen dimensions.", "Exactly one measure."];
|
|
787
|
-
readonly summary:
|
|
788
|
-
readonly title:
|
|
787
|
+
readonly summary: 'Flow chart across an ordered sequence of categorical dimensions.';
|
|
788
|
+
readonly title: 'Sankey chart';
|
|
789
789
|
};
|
|
790
790
|
readonly example: {
|
|
791
791
|
readonly data: {
|
|
@@ -795,22 +795,22 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
795
795
|
readonly filterGroup: {
|
|
796
796
|
filters: {
|
|
797
797
|
fieldKey: "[Cars].[Manufacturer]";
|
|
798
|
-
operator:
|
|
798
|
+
operator: 'inList';
|
|
799
799
|
values: string[];
|
|
800
800
|
}[];
|
|
801
|
-
operator:
|
|
801
|
+
operator: 'and';
|
|
802
802
|
};
|
|
803
|
-
readonly type:
|
|
803
|
+
readonly type: 'sankey';
|
|
804
804
|
readonly version: 1;
|
|
805
805
|
};
|
|
806
806
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring"];
|
|
807
|
-
readonly type:
|
|
807
|
+
readonly type: 'sankey';
|
|
808
808
|
}, {
|
|
809
809
|
readonly documentation: {
|
|
810
810
|
readonly constraints: readonly ["Measure order maps to horizontal, vertical, and optional size roles.", "The optional second dimension receives the image role.", "Roles come from item order only; a ref is a label and does not select a role.", "With a size measure, points scale between the setPointSize and setMaxPointSize operation values.", string];
|
|
811
811
|
readonly dataRequirements: readonly ["One or two dimensions.", "Two or three measures."];
|
|
812
|
-
readonly summary:
|
|
813
|
-
readonly title:
|
|
812
|
+
readonly summary: 'Relationship chart using horizontal and vertical measures with optional size and image roles.';
|
|
813
|
+
readonly title: 'Scatter chart';
|
|
814
814
|
};
|
|
815
815
|
readonly example: {
|
|
816
816
|
readonly data: {
|
|
@@ -820,10 +820,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
820
820
|
readonly filterGroup: {
|
|
821
821
|
filters: {
|
|
822
822
|
fieldKey: "[Cars].[Manufacturer]";
|
|
823
|
-
operator:
|
|
823
|
+
operator: 'inList';
|
|
824
824
|
values: string[];
|
|
825
825
|
}[];
|
|
826
|
-
operator:
|
|
826
|
+
operator: 'and';
|
|
827
827
|
};
|
|
828
828
|
readonly presentation: {
|
|
829
829
|
readonly axes: {
|
|
@@ -839,220 +839,220 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
839
839
|
};
|
|
840
840
|
};
|
|
841
841
|
readonly legend: {
|
|
842
|
-
position:
|
|
842
|
+
position: 'right';
|
|
843
843
|
title: string;
|
|
844
844
|
visible: boolean;
|
|
845
845
|
};
|
|
846
846
|
};
|
|
847
|
-
readonly type:
|
|
847
|
+
readonly type: 'scatter';
|
|
848
848
|
readonly version: 1;
|
|
849
849
|
};
|
|
850
850
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "axes", "axis-range", "legend", "query-limit", "sorting"];
|
|
851
|
-
readonly type:
|
|
851
|
+
readonly type: 'scatter';
|
|
852
852
|
}, {
|
|
853
853
|
readonly additionalExamples: readonly [{
|
|
854
854
|
readonly definition: {
|
|
855
855
|
readonly data: {
|
|
856
856
|
readonly dimensions: [ExampleDimension, ExampleDimension];
|
|
857
857
|
readonly measures: [ExampleMeasure];
|
|
858
|
-
readonly structure:
|
|
858
|
+
readonly structure: 'expandable';
|
|
859
859
|
};
|
|
860
860
|
readonly filterGroup: {
|
|
861
861
|
filters: {
|
|
862
862
|
fieldKey: "[Cars].[Manufacturer]";
|
|
863
|
-
operator:
|
|
863
|
+
operator: 'inList';
|
|
864
864
|
values: string[];
|
|
865
865
|
}[];
|
|
866
|
-
operator:
|
|
866
|
+
operator: 'and';
|
|
867
867
|
};
|
|
868
868
|
readonly limiting: {
|
|
869
869
|
readonly queryLimit: 100;
|
|
870
870
|
};
|
|
871
871
|
readonly sorting: [{
|
|
872
|
-
readonly by:
|
|
873
|
-
readonly direction:
|
|
872
|
+
readonly by: 'sales';
|
|
873
|
+
readonly direction: 'desc';
|
|
874
874
|
}];
|
|
875
|
-
readonly type:
|
|
875
|
+
readonly type: 'table';
|
|
876
876
|
readonly version: 1;
|
|
877
877
|
};
|
|
878
|
-
readonly title:
|
|
878
|
+
readonly title: 'Expandable table';
|
|
879
879
|
}, {
|
|
880
880
|
readonly definition: {
|
|
881
881
|
readonly data: {
|
|
882
882
|
readonly columnDimensions: [ExampleDimension];
|
|
883
883
|
readonly measures: [ExampleMeasure];
|
|
884
884
|
readonly rowDimensions: [ExampleDimension];
|
|
885
|
-
readonly structure:
|
|
885
|
+
readonly structure: 'pivot';
|
|
886
886
|
};
|
|
887
887
|
readonly filterGroup: {
|
|
888
888
|
filters: {
|
|
889
889
|
fieldKey: "[Cars].[Manufacturer]";
|
|
890
|
-
operator:
|
|
890
|
+
operator: 'inList';
|
|
891
891
|
values: string[];
|
|
892
892
|
}[];
|
|
893
|
-
operator:
|
|
893
|
+
operator: 'and';
|
|
894
894
|
};
|
|
895
895
|
readonly limiting: {
|
|
896
896
|
readonly queryLimit: 100;
|
|
897
897
|
};
|
|
898
898
|
readonly sorting: [{
|
|
899
|
-
readonly by:
|
|
900
|
-
readonly direction:
|
|
899
|
+
readonly by: 'sales';
|
|
900
|
+
readonly direction: 'desc';
|
|
901
901
|
}];
|
|
902
|
-
readonly type:
|
|
902
|
+
readonly type: 'table';
|
|
903
903
|
readonly version: 1;
|
|
904
904
|
};
|
|
905
|
-
readonly title:
|
|
905
|
+
readonly title: 'Pivot table';
|
|
906
906
|
}];
|
|
907
907
|
readonly documentation: {
|
|
908
908
|
readonly constraints: readonly ["Normal table column order is preserved, and each column declares whether it is a dimension or measure.", "Expandable table dimension order defines the expansion hierarchy.", "Pivot tables explicitly separate row dimensions, column dimensions, and measures.", "Measure definitions require valid aggregation for raw fields.", "Presentation settings initialize table appearance and layout; later runtime operations preserve them.", "Totals settings are optional; omitted totals properties preserve their values from the fresh default or preset vSpec."];
|
|
909
909
|
readonly dataRequirements: readonly ["Normal tables require at least one ordered dimension or measure column.", "Expandable tables require at least one dimension and one measure.", "Pivot tables require at least one row dimension, one column dimension, and one measure."];
|
|
910
|
-
readonly summary:
|
|
911
|
-
readonly title:
|
|
910
|
+
readonly summary: 'Normal, expandable, or pivot tabular output with formatting, filtering, sorting, query limiting, and totals.';
|
|
911
|
+
readonly title: 'Table';
|
|
912
912
|
};
|
|
913
913
|
readonly example: {
|
|
914
914
|
readonly data: {
|
|
915
915
|
readonly columns: [{
|
|
916
|
-
readonly role: "dimension";
|
|
917
916
|
readonly fieldKey: string;
|
|
918
917
|
readonly ref: string;
|
|
919
918
|
readonly showNullValues?: boolean;
|
|
919
|
+
readonly role: 'dimension';
|
|
920
920
|
}, {
|
|
921
|
-
readonly role: "dimension";
|
|
922
921
|
readonly fieldKey: string;
|
|
923
922
|
readonly ref: string;
|
|
924
923
|
readonly showNullValues?: boolean;
|
|
924
|
+
readonly role: 'dimension';
|
|
925
925
|
}, {
|
|
926
|
-
readonly format: {
|
|
927
|
-
readonly formatType: "ddmmmyyyy";
|
|
928
|
-
};
|
|
929
|
-
readonly role: "dimension";
|
|
930
926
|
readonly fieldKey: string;
|
|
931
927
|
readonly ref: string;
|
|
932
928
|
readonly showNullValues?: boolean;
|
|
929
|
+
readonly format: {
|
|
930
|
+
readonly formatType: 'ddmmmyyyy';
|
|
931
|
+
};
|
|
932
|
+
readonly role: 'dimension';
|
|
933
933
|
}, {
|
|
934
|
-
readonly role: "measure";
|
|
935
934
|
readonly aggregation: string;
|
|
936
935
|
readonly fieldKey: string;
|
|
937
936
|
readonly format: {
|
|
938
|
-
formatType:
|
|
939
|
-
negativeType:
|
|
937
|
+
formatType: 'number2Decimal';
|
|
938
|
+
negativeType: 'parenthesis';
|
|
940
939
|
};
|
|
941
940
|
readonly ref: string;
|
|
941
|
+
readonly role: 'measure';
|
|
942
942
|
}];
|
|
943
|
-
readonly structure:
|
|
943
|
+
readonly structure: 'normal';
|
|
944
944
|
};
|
|
945
945
|
readonly filterGroup: {
|
|
946
946
|
filters: {
|
|
947
947
|
fieldKey: "[Cars].[Manufacturer]";
|
|
948
|
-
operator:
|
|
948
|
+
operator: 'inList';
|
|
949
949
|
values: string[];
|
|
950
950
|
}[];
|
|
951
|
-
operator:
|
|
951
|
+
operator: 'and';
|
|
952
952
|
};
|
|
953
953
|
readonly limiting: {
|
|
954
954
|
readonly queryLimit: 100;
|
|
955
955
|
};
|
|
956
956
|
readonly presentation: {
|
|
957
957
|
readonly background: {
|
|
958
|
-
readonly color:
|
|
959
|
-
readonly type:
|
|
958
|
+
readonly color: '#ffffff';
|
|
959
|
+
readonly type: 'single';
|
|
960
960
|
};
|
|
961
961
|
readonly body: {
|
|
962
|
-
readonly fontColor:
|
|
963
|
-
readonly fontFamily:
|
|
962
|
+
readonly fontColor: '#1f1c3b';
|
|
963
|
+
readonly fontFamily: 'Roboto';
|
|
964
964
|
readonly fontSize: 13;
|
|
965
|
-
readonly horizontalAlign:
|
|
966
|
-
readonly verticalAlign:
|
|
965
|
+
readonly horizontalAlign: 'center';
|
|
966
|
+
readonly verticalAlign: 'middle';
|
|
967
967
|
};
|
|
968
968
|
readonly borders: {
|
|
969
|
-
readonly color:
|
|
970
|
-
readonly dividerColor:
|
|
971
|
-
readonly dividers:
|
|
969
|
+
readonly color: '#e0e0e0';
|
|
970
|
+
readonly dividerColor: '#e0e0e0';
|
|
971
|
+
readonly dividers: 'all';
|
|
972
972
|
readonly enabled: true;
|
|
973
|
-
readonly lineStyle:
|
|
973
|
+
readonly lineStyle: 'line';
|
|
974
974
|
readonly radius: 4;
|
|
975
975
|
readonly strokeWidth: 1;
|
|
976
976
|
};
|
|
977
977
|
readonly header: {
|
|
978
|
-
readonly backgroundColor:
|
|
979
|
-
readonly borderColor:
|
|
980
|
-
readonly fontColor:
|
|
981
|
-
readonly fontFamily:
|
|
978
|
+
readonly backgroundColor: '#ffffff';
|
|
979
|
+
readonly borderColor: '#e0e0e0';
|
|
980
|
+
readonly fontColor: '#1f1c3b';
|
|
981
|
+
readonly fontFamily: 'Roboto';
|
|
982
982
|
readonly fontSize: 13;
|
|
983
983
|
};
|
|
984
984
|
readonly highlight: {
|
|
985
|
-
readonly backgroundColor:
|
|
986
|
-
readonly mode:
|
|
985
|
+
readonly backgroundColor: '#f2f2f2';
|
|
986
|
+
readonly mode: 'row';
|
|
987
987
|
};
|
|
988
988
|
readonly layout: {
|
|
989
|
-
readonly columnWidthBehavior:
|
|
989
|
+
readonly columnWidthBehavior: 'responsive';
|
|
990
990
|
readonly rowHeight: 41;
|
|
991
991
|
};
|
|
992
992
|
};
|
|
993
993
|
readonly sorting: [{
|
|
994
|
-
readonly by:
|
|
995
|
-
readonly direction:
|
|
994
|
+
readonly by: 'sales';
|
|
995
|
+
readonly direction: 'desc';
|
|
996
996
|
}];
|
|
997
997
|
readonly totals: {
|
|
998
|
-
readonly applyTo:
|
|
998
|
+
readonly applyTo: 'both';
|
|
999
999
|
readonly enabled: true;
|
|
1000
1000
|
readonly showRecordsCount: true;
|
|
1001
1001
|
readonly style: {
|
|
1002
|
-
readonly backgroundColor:
|
|
1003
|
-
readonly fontColor:
|
|
1002
|
+
readonly backgroundColor: '#f3f4f6';
|
|
1003
|
+
readonly fontColor: '#111827';
|
|
1004
1004
|
readonly fontStyle: {
|
|
1005
1005
|
readonly bold: true;
|
|
1006
1006
|
};
|
|
1007
|
-
readonly position:
|
|
1007
|
+
readonly position: 'bottom';
|
|
1008
1008
|
readonly responsiveHeight: true;
|
|
1009
1009
|
};
|
|
1010
1010
|
};
|
|
1011
|
-
readonly type:
|
|
1011
|
+
readonly type: 'table';
|
|
1012
1012
|
readonly version: 1;
|
|
1013
1013
|
};
|
|
1014
1014
|
readonly supportedFeatures: readonly ["dimensions", "filters", "layout", "measures", "query-limit", "sorting", "table-structure", "totals", "value-formatting"];
|
|
1015
|
-
readonly type:
|
|
1015
|
+
readonly type: 'table';
|
|
1016
1016
|
}, {
|
|
1017
1017
|
readonly documentation: {
|
|
1018
1018
|
readonly constraints: readonly ["Dimensions are not supported. Measure order defines the waterfall sequence.", string, "presentation.axes.primaryMeasure.bands shades the plot between two primary measure axis values; start and end are measure values, and the bands replace any on the base vSpec."];
|
|
1019
1019
|
readonly dataRequirements: readonly ["Between one and one hundred measures."];
|
|
1020
|
-
readonly summary:
|
|
1021
|
-
readonly title:
|
|
1020
|
+
readonly summary: 'Sequential contribution chart composed from one or more measures.';
|
|
1021
|
+
readonly title: 'Waterfall chart';
|
|
1022
1022
|
};
|
|
1023
1023
|
readonly example: {
|
|
1024
1024
|
readonly data: {
|
|
1025
1025
|
readonly measures: [{
|
|
1026
|
-
readonly dataLabels: {
|
|
1027
|
-
readonly visible: true;
|
|
1028
|
-
};
|
|
1029
1026
|
readonly aggregation: string;
|
|
1030
1027
|
readonly fieldKey: string;
|
|
1031
1028
|
readonly format: {
|
|
1032
|
-
formatType:
|
|
1033
|
-
negativeType:
|
|
1029
|
+
formatType: 'number2Decimal';
|
|
1030
|
+
negativeType: 'parenthesis';
|
|
1034
1031
|
};
|
|
1035
1032
|
readonly ref: string;
|
|
1036
|
-
}, {
|
|
1037
1033
|
readonly dataLabels: {
|
|
1038
1034
|
readonly visible: true;
|
|
1039
1035
|
};
|
|
1036
|
+
}, {
|
|
1040
1037
|
readonly aggregation: string;
|
|
1041
1038
|
readonly fieldKey: string;
|
|
1042
1039
|
readonly format: {
|
|
1043
|
-
formatType:
|
|
1044
|
-
negativeType:
|
|
1040
|
+
formatType: 'number2Decimal';
|
|
1041
|
+
negativeType: 'parenthesis';
|
|
1045
1042
|
};
|
|
1046
1043
|
readonly ref: string;
|
|
1044
|
+
readonly dataLabels: {
|
|
1045
|
+
readonly visible: true;
|
|
1046
|
+
};
|
|
1047
1047
|
}];
|
|
1048
1048
|
};
|
|
1049
1049
|
readonly filterGroup: {
|
|
1050
1050
|
filters: {
|
|
1051
1051
|
fieldKey: "[Cars].[Manufacturer]";
|
|
1052
|
-
operator:
|
|
1052
|
+
operator: 'inList';
|
|
1053
1053
|
values: string[];
|
|
1054
1054
|
}[];
|
|
1055
|
-
operator:
|
|
1055
|
+
operator: 'and';
|
|
1056
1056
|
};
|
|
1057
1057
|
readonly presentation: {
|
|
1058
1058
|
readonly axes: {
|
|
@@ -1070,19 +1070,19 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1070
1070
|
readonly dataLabels: {
|
|
1071
1071
|
readonly visible: true;
|
|
1072
1072
|
};
|
|
1073
|
-
readonly orientation:
|
|
1073
|
+
readonly orientation: 'vertical';
|
|
1074
1074
|
};
|
|
1075
|
-
readonly type:
|
|
1075
|
+
readonly type: 'waterfall';
|
|
1076
1076
|
readonly version: 1;
|
|
1077
1077
|
};
|
|
1078
1078
|
readonly supportedFeatures: readonly ["axes", "axis-bands", "axis-range", "data-labels", "filters", "measures", "orientation", "value-formatting"];
|
|
1079
|
-
readonly type:
|
|
1079
|
+
readonly type: 'waterfall';
|
|
1080
1080
|
}, {
|
|
1081
1081
|
readonly documentation: {
|
|
1082
1082
|
readonly constraints: readonly ["The dimension supplies words and the measure supplies their weight."];
|
|
1083
1083
|
readonly dataRequirements: readonly ["Exactly one dimension.", "Exactly one measure."];
|
|
1084
|
-
readonly summary:
|
|
1085
|
-
readonly title:
|
|
1084
|
+
readonly summary: 'Weighted word display using one label dimension and one measure.';
|
|
1085
|
+
readonly title: 'Word cloud';
|
|
1086
1086
|
};
|
|
1087
1087
|
readonly example: {
|
|
1088
1088
|
readonly data: {
|
|
@@ -1092,103 +1092,103 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1092
1092
|
readonly filterGroup: {
|
|
1093
1093
|
filters: {
|
|
1094
1094
|
fieldKey: "[Cars].[Manufacturer]";
|
|
1095
|
-
operator:
|
|
1095
|
+
operator: 'inList';
|
|
1096
1096
|
values: string[];
|
|
1097
1097
|
}[];
|
|
1098
|
-
operator:
|
|
1098
|
+
operator: 'and';
|
|
1099
1099
|
};
|
|
1100
|
-
readonly type:
|
|
1100
|
+
readonly type: 'word-cloud';
|
|
1101
1101
|
readonly version: 1;
|
|
1102
1102
|
};
|
|
1103
1103
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring"];
|
|
1104
|
-
readonly type:
|
|
1104
|
+
readonly type: 'word-cloud';
|
|
1105
1105
|
}, {
|
|
1106
1106
|
readonly documentation: {
|
|
1107
1107
|
readonly constraints: readonly ["The selected field must be date- or timestamp-compatible.", "A `range` picker always shows its calendar, so `pickerState: \"collapsed\"` is refused on it. Use `inputRange` for a compact picker."];
|
|
1108
1108
|
readonly dataRequirements: readonly ["Exactly one field."];
|
|
1109
|
-
readonly summary:
|
|
1110
|
-
readonly title:
|
|
1109
|
+
readonly summary: 'Date selection control with single/range modes, labels, quick select, and responsive settings.';
|
|
1110
|
+
readonly title: 'Date picker';
|
|
1111
1111
|
};
|
|
1112
1112
|
readonly example: {
|
|
1113
1113
|
readonly data: {
|
|
1114
1114
|
readonly field: ExampleField;
|
|
1115
1115
|
};
|
|
1116
1116
|
readonly settings: {
|
|
1117
|
-
readonly endDateLabel:
|
|
1118
|
-
readonly pickerState:
|
|
1119
|
-
readonly pickerType:
|
|
1117
|
+
readonly endDateLabel: 'To';
|
|
1118
|
+
readonly pickerState: 'expanded';
|
|
1119
|
+
readonly pickerType: 'range';
|
|
1120
1120
|
readonly quickSelect: true;
|
|
1121
|
-
readonly startDateLabel:
|
|
1122
|
-
readonly timePickerVisibility:
|
|
1123
|
-
readonly weekStart:
|
|
1121
|
+
readonly startDateLabel: 'From';
|
|
1122
|
+
readonly timePickerVisibility: 'never';
|
|
1123
|
+
readonly weekStart: '1';
|
|
1124
1124
|
};
|
|
1125
|
-
readonly type:
|
|
1125
|
+
readonly type: 'date-picker';
|
|
1126
1126
|
readonly version: 1;
|
|
1127
1127
|
};
|
|
1128
1128
|
readonly supportedFeatures: readonly ["dimensions", "filter-settings"];
|
|
1129
|
-
readonly type:
|
|
1129
|
+
readonly type: 'date-picker';
|
|
1130
1130
|
}, {
|
|
1131
1131
|
readonly documentation: {
|
|
1132
1132
|
readonly constraints: readonly ["The selected field is used as a filter dimension."];
|
|
1133
1133
|
readonly dataRequirements: readonly ["Exactly one field."];
|
|
1134
|
-
readonly summary:
|
|
1135
|
-
readonly title:
|
|
1134
|
+
readonly summary: 'Interactive field filter with list/dropdown presentation and search/quick-select controls.';
|
|
1135
|
+
readonly title: 'Filter';
|
|
1136
1136
|
};
|
|
1137
1137
|
readonly example: {
|
|
1138
1138
|
readonly data: {
|
|
1139
1139
|
readonly field: ExampleField;
|
|
1140
1140
|
};
|
|
1141
1141
|
readonly presentation: {
|
|
1142
|
-
readonly mode:
|
|
1142
|
+
readonly mode: 'listbox';
|
|
1143
1143
|
readonly quickSelect: true;
|
|
1144
1144
|
readonly searchable: true;
|
|
1145
1145
|
readonly showProgressBar: false;
|
|
1146
1146
|
};
|
|
1147
|
-
readonly type:
|
|
1147
|
+
readonly type: 'filter';
|
|
1148
1148
|
readonly version: 1;
|
|
1149
1149
|
};
|
|
1150
1150
|
readonly supportedFeatures: readonly ["dimensions", "filter-settings"];
|
|
1151
|
-
readonly type:
|
|
1151
|
+
readonly type: 'filter';
|
|
1152
1152
|
}, {
|
|
1153
1153
|
readonly documentation: {
|
|
1154
1154
|
readonly constraints: readonly ["The URL must be absolute and valid; null clears the source."];
|
|
1155
1155
|
readonly dataRequirements: readonly ["No query data."];
|
|
1156
|
-
readonly summary:
|
|
1157
|
-
readonly title:
|
|
1156
|
+
readonly summary: 'Embedded external web content.';
|
|
1157
|
+
readonly title: 'Iframe';
|
|
1158
1158
|
};
|
|
1159
1159
|
readonly example: {
|
|
1160
1160
|
readonly settings: {
|
|
1161
|
-
readonly url:
|
|
1161
|
+
readonly url: 'https://example.com';
|
|
1162
1162
|
};
|
|
1163
|
-
readonly type:
|
|
1163
|
+
readonly type: 'iframe';
|
|
1164
1164
|
readonly version: 1;
|
|
1165
1165
|
};
|
|
1166
1166
|
readonly supportedFeatures: readonly ["content"];
|
|
1167
|
-
readonly type:
|
|
1167
|
+
readonly type: 'iframe';
|
|
1168
1168
|
}, {
|
|
1169
1169
|
readonly documentation: {
|
|
1170
1170
|
readonly constraints: readonly ["The source must use one of the supported image source variants."];
|
|
1171
1171
|
readonly dataRequirements: readonly ["No query data."];
|
|
1172
|
-
readonly summary:
|
|
1173
|
-
readonly title:
|
|
1172
|
+
readonly summary: 'Image content with fit, opacity, blur, saturation, and shadow controls.';
|
|
1173
|
+
readonly title: 'Image';
|
|
1174
1174
|
};
|
|
1175
1175
|
readonly example: {
|
|
1176
1176
|
readonly settings: {
|
|
1177
1177
|
readonly blur: 0;
|
|
1178
|
-
readonly fit:
|
|
1178
|
+
readonly fit: 'contain';
|
|
1179
1179
|
readonly opacity: 0.95;
|
|
1180
1180
|
readonly saturation: 0.9;
|
|
1181
1181
|
readonly shadow: true;
|
|
1182
1182
|
readonly source: {
|
|
1183
|
-
readonly imageUrl:
|
|
1184
|
-
readonly sourceKind:
|
|
1183
|
+
readonly imageUrl: 'https://example.com/image.png';
|
|
1184
|
+
readonly sourceKind: 'url';
|
|
1185
1185
|
};
|
|
1186
1186
|
};
|
|
1187
|
-
readonly type:
|
|
1187
|
+
readonly type: 'image';
|
|
1188
1188
|
readonly version: 1;
|
|
1189
1189
|
};
|
|
1190
1190
|
readonly supportedFeatures: readonly ["content", "object-settings"];
|
|
1191
|
-
readonly type:
|
|
1191
|
+
readonly type: 'image';
|
|
1192
1192
|
}, {
|
|
1193
1193
|
readonly additionalExamples: readonly [{
|
|
1194
1194
|
readonly definition: {
|
|
@@ -1198,25 +1198,25 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1198
1198
|
readonly filterGroup: {
|
|
1199
1199
|
readonly filters: [{
|
|
1200
1200
|
readonly fieldKey: "[Cars].[Model]";
|
|
1201
|
-
readonly operator:
|
|
1202
|
-
readonly value:
|
|
1201
|
+
readonly operator: 'contains';
|
|
1202
|
+
readonly value: 'Sport';
|
|
1203
1203
|
}, {
|
|
1204
1204
|
readonly fieldKey: "[Cars].[Horsepower]";
|
|
1205
|
-
readonly operator:
|
|
1206
|
-
readonly value:
|
|
1205
|
+
readonly operator: 'greaterThanOrEqualTo';
|
|
1206
|
+
readonly value: '200';
|
|
1207
1207
|
}];
|
|
1208
|
-
readonly operator:
|
|
1208
|
+
readonly operator: 'and';
|
|
1209
1209
|
};
|
|
1210
|
-
readonly type:
|
|
1210
|
+
readonly type: 'number';
|
|
1211
1211
|
readonly version: 1;
|
|
1212
1212
|
};
|
|
1213
|
-
readonly title:
|
|
1213
|
+
readonly title: 'Value filtered by single-value conditions';
|
|
1214
1214
|
}];
|
|
1215
1215
|
readonly documentation: {
|
|
1216
1216
|
readonly constraints: readonly ["A raw field measure requires aggregation; semantic measures and calculations omit it.", "Each static filter takes the value keys of its operator: inList and excludedFromList take a values array, isBetween and isNotBetween take valueFrom and valueTo, isNull and notNull take none, and every other operator, such as contains, takes one string in value.", "A measure with no value draws nothing rather than 0, and thresholds and comparisons do not apply to it."];
|
|
1217
1217
|
readonly dataRequirements: readonly ["Exactly one measure."];
|
|
1218
|
-
readonly summary:
|
|
1219
|
-
readonly title:
|
|
1218
|
+
readonly summary: 'Single aggregated or semantic value with value formatting and static filters.';
|
|
1219
|
+
readonly title: 'Number';
|
|
1220
1220
|
};
|
|
1221
1221
|
readonly example: {
|
|
1222
1222
|
readonly data: {
|
|
@@ -1225,29 +1225,29 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1225
1225
|
readonly filterGroup: {
|
|
1226
1226
|
filters: {
|
|
1227
1227
|
fieldKey: "[Cars].[Manufacturer]";
|
|
1228
|
-
operator:
|
|
1228
|
+
operator: 'inList';
|
|
1229
1229
|
values: string[];
|
|
1230
1230
|
}[];
|
|
1231
|
-
operator:
|
|
1231
|
+
operator: 'and';
|
|
1232
1232
|
};
|
|
1233
|
-
readonly type:
|
|
1233
|
+
readonly type: 'number';
|
|
1234
1234
|
readonly version: 1;
|
|
1235
1235
|
};
|
|
1236
1236
|
readonly supportedFeatures: readonly ["filters", "measures", "value-formatting"];
|
|
1237
|
-
readonly type:
|
|
1237
|
+
readonly type: 'number';
|
|
1238
1238
|
}, {
|
|
1239
1239
|
readonly documentation: {
|
|
1240
1240
|
readonly constraints: readonly ["Image-specific settings apply only when the selected shape/background mode supports them."];
|
|
1241
1241
|
readonly dataRequirements: readonly ["No query data."];
|
|
1242
|
-
readonly summary:
|
|
1243
|
-
readonly title:
|
|
1242
|
+
readonly summary: 'Decorative shape with fill, stroke, sizing, rotation, and border controls.';
|
|
1243
|
+
readonly title: 'Shape';
|
|
1244
1244
|
};
|
|
1245
1245
|
readonly example: {
|
|
1246
1246
|
readonly settings: {
|
|
1247
1247
|
readonly backgroundColor: {
|
|
1248
|
-
readonly code:
|
|
1248
|
+
readonly code: '#2e6e9e';
|
|
1249
1249
|
};
|
|
1250
|
-
readonly backgroundType:
|
|
1250
|
+
readonly backgroundType: 'color';
|
|
1251
1251
|
readonly borderEnabled: true;
|
|
1252
1252
|
readonly borderRadius: 8;
|
|
1253
1253
|
readonly heightBasedSize: false;
|
|
@@ -1255,97 +1255,97 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1255
1255
|
readonly preserveAspectRatio: true;
|
|
1256
1256
|
readonly rotate: 12;
|
|
1257
1257
|
readonly scale: 0.7;
|
|
1258
|
-
readonly shape:
|
|
1258
|
+
readonly shape: 'hexagon';
|
|
1259
1259
|
readonly strokeColor: {
|
|
1260
|
-
readonly code:
|
|
1260
|
+
readonly code: '#18212b';
|
|
1261
1261
|
};
|
|
1262
1262
|
};
|
|
1263
|
-
readonly type:
|
|
1263
|
+
readonly type: 'shape';
|
|
1264
1264
|
readonly version: 1;
|
|
1265
1265
|
};
|
|
1266
1266
|
readonly supportedFeatures: readonly ["object-settings"];
|
|
1267
|
-
readonly type:
|
|
1267
|
+
readonly type: 'shape';
|
|
1268
1268
|
}, {
|
|
1269
1269
|
readonly documentation: {
|
|
1270
1270
|
readonly constraints: readonly ["Content interpretation follows the selected representation."];
|
|
1271
1271
|
readonly dataRequirements: readonly ["No query data."];
|
|
1272
|
-
readonly summary:
|
|
1273
|
-
readonly title:
|
|
1272
|
+
readonly summary: 'Text or Markdown content with typography, alignment, wrapping, and responsive controls.';
|
|
1273
|
+
readonly title: 'Text object';
|
|
1274
1274
|
};
|
|
1275
1275
|
readonly example: {
|
|
1276
1276
|
readonly settings: {
|
|
1277
|
-
readonly align:
|
|
1278
|
-
readonly content:
|
|
1279
|
-
readonly fontFamily:
|
|
1277
|
+
readonly align: 'center';
|
|
1278
|
+
readonly content: '## Revenue overview';
|
|
1279
|
+
readonly fontFamily: 'Arial';
|
|
1280
1280
|
readonly fontSize: 30;
|
|
1281
|
-
readonly position:
|
|
1282
|
-
readonly representation:
|
|
1281
|
+
readonly position: 'middle';
|
|
1282
|
+
readonly representation: 'markdown';
|
|
1283
1283
|
readonly responsive: true;
|
|
1284
|
-
readonly textColor:
|
|
1284
|
+
readonly textColor: '#18212b';
|
|
1285
1285
|
readonly wordWrap: true;
|
|
1286
1286
|
};
|
|
1287
|
-
readonly type:
|
|
1287
|
+
readonly type: 'simpleTextObject';
|
|
1288
1288
|
readonly version: 1;
|
|
1289
1289
|
};
|
|
1290
1290
|
readonly supportedFeatures: readonly ["content", "object-settings"];
|
|
1291
|
-
readonly type:
|
|
1291
|
+
readonly type: 'simpleTextObject';
|
|
1292
1292
|
}, {
|
|
1293
1293
|
readonly documentation: {
|
|
1294
1294
|
readonly constraints: readonly ["The referenced variable must exist in the host variable service when variable behavior is used."];
|
|
1295
1295
|
readonly dataRequirements: readonly ["No query data; variable-backed input."];
|
|
1296
|
-
readonly summary:
|
|
1297
|
-
readonly title:
|
|
1296
|
+
readonly summary: 'Variable input control with input type, label, placeholder, and responsive settings.';
|
|
1297
|
+
readonly title: 'Atomic input';
|
|
1298
1298
|
};
|
|
1299
1299
|
readonly example: {
|
|
1300
1300
|
readonly settings: {
|
|
1301
1301
|
readonly customLabel: {
|
|
1302
1302
|
readonly enabled: true;
|
|
1303
|
-
readonly text:
|
|
1303
|
+
readonly text: 'Target';
|
|
1304
1304
|
};
|
|
1305
|
-
readonly inputType:
|
|
1306
|
-
readonly placeholder:
|
|
1305
|
+
readonly inputType: 'text';
|
|
1306
|
+
readonly placeholder: 'Enter target';
|
|
1307
1307
|
readonly responsive: true;
|
|
1308
|
-
readonly variableId:
|
|
1308
|
+
readonly variableId: 'target-variable';
|
|
1309
1309
|
};
|
|
1310
|
-
readonly type:
|
|
1310
|
+
readonly type: 'atomic-input';
|
|
1311
1311
|
readonly version: 1;
|
|
1312
1312
|
};
|
|
1313
1313
|
readonly supportedFeatures: readonly ["input-settings"];
|
|
1314
|
-
readonly type:
|
|
1314
|
+
readonly type: 'atomic-input';
|
|
1315
1315
|
}, {
|
|
1316
1316
|
readonly documentation: {
|
|
1317
1317
|
readonly constraints: readonly ["Orientation defaults to horizontal. Use vertical for stacked sidebar filters; editors open beside the sidebar when space permits.", "The bar displays active selections from its selection group, regardless of the fields allowed for creating new filters.", "An empty selectableFieldKeys list allows users to create filters on any selectable field.", "Selection mode overrides apply only to selections created by this bar; apply, cancel, and clear affect the shared selection group.", "Chart breakdown switching is hidden by default. Enable showChartBreakdown only when the app uses dimension groups; a group must have multiple available fields for the control to appear."];
|
|
1318
1318
|
readonly dataRequirements: readonly ["No query data; uses field metadata and selections supplied by the host."];
|
|
1319
|
-
readonly summary:
|
|
1320
|
-
readonly title:
|
|
1319
|
+
readonly summary: 'App filter bar settings for selection behavior, filter creation, associative filtering, and selectable fields.';
|
|
1320
|
+
readonly title: 'Astrato App Filter Bar';
|
|
1321
1321
|
};
|
|
1322
1322
|
readonly example: {
|
|
1323
1323
|
readonly settings: {
|
|
1324
1324
|
readonly enableAddingNewFilters: true;
|
|
1325
1325
|
readonly enableAssociativeFilter: true;
|
|
1326
1326
|
readonly selectableFieldKeys: ["[Cars].[Manufacturer]", "[Cars].[Model]"];
|
|
1327
|
-
readonly selectionMode:
|
|
1327
|
+
readonly selectionMode: 'inherit';
|
|
1328
1328
|
readonly showChartBreakdown: false;
|
|
1329
1329
|
readonly showClearAll: true;
|
|
1330
1330
|
};
|
|
1331
|
-
readonly type:
|
|
1331
|
+
readonly type: 'astrato-app-filter-bar';
|
|
1332
1332
|
readonly version: 1;
|
|
1333
1333
|
};
|
|
1334
1334
|
readonly supportedFeatures: readonly ["selection-settings"];
|
|
1335
|
-
readonly type:
|
|
1335
|
+
readonly type: 'astrato-app-filter-bar';
|
|
1336
1336
|
}, {
|
|
1337
1337
|
readonly documentation: {
|
|
1338
1338
|
readonly constraints: readonly ["The field must be numeric or date-compatible with the configured range and step.", "Providing range enables manual bounds; omitting it keeps data-derived bounds."];
|
|
1339
1339
|
readonly dataRequirements: readonly ["Exactly one field."];
|
|
1340
|
-
readonly summary:
|
|
1341
|
-
readonly title:
|
|
1340
|
+
readonly summary: 'Numeric or date range control with single/multi layout, step, and quick select.';
|
|
1341
|
+
readonly title: 'Slider';
|
|
1342
1342
|
};
|
|
1343
1343
|
readonly example: {
|
|
1344
1344
|
readonly data: {
|
|
1345
1345
|
readonly field: ExampleField;
|
|
1346
1346
|
};
|
|
1347
1347
|
readonly settings: {
|
|
1348
|
-
readonly layout:
|
|
1348
|
+
readonly layout: 'multi';
|
|
1349
1349
|
readonly quickSelect: true;
|
|
1350
1350
|
readonly range: {
|
|
1351
1351
|
readonly max: 500;
|
|
@@ -1353,11 +1353,11 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1353
1353
|
};
|
|
1354
1354
|
readonly step: 10;
|
|
1355
1355
|
};
|
|
1356
|
-
readonly type:
|
|
1356
|
+
readonly type: 'slider';
|
|
1357
1357
|
readonly version: 1;
|
|
1358
1358
|
};
|
|
1359
1359
|
readonly supportedFeatures: readonly ["dimensions", "filter-settings"];
|
|
1360
|
-
readonly type:
|
|
1360
|
+
readonly type: 'slider';
|
|
1361
1361
|
}];
|
|
1362
1362
|
/** Returns the documentation metadata associated with one supported visualization type. */
|
|
1363
1363
|
export declare const getVisualizationDefinitionDescriptorMetadata: <TType extends VisualizationDefinitionType>(type: TType) => VisualizationDefinitionDescriptorMetadataEntry<TType>;
|