@astrato-io/visualizations 0.8.0 → 0.10.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 +9 -5
- package/THIRD_PARTY_NOTICES.md +403 -325
- package/VISUALIZATION_DEFINITIONS.md +319 -32
- package/chunks/{Button-BrGKp9Nm.js → Button-CCF851ea.js} +10 -10
- package/chunks/CircularProgress-yupH6YWs.js +765 -0
- package/chunks/FieldTypeIcon-D_MzsdfY.js +22 -0
- package/chunks/LinearProgress-CyFjN4px.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-CQpT79AP.js} +1391 -1008
- package/chunks/Title-C-p4ZarD.js +1804 -0
- package/chunks/_createAggregator-BF4qG9XK.js +50 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-8fxCo2q7.js} +10 -10
- package/chunks/bar-layout-DStC-GNV.js +9 -0
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-CQAu8KL8.js} +102 -84
- package/chunks/{builder-DEDvNq1k.js → builder-CScg1TOS.js} +156 -60
- package/chunks/color-rules-DYJL4fIW.js +15 -0
- package/chunks/color-settings-DJFoFTip.js +5 -0
- package/chunks/{coloring-CncX_JRX.js → coloring-9jU3s_-p.js} +41 -41
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/createSimplePaletteValueFilter-C4hZpCdn.js +2005 -0
- package/chunks/defaults-cyNhn37t.js +3 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-C4grxhye.js} +612 -400
- package/chunks/{escobar-DRhRMYRE.js → escobar-CjirINHP.js} +5354 -5473
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-D-l9u_we.js} +974 -909
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-lji2Acgn.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-C1zakrrX.js} +570 -390
- package/chunks/handlers-ZviIUC-j.js +15387 -0
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-Bj80ZUBK.js} +11 -11
- package/chunks/isEqual-Ch9OEye3.js +16 -0
- package/chunks/isFocusVisible-CgMP0qkR.js +144 -0
- package/chunks/label-format-type-C46pzgx7.js +17 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-De5fiKuR.js} +6 -6
- package/chunks/{logger-DpQtYQnX.js → logger-CKRjhSHQ.js} +77 -66
- package/chunks/map.compiler-CKzorLgK.js +345 -0
- package/chunks/{metadata-WABZrt7Y.js → metadata-Bb9pTXrq.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CaTmJkmi.js} +4 -4
- package/chunks/operations-DZoY50VX.js +31297 -0
- package/chunks/{range-Bi-7zT0k.js → range-D1BTmFMp.js} +2 -2
- package/chunks/react-dom-Dgv2azN2.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-_P3xwu5A.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-NHNrR8Ie.js} +55 -53
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/shared-UitWpq1J.js +1331 -0
- package/chunks/standalone-B0U6c3su.js +3638 -0
- package/chunks/{standalone-we5D5MIn.js → standalone-BBu90BhK.js} +113 -113
- package/chunks/standalone-BEekPuA12.js +357 -0
- package/chunks/{standalone-BMTCb10X.js → standalone-BOzHA_d4.js} +41 -41
- package/chunks/standalone-BR2JuRIC.js +422 -0
- package/chunks/{standalone-BGkmozIb.js → standalone-BapqaniK.js} +619 -619
- package/chunks/standalone-Bnnr87pc.js +2009 -0
- package/chunks/standalone-BwJqDj2Z.js +396 -0
- package/chunks/{standalone-BDhPQtzQ.js → standalone-ByKKqT5L.js} +308 -300
- package/chunks/{standalone-vBnBS2YC.js → standalone-CRdDZYeM.js} +1788 -1004
- package/chunks/standalone-CRfDOO1x.js +287 -0
- package/chunks/{standalone-D5Q5ngsD.js → standalone-CVknVdUC.js} +30 -27
- package/chunks/standalone-CbPk8bKn.js +580 -0
- package/chunks/{standalone-CJvIXsQE.js → standalone-Ck63MZzj.js} +234 -232
- package/chunks/{standalone-CM5XcAN5.js → standalone-DCFY1MAV.js} +8075 -7729
- package/chunks/{standalone-DW6NT205.js → standalone-DZDGX3aa.js} +168 -168
- package/chunks/standalone-DhfgeJIk.js +1012 -0
- package/chunks/{standalone-DT0wKji7.js → standalone-DibjA73M.js} +2 -2
- package/chunks/{standalone-XuGksArp.js → standalone-DtBk_iUz.js} +9 -8
- package/chunks/standalone-DxBAyqAu.js +772 -0
- package/chunks/standalone-KMQPsNsq.js +2 -0
- package/chunks/standalone-MBLSvsrY.js +2 -0
- package/chunks/standalone-U0WJwFlG.js +354 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-swGs70tD.js} +49 -51
- package/chunks/standalone-wgFAVnnm.js +355 -0
- package/chunks/standalone-xGV0dqPV.js +689 -0
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-OWSx5MOq.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-B8iCYyw1.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-3Igg6xmO.js} +7668 -12779
- package/chunks/{view-BuwQugKb.js → view-DdMLZySj.js} +2430 -2110
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-CzvFHE6M.js} +5205 -4438
- package/chunks/with-html-element-DOfkR3C1.js +16094 -0
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +303 -2
- package/docs/operations/combo.md +262 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +148 -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 +262 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +8 -8
- package/docs/operations/line.md +262 -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 +148 -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 +439 -157
- 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 +523 -469
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +74 -68
- package/src/definitions/index.d.ts +1 -1
- package/src/definitions/model/definitions/available-fields.d.ts +2 -2
- package/src/definitions/model/definitions/compilers/compile.d.ts +1 -0
- package/src/definitions/model/definitions/data-item-resolution.d.ts +3 -3
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +535 -349
- package/src/definitions/model/definitions/index.d.ts +2 -1
- package/src/definitions/model/definitions/schema-registry.d.ts +406 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +10 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +33 -32
- package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
- 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/definitions/model/definitions/types/compilation.types.d.ts +7 -2
- package/src/definitions/model/definitions/types/definition.types.d.ts +2 -2
- package/src/definitions/model/definitions/types/index.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/operations/index.d.ts +1 -1
- package/src/types.d.ts +45 -41
- 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/color-rules-CN7TcGrC.js +0 -6
- package/chunks/color-settings-3VRlf_Vw.js +0 -6
- package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/handlers-TOT-7INo.js +0 -12871
- package/chunks/isEqual-B8loyPsC.js +0 -12
- package/chunks/label-format-type-weq1XfcX.js +0 -8
- package/chunks/operations-Dh4v1Ovt.js +0 -26280
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/shared-Bn4N5QcZ.js +0 -1218
- package/chunks/standalone-B55oyW6c.js +0 -689
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-Bes8srx1.js +0 -354
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-BlMIwpEe.js +0 -1877
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-CLmGb7nn2.js +0 -355
- package/chunks/standalone-CXNP6-xD.js +0 -420
- package/chunks/standalone-DLlyRIE6.js +0 -287
- package/chunks/standalone-DMcI1afI.js +0 -396
- package/chunks/standalone-DN4S1MjT.js +0 -3874
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/standalone-D__XCp-h.js +0 -1003
- package/chunks/standalone-XTgSsTAa.js +0 -354
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
|
@@ -43,6 +43,192 @@ interface ExampleMeasure {
|
|
|
43
43
|
* Adding a new VisualizationDefinition type without a corresponding entry fails TypeScript compilation.
|
|
44
44
|
*/
|
|
45
45
|
export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
46
|
+
type: "map";
|
|
47
|
+
documentation: {
|
|
48
|
+
title: string;
|
|
49
|
+
summary: string;
|
|
50
|
+
dataRequirements: string[];
|
|
51
|
+
constraints: string[];
|
|
52
|
+
};
|
|
53
|
+
example: {
|
|
54
|
+
type: "map";
|
|
55
|
+
version: 1;
|
|
56
|
+
layers: ({
|
|
57
|
+
type: 'map';
|
|
58
|
+
ref: string;
|
|
59
|
+
presentation: {
|
|
60
|
+
mapType: 'openStreetMap';
|
|
61
|
+
};
|
|
62
|
+
} | {
|
|
63
|
+
type: "point";
|
|
64
|
+
ref: string;
|
|
65
|
+
locationType: "latLng";
|
|
66
|
+
data: {
|
|
67
|
+
dimensions: {
|
|
68
|
+
ref: string;
|
|
69
|
+
fieldKey: string;
|
|
70
|
+
}[];
|
|
71
|
+
measures: {
|
|
72
|
+
aggregation?: string | undefined;
|
|
73
|
+
fieldKey: string;
|
|
74
|
+
ref: string;
|
|
75
|
+
role: "fourthGeo" | "geo" | "measure" | "secondGeo" | "size" | "thirdGeo";
|
|
76
|
+
}[];
|
|
77
|
+
};
|
|
78
|
+
presentation: {
|
|
79
|
+
color: string;
|
|
80
|
+
sizing: {
|
|
81
|
+
size: number;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
})[];
|
|
85
|
+
};
|
|
86
|
+
additionalExamples: ({
|
|
87
|
+
title: string;
|
|
88
|
+
definition: {
|
|
89
|
+
type: "map";
|
|
90
|
+
version: 1;
|
|
91
|
+
layers: ({
|
|
92
|
+
type: 'map';
|
|
93
|
+
ref: string;
|
|
94
|
+
presentation: {
|
|
95
|
+
mapType: 'openStreetMap';
|
|
96
|
+
};
|
|
97
|
+
} | {
|
|
98
|
+
type: "heatMap";
|
|
99
|
+
ref: string;
|
|
100
|
+
locationType: "latLng";
|
|
101
|
+
data: {
|
|
102
|
+
dimensions: {
|
|
103
|
+
ref: string;
|
|
104
|
+
fieldKey: string;
|
|
105
|
+
}[];
|
|
106
|
+
measures: {
|
|
107
|
+
aggregation?: string | undefined;
|
|
108
|
+
fieldKey: string;
|
|
109
|
+
ref: string;
|
|
110
|
+
role: "fourthGeo" | "geo" | "measure" | "secondGeo" | "size" | "thirdGeo";
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
113
|
+
presentation: {
|
|
114
|
+
heat: {
|
|
115
|
+
radius: number;
|
|
116
|
+
blur: number;
|
|
117
|
+
};
|
|
118
|
+
value: {
|
|
119
|
+
type: "fixed";
|
|
120
|
+
value: number;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
})[];
|
|
124
|
+
view?: never;
|
|
125
|
+
};
|
|
126
|
+
} | {
|
|
127
|
+
title: string;
|
|
128
|
+
definition: {
|
|
129
|
+
type: "map";
|
|
130
|
+
version: 1;
|
|
131
|
+
layers: ({
|
|
132
|
+
type: 'map';
|
|
133
|
+
ref: string;
|
|
134
|
+
presentation: {
|
|
135
|
+
mapType: 'openStreetMap';
|
|
136
|
+
};
|
|
137
|
+
} | {
|
|
138
|
+
type: "pointConnection";
|
|
139
|
+
ref: string;
|
|
140
|
+
locationType: "latLng";
|
|
141
|
+
secondLocationType: "latLng";
|
|
142
|
+
data: {
|
|
143
|
+
dimensions: {
|
|
144
|
+
ref: string;
|
|
145
|
+
fieldKey: string;
|
|
146
|
+
}[];
|
|
147
|
+
measures: {
|
|
148
|
+
aggregation?: string | undefined;
|
|
149
|
+
fieldKey: string;
|
|
150
|
+
ref: string;
|
|
151
|
+
role: "fourthGeo" | "geo" | "measure" | "secondGeo" | "size" | "thirdGeo";
|
|
152
|
+
}[];
|
|
153
|
+
};
|
|
154
|
+
presentation: {
|
|
155
|
+
useGeodesicLines: true;
|
|
156
|
+
arrow: {
|
|
157
|
+
show: true;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
})[];
|
|
161
|
+
view?: never;
|
|
162
|
+
};
|
|
163
|
+
} | {
|
|
164
|
+
title: string;
|
|
165
|
+
definition: {
|
|
166
|
+
type: "map";
|
|
167
|
+
version: 1;
|
|
168
|
+
layers: ({
|
|
169
|
+
type: 'map';
|
|
170
|
+
ref: string;
|
|
171
|
+
presentation: {
|
|
172
|
+
mapType: 'openStreetMap';
|
|
173
|
+
};
|
|
174
|
+
} | {
|
|
175
|
+
type: "shape";
|
|
176
|
+
ref: string;
|
|
177
|
+
data: {
|
|
178
|
+
dimensions: {
|
|
179
|
+
ref: string;
|
|
180
|
+
fieldKey: string;
|
|
181
|
+
}[];
|
|
182
|
+
measures: {
|
|
183
|
+
ref: string;
|
|
184
|
+
fieldKey: string;
|
|
185
|
+
aggregation: string;
|
|
186
|
+
role: "geo";
|
|
187
|
+
}[];
|
|
188
|
+
};
|
|
189
|
+
presentation: {
|
|
190
|
+
color: string;
|
|
191
|
+
opacity: number;
|
|
192
|
+
strokeEnabled: true;
|
|
193
|
+
};
|
|
194
|
+
})[];
|
|
195
|
+
view?: never;
|
|
196
|
+
};
|
|
197
|
+
} | {
|
|
198
|
+
title: string;
|
|
199
|
+
definition: {
|
|
200
|
+
type: "map";
|
|
201
|
+
version: 1;
|
|
202
|
+
layers: ({
|
|
203
|
+
type: 'map';
|
|
204
|
+
ref: string;
|
|
205
|
+
presentation: {
|
|
206
|
+
mapType: 'openStreetMap';
|
|
207
|
+
};
|
|
208
|
+
} | {
|
|
209
|
+
type: "image";
|
|
210
|
+
ref: string;
|
|
211
|
+
image: {
|
|
212
|
+
imageUrl: string;
|
|
213
|
+
};
|
|
214
|
+
position: {
|
|
215
|
+
topLeftLatitude: number;
|
|
216
|
+
topLeftLongitude: number;
|
|
217
|
+
bottomRightLatitude: number;
|
|
218
|
+
bottomRightLongitude: number;
|
|
219
|
+
};
|
|
220
|
+
opacity: number;
|
|
221
|
+
})[];
|
|
222
|
+
view: {
|
|
223
|
+
latitude: number;
|
|
224
|
+
longitude: number;
|
|
225
|
+
zoom: number;
|
|
226
|
+
zoomMode: "manual";
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
})[];
|
|
230
|
+
supportedFeatures: ("data-labels" | "data-points" | "dimensions" | "filters" | "measures" | "object-settings")[];
|
|
231
|
+
}, {
|
|
46
232
|
readonly additionalExamples: readonly [{
|
|
47
233
|
readonly definition: {
|
|
48
234
|
readonly data: {
|
|
@@ -52,83 +238,72 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
52
238
|
readonly presentation: {
|
|
53
239
|
readonly coloring: {
|
|
54
240
|
readonly overwrites: [{
|
|
55
|
-
readonly color:
|
|
56
|
-
readonly value:
|
|
241
|
+
readonly color: '#0F766E';
|
|
242
|
+
readonly value: 'Audi';
|
|
57
243
|
}, {
|
|
58
|
-
readonly color:
|
|
59
|
-
readonly operator:
|
|
244
|
+
readonly color: '#D97706';
|
|
245
|
+
readonly operator: 'inList';
|
|
60
246
|
readonly values: ["BMW", "Buick"];
|
|
61
247
|
}];
|
|
62
248
|
readonly rules: [{
|
|
63
|
-
readonly color:
|
|
64
|
-
readonly measure:
|
|
65
|
-
readonly operator:
|
|
249
|
+
readonly color: '#DC2626';
|
|
250
|
+
readonly measure: 'sales';
|
|
251
|
+
readonly operator: 'less';
|
|
66
252
|
readonly value: 20;
|
|
67
253
|
}];
|
|
68
254
|
};
|
|
69
255
|
};
|
|
70
|
-
readonly type:
|
|
256
|
+
readonly type: 'bar';
|
|
71
257
|
readonly version: 1;
|
|
72
258
|
};
|
|
73
|
-
readonly title:
|
|
259
|
+
readonly title: 'Colors bound to dimension values and a measure threshold';
|
|
74
260
|
}];
|
|
75
261
|
readonly documentation: {
|
|
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."];
|
|
262
|
+
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.", "Several measures on one dimension are drawn side by side unless presentation.layout is stacked. A second dimension is a series, stacked unless presentation.layout is groups. One dimension with one measure ignores layout.", "Data label placements are tried in order; inside labels sit at the end of the bar. Set dataLabels.textColor to fix the label color in every placement."];
|
|
77
263
|
readonly dataRequirements: readonly ["At least one dimension.", "At least one measure."];
|
|
78
|
-
readonly summary:
|
|
79
|
-
readonly title:
|
|
264
|
+
readonly summary: 'Categorical comparison chart with sorting, limiting, per-measure axes, labels, layout, and orientation controls.';
|
|
265
|
+
readonly title: 'Bar chart';
|
|
80
266
|
};
|
|
81
267
|
readonly example: {
|
|
82
268
|
readonly data: {
|
|
83
269
|
readonly dimensions: [{
|
|
84
|
-
readonly showNullValues: false;
|
|
85
270
|
readonly fieldKey: string;
|
|
86
271
|
readonly ref: string;
|
|
272
|
+
readonly showNullValues: false;
|
|
87
273
|
}];
|
|
88
274
|
readonly measures: [{
|
|
89
|
-
readonly dataLabels: {
|
|
90
|
-
readonly placements: ["outside", "inside"];
|
|
91
|
-
readonly visible: true;
|
|
92
|
-
};
|
|
93
275
|
readonly aggregation: string;
|
|
94
276
|
readonly fieldKey: string;
|
|
95
277
|
readonly format: {
|
|
96
|
-
formatType:
|
|
97
|
-
negativeType:
|
|
278
|
+
formatType: 'number2Decimal';
|
|
279
|
+
negativeType: 'parenthesis';
|
|
98
280
|
};
|
|
99
281
|
readonly ref: string;
|
|
282
|
+
readonly dataLabels: {
|
|
283
|
+
readonly placements: ["outside", "inside"];
|
|
284
|
+
readonly visible: true;
|
|
285
|
+
};
|
|
100
286
|
}];
|
|
101
287
|
};
|
|
102
288
|
readonly filterGroup: {
|
|
103
289
|
filters: {
|
|
104
290
|
fieldKey: "[Cars].[Manufacturer]";
|
|
105
|
-
operator:
|
|
291
|
+
operator: 'inList';
|
|
106
292
|
values: string[];
|
|
107
293
|
}[];
|
|
108
|
-
operator:
|
|
294
|
+
operator: 'and';
|
|
109
295
|
};
|
|
110
296
|
readonly limiting: {
|
|
111
297
|
readonly queryLimit: 100;
|
|
112
298
|
readonly topN: {
|
|
113
|
-
readonly by:
|
|
299
|
+
readonly by: 'sales';
|
|
114
300
|
readonly count: 10;
|
|
115
|
-
readonly direction:
|
|
301
|
+
readonly direction: 'desc';
|
|
116
302
|
readonly showOthers: false;
|
|
117
303
|
};
|
|
118
304
|
};
|
|
119
305
|
readonly presentation: {
|
|
120
306
|
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
307
|
readonly dimension: {
|
|
133
308
|
labelsVisible: boolean;
|
|
134
309
|
title: string;
|
|
@@ -139,64 +314,75 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
139
314
|
title: string;
|
|
140
315
|
titleVisible: boolean;
|
|
141
316
|
};
|
|
317
|
+
readonly primaryMeasure: {
|
|
318
|
+
readonly labelsVisible: boolean;
|
|
319
|
+
readonly title: string;
|
|
320
|
+
readonly titleVisible: boolean;
|
|
321
|
+
readonly bands: [{
|
|
322
|
+
readonly color: '#E6E6E6';
|
|
323
|
+
readonly end: 150000;
|
|
324
|
+
readonly label: 'Target range';
|
|
325
|
+
readonly start: 100000;
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
142
328
|
};
|
|
143
329
|
readonly legend: {
|
|
144
|
-
position:
|
|
330
|
+
position: 'right';
|
|
145
331
|
title: string;
|
|
146
332
|
visible: boolean;
|
|
147
333
|
};
|
|
148
|
-
readonly orientation:
|
|
334
|
+
readonly orientation: 'vertical';
|
|
149
335
|
};
|
|
150
336
|
readonly sorting: [{
|
|
151
|
-
readonly by:
|
|
152
|
-
readonly direction:
|
|
337
|
+
readonly by: 'sales';
|
|
338
|
+
readonly direction: 'desc';
|
|
153
339
|
}];
|
|
154
|
-
readonly type:
|
|
340
|
+
readonly type: 'bar';
|
|
155
341
|
readonly version: 1;
|
|
156
342
|
};
|
|
157
343
|
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:
|
|
344
|
+
readonly type: 'bar';
|
|
159
345
|
}, {
|
|
160
346
|
readonly documentation: {
|
|
161
347
|
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
348
|
readonly dataRequirements: readonly ["Exactly one dimension.", "Between one and ten measures."];
|
|
163
|
-
readonly summary:
|
|
164
|
-
readonly title:
|
|
349
|
+
readonly summary: 'Combined categorical chart supporting multiple measures, per-measure axes, sorting, limiting, labels, legend, and orientation.';
|
|
350
|
+
readonly title: 'Combo chart';
|
|
165
351
|
};
|
|
166
352
|
readonly example: {
|
|
167
353
|
readonly data: {
|
|
168
354
|
readonly dimensions: [ExampleDimension];
|
|
169
355
|
readonly measures: [{
|
|
170
|
-
readonly dataLabels: {
|
|
171
|
-
readonly visible: true;
|
|
172
|
-
};
|
|
173
|
-
readonly seriesType: "bar";
|
|
174
356
|
readonly aggregation: string;
|
|
175
357
|
readonly fieldKey: string;
|
|
176
358
|
readonly format: {
|
|
177
|
-
formatType:
|
|
178
|
-
negativeType:
|
|
359
|
+
formatType: 'number2Decimal';
|
|
360
|
+
negativeType: 'parenthesis';
|
|
179
361
|
};
|
|
180
362
|
readonly ref: string;
|
|
363
|
+
readonly dataLabels: {
|
|
364
|
+
readonly visible: true;
|
|
365
|
+
};
|
|
366
|
+
readonly seriesType: 'bar';
|
|
181
367
|
}, {
|
|
182
|
-
readonly axis: "secondary";
|
|
183
|
-
readonly seriesType: "line";
|
|
184
368
|
readonly aggregation: string;
|
|
185
369
|
readonly fieldKey: string;
|
|
186
370
|
readonly format: {
|
|
187
|
-
formatType:
|
|
188
|
-
negativeType:
|
|
371
|
+
formatType: 'number2Decimal';
|
|
372
|
+
negativeType: 'parenthesis';
|
|
189
373
|
};
|
|
190
374
|
readonly ref: string;
|
|
375
|
+
readonly axis: 'secondary';
|
|
376
|
+
readonly seriesType: 'line';
|
|
191
377
|
}];
|
|
192
378
|
};
|
|
193
379
|
readonly filterGroup: {
|
|
194
380
|
filters: {
|
|
195
381
|
fieldKey: "[Cars].[Manufacturer]";
|
|
196
|
-
operator:
|
|
382
|
+
operator: 'inList';
|
|
197
383
|
values: string[];
|
|
198
384
|
}[];
|
|
199
|
-
operator:
|
|
385
|
+
operator: 'and';
|
|
200
386
|
};
|
|
201
387
|
readonly limiting: {
|
|
202
388
|
readonly queryLimit: 100;
|
|
@@ -218,27 +404,27 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
218
404
|
readonly visible: true;
|
|
219
405
|
};
|
|
220
406
|
readonly legend: {
|
|
221
|
-
position:
|
|
407
|
+
position: 'right';
|
|
222
408
|
title: string;
|
|
223
409
|
visible: boolean;
|
|
224
410
|
};
|
|
225
|
-
readonly orientation:
|
|
411
|
+
readonly orientation: 'vertical';
|
|
226
412
|
};
|
|
227
413
|
readonly sorting: [{
|
|
228
|
-
readonly by:
|
|
229
|
-
readonly direction:
|
|
414
|
+
readonly by: 'sales';
|
|
415
|
+
readonly direction: 'desc';
|
|
230
416
|
}];
|
|
231
|
-
readonly type:
|
|
417
|
+
readonly type: 'combo';
|
|
232
418
|
readonly version: 1;
|
|
233
419
|
};
|
|
234
420
|
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:
|
|
421
|
+
readonly type: 'combo';
|
|
236
422
|
}, {
|
|
237
423
|
readonly documentation: {
|
|
238
424
|
readonly constraints: readonly ["All measures are assigned the gauge-value role.", "Distribution definitions enable the established gauge comparison mode."];
|
|
239
425
|
readonly dataRequirements: readonly ["Zero or one dimension.", "Between one and twenty measures."];
|
|
240
|
-
readonly summary:
|
|
241
|
-
readonly title:
|
|
426
|
+
readonly summary: 'Gauge distribution across one or more values, optionally grouped by a dimension.';
|
|
427
|
+
readonly title: 'Distribution gauge';
|
|
242
428
|
};
|
|
243
429
|
readonly example: {
|
|
244
430
|
readonly data: {
|
|
@@ -248,30 +434,30 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
248
434
|
readonly filterGroup: {
|
|
249
435
|
filters: {
|
|
250
436
|
fieldKey: "[Cars].[Manufacturer]";
|
|
251
|
-
operator:
|
|
437
|
+
operator: 'inList';
|
|
252
438
|
values: string[];
|
|
253
439
|
}[];
|
|
254
|
-
operator:
|
|
440
|
+
operator: 'and';
|
|
255
441
|
};
|
|
256
442
|
readonly presentation: {
|
|
257
|
-
readonly displayMode:
|
|
443
|
+
readonly displayMode: 'bar';
|
|
258
444
|
readonly legend: {
|
|
259
|
-
position:
|
|
445
|
+
position: 'right';
|
|
260
446
|
title: string;
|
|
261
447
|
visible: boolean;
|
|
262
448
|
};
|
|
263
449
|
};
|
|
264
|
-
readonly type:
|
|
450
|
+
readonly type: 'distribution-gauge';
|
|
265
451
|
readonly version: 1;
|
|
266
452
|
};
|
|
267
453
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "display-mode", "legend"];
|
|
268
|
-
readonly type:
|
|
454
|
+
readonly type: 'distribution-gauge';
|
|
269
455
|
}, {
|
|
270
456
|
readonly documentation: {
|
|
271
457
|
readonly constraints: readonly ["Dimension order is significant and maps to the two dot-chart dimension roles.", string];
|
|
272
458
|
readonly dataRequirements: readonly ["Exactly two dimensions.", "Exactly one measure."];
|
|
273
|
-
readonly summary:
|
|
274
|
-
readonly title:
|
|
459
|
+
readonly summary: 'Dot comparison using two categorical dimensions and one measure.';
|
|
460
|
+
readonly title: 'Dot chart';
|
|
275
461
|
};
|
|
276
462
|
readonly example: {
|
|
277
463
|
readonly data: {
|
|
@@ -281,10 +467,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
281
467
|
readonly filterGroup: {
|
|
282
468
|
filters: {
|
|
283
469
|
fieldKey: "[Cars].[Manufacturer]";
|
|
284
|
-
operator:
|
|
470
|
+
operator: 'inList';
|
|
285
471
|
values: string[];
|
|
286
472
|
}[];
|
|
287
|
-
operator:
|
|
473
|
+
operator: 'and';
|
|
288
474
|
};
|
|
289
475
|
readonly presentation: {
|
|
290
476
|
readonly axes: {
|
|
@@ -300,23 +486,23 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
300
486
|
};
|
|
301
487
|
};
|
|
302
488
|
readonly legend: {
|
|
303
|
-
position:
|
|
489
|
+
position: 'right';
|
|
304
490
|
title: string;
|
|
305
491
|
visible: boolean;
|
|
306
492
|
};
|
|
307
|
-
readonly orientation:
|
|
493
|
+
readonly orientation: 'horizontal';
|
|
308
494
|
};
|
|
309
|
-
readonly type:
|
|
495
|
+
readonly type: 'dot';
|
|
310
496
|
readonly version: 1;
|
|
311
497
|
};
|
|
312
498
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "axes", "axis-range", "legend", "orientation"];
|
|
313
|
-
readonly type:
|
|
499
|
+
readonly type: 'dot';
|
|
314
500
|
}, {
|
|
315
501
|
readonly documentation: {
|
|
316
502
|
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
503
|
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:
|
|
504
|
+
readonly summary: 'Gauge values with an optional grouping dimension and optional data target.';
|
|
505
|
+
readonly title: 'Gauge chart';
|
|
320
506
|
};
|
|
321
507
|
readonly example: {
|
|
322
508
|
readonly data: {
|
|
@@ -326,30 +512,30 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
326
512
|
readonly filterGroup: {
|
|
327
513
|
filters: {
|
|
328
514
|
fieldKey: "[Cars].[Manufacturer]";
|
|
329
|
-
operator:
|
|
515
|
+
operator: 'inList';
|
|
330
516
|
values: string[];
|
|
331
517
|
}[];
|
|
332
|
-
operator:
|
|
518
|
+
operator: 'and';
|
|
333
519
|
};
|
|
334
520
|
readonly presentation: {
|
|
335
|
-
readonly displayMode:
|
|
521
|
+
readonly displayMode: 'radial';
|
|
336
522
|
readonly legend: {
|
|
337
|
-
position:
|
|
523
|
+
position: 'right';
|
|
338
524
|
title: string;
|
|
339
525
|
visible: boolean;
|
|
340
526
|
};
|
|
341
527
|
};
|
|
342
|
-
readonly type:
|
|
528
|
+
readonly type: 'gauge';
|
|
343
529
|
readonly version: 1;
|
|
344
530
|
};
|
|
345
531
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "display-mode", "legend"];
|
|
346
|
-
readonly type:
|
|
532
|
+
readonly type: 'gauge';
|
|
347
533
|
}, {
|
|
348
534
|
readonly documentation: {
|
|
349
535
|
readonly constraints: readonly ["Dimension order maps to horizontal then vertical roles.", "Measure order maps to color then optional size roles."];
|
|
350
536
|
readonly dataRequirements: readonly ["Exactly two dimensions.", "One or two measures."];
|
|
351
|
-
readonly summary:
|
|
352
|
-
readonly title:
|
|
537
|
+
readonly summary: 'Two-dimensional matrix colored and optionally sized by measures.';
|
|
538
|
+
readonly title: 'Heat map';
|
|
353
539
|
};
|
|
354
540
|
readonly example: {
|
|
355
541
|
readonly data: {
|
|
@@ -359,10 +545,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
359
545
|
readonly filterGroup: {
|
|
360
546
|
filters: {
|
|
361
547
|
fieldKey: "[Cars].[Manufacturer]";
|
|
362
|
-
operator:
|
|
548
|
+
operator: 'inList';
|
|
363
549
|
values: string[];
|
|
364
550
|
}[];
|
|
365
|
-
operator:
|
|
551
|
+
operator: 'and';
|
|
366
552
|
};
|
|
367
553
|
readonly limiting: {
|
|
368
554
|
readonly queryLimit: 100;
|
|
@@ -386,26 +572,26 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
386
572
|
};
|
|
387
573
|
};
|
|
388
574
|
readonly legend: {
|
|
389
|
-
position:
|
|
575
|
+
position: 'right';
|
|
390
576
|
title: string;
|
|
391
577
|
visible: boolean;
|
|
392
578
|
};
|
|
393
579
|
};
|
|
394
580
|
readonly sorting: [{
|
|
395
|
-
readonly by:
|
|
396
|
-
readonly direction:
|
|
581
|
+
readonly by: 'sales';
|
|
582
|
+
readonly direction: 'desc';
|
|
397
583
|
}];
|
|
398
|
-
readonly type:
|
|
584
|
+
readonly type: 'heatMap';
|
|
399
585
|
readonly version: 1;
|
|
400
586
|
};
|
|
401
587
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "axes", "legend", "query-limit", "sorting"];
|
|
402
|
-
readonly type:
|
|
588
|
+
readonly type: 'heatMap';
|
|
403
589
|
}, {
|
|
404
590
|
readonly documentation: {
|
|
405
591
|
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
592
|
readonly dataRequirements: readonly ["Exactly one numeric dimension.", "No caller-supplied measures."];
|
|
407
|
-
readonly summary:
|
|
408
|
-
readonly title:
|
|
593
|
+
readonly summary: 'Distribution of a numeric field into generated bins and counts.';
|
|
594
|
+
readonly title: 'Histogram';
|
|
409
595
|
};
|
|
410
596
|
readonly example: {
|
|
411
597
|
readonly data: {
|
|
@@ -414,10 +600,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
414
600
|
readonly filterGroup: {
|
|
415
601
|
filters: {
|
|
416
602
|
fieldKey: "[Cars].[Manufacturer]";
|
|
417
|
-
operator:
|
|
603
|
+
operator: 'inList';
|
|
418
604
|
values: string[];
|
|
419
605
|
}[];
|
|
420
|
-
operator:
|
|
606
|
+
operator: 'and';
|
|
421
607
|
};
|
|
422
608
|
readonly presentation: {
|
|
423
609
|
readonly axes: {
|
|
@@ -433,31 +619,31 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
433
619
|
};
|
|
434
620
|
};
|
|
435
621
|
readonly legend: {
|
|
436
|
-
position:
|
|
622
|
+
position: 'right';
|
|
437
623
|
title: string;
|
|
438
624
|
visible: boolean;
|
|
439
625
|
};
|
|
440
|
-
readonly orientation:
|
|
626
|
+
readonly orientation: 'vertical';
|
|
441
627
|
};
|
|
442
|
-
readonly type:
|
|
628
|
+
readonly type: 'histogram';
|
|
443
629
|
readonly version: 1;
|
|
444
630
|
};
|
|
445
631
|
readonly supportedFeatures: readonly ["axes", "axis-bands", "axis-range", "dimensions", "filters", "legend", "orientation", "value-formatting"];
|
|
446
|
-
readonly type:
|
|
632
|
+
readonly type: 'histogram';
|
|
447
633
|
}, {
|
|
448
634
|
readonly additionalExamples: readonly [{
|
|
449
635
|
readonly definition: {
|
|
450
636
|
readonly data: {
|
|
451
637
|
readonly dimensions: [ExampleDimension];
|
|
452
638
|
readonly measures: [{
|
|
453
|
-
readonly dataPointShape: "circle";
|
|
454
639
|
readonly aggregation: string;
|
|
455
640
|
readonly fieldKey: string;
|
|
456
641
|
readonly format: {
|
|
457
|
-
formatType:
|
|
458
|
-
negativeType:
|
|
642
|
+
formatType: 'number2Decimal';
|
|
643
|
+
negativeType: 'parenthesis';
|
|
459
644
|
};
|
|
460
645
|
readonly ref: string;
|
|
646
|
+
readonly dataPointShape: 'circle';
|
|
461
647
|
}];
|
|
462
648
|
};
|
|
463
649
|
readonly presentation: {
|
|
@@ -468,48 +654,48 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
468
654
|
readonly max: 100;
|
|
469
655
|
readonly min: 1;
|
|
470
656
|
};
|
|
471
|
-
readonly title:
|
|
657
|
+
readonly title: 'Rank';
|
|
472
658
|
};
|
|
473
659
|
};
|
|
474
660
|
};
|
|
475
|
-
readonly type:
|
|
661
|
+
readonly type: 'line';
|
|
476
662
|
readonly version: 1;
|
|
477
663
|
};
|
|
478
|
-
readonly title:
|
|
664
|
+
readonly title: 'Fixed, inverted measure axis';
|
|
479
665
|
}, {
|
|
480
666
|
readonly definition: {
|
|
481
667
|
readonly data: {
|
|
482
668
|
readonly dimensions: [ExampleDimension, ExampleDimension];
|
|
483
669
|
readonly measures: [{
|
|
484
|
-
readonly dataPointShape: "circle";
|
|
485
670
|
readonly aggregation: string;
|
|
486
671
|
readonly fieldKey: string;
|
|
487
672
|
readonly format: {
|
|
488
|
-
formatType:
|
|
489
|
-
negativeType:
|
|
673
|
+
formatType: 'number2Decimal';
|
|
674
|
+
negativeType: 'parenthesis';
|
|
490
675
|
};
|
|
491
676
|
readonly ref: string;
|
|
677
|
+
readonly dataPointShape: 'circle';
|
|
492
678
|
}];
|
|
493
679
|
};
|
|
494
680
|
readonly presentation: {
|
|
495
681
|
readonly coloring: {
|
|
496
682
|
readonly overwrites: [{
|
|
497
|
-
readonly color:
|
|
498
|
-
readonly operator:
|
|
499
|
-
readonly value:
|
|
683
|
+
readonly color: '#7C3AED';
|
|
684
|
+
readonly operator: 'startsWith';
|
|
685
|
+
readonly value: 'A';
|
|
500
686
|
}];
|
|
501
687
|
};
|
|
502
688
|
};
|
|
503
|
-
readonly type:
|
|
689
|
+
readonly type: 'line';
|
|
504
690
|
readonly version: 1;
|
|
505
691
|
};
|
|
506
|
-
readonly title:
|
|
692
|
+
readonly title: 'Series colored by dimension value';
|
|
507
693
|
}];
|
|
508
694
|
readonly documentation: {
|
|
509
695
|
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
696
|
readonly dataRequirements: readonly ["At least one dimension.", "At least one measure."];
|
|
511
|
-
readonly summary:
|
|
512
|
-
readonly title:
|
|
697
|
+
readonly summary: 'Trend chart with sorting, query limiting, dual measure axes, labels, legend, and orientation.';
|
|
698
|
+
readonly title: 'Line chart';
|
|
513
699
|
};
|
|
514
700
|
readonly example: {
|
|
515
701
|
readonly data: {
|
|
@@ -517,50 +703,45 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
517
703
|
fieldKey: "[Cars].[Latest Launch]";
|
|
518
704
|
ref: string;
|
|
519
705
|
temporalGrouping: {
|
|
520
|
-
dateLevel:
|
|
521
|
-
mode:
|
|
706
|
+
dateLevel: 'month';
|
|
707
|
+
mode: 'level';
|
|
522
708
|
};
|
|
523
709
|
}];
|
|
524
710
|
readonly measures: [{
|
|
525
|
-
readonly axis: "primary";
|
|
526
|
-
readonly dataPointShape: "circle";
|
|
527
711
|
readonly aggregation: string;
|
|
528
712
|
readonly fieldKey: string;
|
|
529
713
|
readonly format: {
|
|
530
|
-
formatType:
|
|
531
|
-
negativeType:
|
|
714
|
+
formatType: 'number2Decimal';
|
|
715
|
+
negativeType: 'parenthesis';
|
|
532
716
|
};
|
|
533
717
|
readonly ref: string;
|
|
718
|
+
readonly axis: 'primary';
|
|
719
|
+
readonly dataPointShape: 'circle';
|
|
534
720
|
}, {
|
|
535
|
-
readonly axis: "secondary";
|
|
536
|
-
readonly dataPointShape: "square";
|
|
537
721
|
readonly aggregation: string;
|
|
538
722
|
readonly fieldKey: string;
|
|
539
723
|
readonly format: {
|
|
540
|
-
formatType:
|
|
541
|
-
negativeType:
|
|
724
|
+
formatType: 'number2Decimal';
|
|
725
|
+
negativeType: 'parenthesis';
|
|
542
726
|
};
|
|
543
727
|
readonly ref: string;
|
|
728
|
+
readonly axis: 'secondary';
|
|
729
|
+
readonly dataPointShape: 'square';
|
|
544
730
|
}];
|
|
545
731
|
};
|
|
546
732
|
readonly filterGroup: {
|
|
547
733
|
filters: {
|
|
548
734
|
fieldKey: "[Cars].[Manufacturer]";
|
|
549
|
-
operator:
|
|
735
|
+
operator: 'inList';
|
|
550
736
|
values: string[];
|
|
551
737
|
}[];
|
|
552
|
-
operator:
|
|
738
|
+
operator: 'and';
|
|
553
739
|
};
|
|
554
740
|
readonly limiting: {
|
|
555
741
|
readonly queryLimit: 100;
|
|
556
742
|
};
|
|
557
743
|
readonly presentation: {
|
|
558
744
|
readonly axes: {
|
|
559
|
-
readonly dimension: {
|
|
560
|
-
readonly title: "Launch month";
|
|
561
|
-
readonly labelsVisible: boolean;
|
|
562
|
-
readonly titleVisible: boolean;
|
|
563
|
-
};
|
|
564
745
|
readonly primaryMeasure: {
|
|
565
746
|
labelsVisible: boolean;
|
|
566
747
|
title: string;
|
|
@@ -571,33 +752,38 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
571
752
|
title: string;
|
|
572
753
|
titleVisible: boolean;
|
|
573
754
|
};
|
|
755
|
+
readonly dimension: {
|
|
756
|
+
readonly labelsVisible: boolean;
|
|
757
|
+
readonly titleVisible: boolean;
|
|
758
|
+
readonly title: 'Launch month';
|
|
759
|
+
};
|
|
574
760
|
};
|
|
575
761
|
readonly dataLabels: {
|
|
576
|
-
readonly density:
|
|
762
|
+
readonly density: 'medium';
|
|
577
763
|
readonly visible: true;
|
|
578
764
|
};
|
|
579
765
|
readonly legend: {
|
|
580
|
-
position:
|
|
766
|
+
position: 'right';
|
|
581
767
|
title: string;
|
|
582
768
|
visible: boolean;
|
|
583
769
|
};
|
|
584
|
-
readonly orientation:
|
|
770
|
+
readonly orientation: 'vertical';
|
|
585
771
|
};
|
|
586
772
|
readonly sorting: [{
|
|
587
|
-
readonly by:
|
|
588
|
-
readonly direction:
|
|
773
|
+
readonly by: 'launchMonth';
|
|
774
|
+
readonly direction: 'asc';
|
|
589
775
|
}];
|
|
590
|
-
readonly type:
|
|
776
|
+
readonly type: 'line';
|
|
591
777
|
readonly version: 1;
|
|
592
778
|
};
|
|
593
779
|
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:
|
|
780
|
+
readonly type: 'line';
|
|
595
781
|
}, {
|
|
596
782
|
readonly documentation: {
|
|
597
783
|
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
784
|
readonly dataRequirements: readonly ["Zero to two dimensions.", "Two to five measures without dimensions, or one with dimensions."];
|
|
599
|
-
readonly summary:
|
|
600
|
-
readonly title:
|
|
785
|
+
readonly summary: 'Radial comparison chart for one or more measures with optional categorical dimensions.';
|
|
786
|
+
readonly title: 'Radar chart';
|
|
601
787
|
};
|
|
602
788
|
readonly example: {
|
|
603
789
|
readonly data: {
|
|
@@ -607,23 +793,23 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
607
793
|
readonly filterGroup: {
|
|
608
794
|
filters: {
|
|
609
795
|
fieldKey: "[Cars].[Manufacturer]";
|
|
610
|
-
operator:
|
|
796
|
+
operator: 'inList';
|
|
611
797
|
values: string[];
|
|
612
798
|
}[];
|
|
613
|
-
operator:
|
|
799
|
+
operator: 'and';
|
|
614
800
|
};
|
|
615
801
|
readonly presentation: {
|
|
616
802
|
readonly legend: {
|
|
617
|
-
position:
|
|
803
|
+
position: 'right';
|
|
618
804
|
title: string;
|
|
619
805
|
visible: boolean;
|
|
620
806
|
};
|
|
621
807
|
};
|
|
622
|
-
readonly type:
|
|
808
|
+
readonly type: 'radar';
|
|
623
809
|
readonly version: 1;
|
|
624
810
|
};
|
|
625
811
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "legend"];
|
|
626
|
-
readonly type:
|
|
812
|
+
readonly type: 'radar';
|
|
627
813
|
}, {
|
|
628
814
|
readonly additionalExamples: readonly [{
|
|
629
815
|
readonly definition: {
|
|
@@ -634,27 +820,27 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
634
820
|
readonly presentation: {
|
|
635
821
|
readonly coloring: {
|
|
636
822
|
readonly overwrites: [{
|
|
637
|
-
readonly color:
|
|
638
|
-
readonly value:
|
|
823
|
+
readonly color: '#134E4A';
|
|
824
|
+
readonly value: 'Audi';
|
|
639
825
|
}, {
|
|
640
|
-
readonly color:
|
|
641
|
-
readonly value:
|
|
826
|
+
readonly color: '#2DD4BF';
|
|
827
|
+
readonly value: 'BMW';
|
|
642
828
|
}, {
|
|
643
|
-
readonly color:
|
|
644
|
-
readonly value:
|
|
829
|
+
readonly color: '#CCFBF1';
|
|
830
|
+
readonly value: 'Buick';
|
|
645
831
|
}];
|
|
646
832
|
};
|
|
647
833
|
};
|
|
648
|
-
readonly type:
|
|
834
|
+
readonly type: 'pie';
|
|
649
835
|
readonly version: 1;
|
|
650
836
|
};
|
|
651
|
-
readonly title:
|
|
837
|
+
readonly title: 'Ordered bands colored along a ramp';
|
|
652
838
|
}];
|
|
653
839
|
readonly documentation: {
|
|
654
840
|
readonly constraints: readonly ["The first measure is the slice value; the optional second measure receives the length role."];
|
|
655
841
|
readonly dataRequirements: readonly ["Exactly one dimension.", "One or two measures."];
|
|
656
|
-
readonly summary:
|
|
657
|
-
readonly title:
|
|
842
|
+
readonly summary: 'Part-to-whole chart with optional secondary radial measure.';
|
|
843
|
+
readonly title: 'Pie chart';
|
|
658
844
|
};
|
|
659
845
|
readonly example: {
|
|
660
846
|
readonly data: {
|
|
@@ -664,36 +850,36 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
664
850
|
readonly filterGroup: {
|
|
665
851
|
filters: {
|
|
666
852
|
fieldKey: "[Cars].[Manufacturer]";
|
|
667
|
-
operator:
|
|
853
|
+
operator: 'inList';
|
|
668
854
|
values: string[];
|
|
669
855
|
}[];
|
|
670
|
-
operator:
|
|
856
|
+
operator: 'and';
|
|
671
857
|
};
|
|
672
858
|
readonly limiting: {
|
|
673
859
|
readonly queryLimit: 100;
|
|
674
860
|
};
|
|
675
861
|
readonly presentation: {
|
|
676
862
|
readonly legend: {
|
|
677
|
-
position:
|
|
863
|
+
position: 'right';
|
|
678
864
|
title: string;
|
|
679
865
|
visible: boolean;
|
|
680
866
|
};
|
|
681
867
|
};
|
|
682
868
|
readonly sorting: [{
|
|
683
|
-
readonly by:
|
|
684
|
-
readonly direction:
|
|
869
|
+
readonly by: 'sales';
|
|
870
|
+
readonly direction: 'desc';
|
|
685
871
|
}];
|
|
686
|
-
readonly type:
|
|
872
|
+
readonly type: 'pie';
|
|
687
873
|
readonly version: 1;
|
|
688
874
|
};
|
|
689
875
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "legend", "query-limit", "sorting"];
|
|
690
|
-
readonly type:
|
|
876
|
+
readonly type: 'pie';
|
|
691
877
|
}, {
|
|
692
878
|
readonly documentation: {
|
|
693
879
|
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
880
|
readonly dataRequirements: readonly ["Zero to ten dimensions.", "Zero to one hundred measures, or at most one with dimensions."];
|
|
695
|
-
readonly summary:
|
|
696
|
-
readonly title:
|
|
881
|
+
readonly summary: 'Hierarchical tree built from dimensions, measures, or both.';
|
|
882
|
+
readonly title: 'Tree chart';
|
|
697
883
|
};
|
|
698
884
|
readonly example: {
|
|
699
885
|
readonly data: {
|
|
@@ -703,10 +889,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
703
889
|
readonly filterGroup: {
|
|
704
890
|
filters: {
|
|
705
891
|
fieldKey: "[Cars].[Manufacturer]";
|
|
706
|
-
operator:
|
|
892
|
+
operator: 'inList';
|
|
707
893
|
values: string[];
|
|
708
894
|
}[];
|
|
709
|
-
operator:
|
|
895
|
+
operator: 'and';
|
|
710
896
|
};
|
|
711
897
|
readonly limiting: {
|
|
712
898
|
readonly queryLimit: 100;
|
|
@@ -714,26 +900,26 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
714
900
|
readonly presentation: {
|
|
715
901
|
readonly layout: {
|
|
716
902
|
readonly compact: true;
|
|
717
|
-
readonly direction:
|
|
903
|
+
readonly direction: 'top';
|
|
718
904
|
readonly forceAutoFit: false;
|
|
719
905
|
readonly initialExpandedLevels: 1;
|
|
720
906
|
};
|
|
721
907
|
};
|
|
722
908
|
readonly sorting: [{
|
|
723
|
-
readonly by:
|
|
724
|
-
readonly direction:
|
|
909
|
+
readonly by: 'sales';
|
|
910
|
+
readonly direction: 'desc';
|
|
725
911
|
}];
|
|
726
|
-
readonly type:
|
|
912
|
+
readonly type: 'tree';
|
|
727
913
|
readonly version: 1;
|
|
728
914
|
};
|
|
729
915
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "layout", "query-limit", "sorting"];
|
|
730
|
-
readonly type:
|
|
916
|
+
readonly type: 'tree';
|
|
731
917
|
}, {
|
|
732
918
|
readonly documentation: {
|
|
733
919
|
readonly constraints: readonly ["Dimension order defines hierarchy depth."];
|
|
734
920
|
readonly dataRequirements: readonly ["Between one and ten dimensions.", "Exactly one measure."];
|
|
735
|
-
readonly summary:
|
|
736
|
-
readonly title:
|
|
921
|
+
readonly summary: 'Hierarchical area chart using ordered dimensions and one size measure.';
|
|
922
|
+
readonly title: 'Treemap';
|
|
737
923
|
};
|
|
738
924
|
readonly example: {
|
|
739
925
|
readonly data: {
|
|
@@ -743,23 +929,23 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
743
929
|
readonly filterGroup: {
|
|
744
930
|
filters: {
|
|
745
931
|
fieldKey: "[Cars].[Manufacturer]";
|
|
746
|
-
operator:
|
|
932
|
+
operator: 'inList';
|
|
747
933
|
values: string[];
|
|
748
934
|
}[];
|
|
749
|
-
operator:
|
|
935
|
+
operator: 'and';
|
|
750
936
|
};
|
|
751
937
|
readonly presentation: {
|
|
752
938
|
readonly legend: {
|
|
753
|
-
position:
|
|
939
|
+
position: 'right';
|
|
754
940
|
title: string;
|
|
755
941
|
visible: boolean;
|
|
756
942
|
};
|
|
757
943
|
};
|
|
758
|
-
readonly type:
|
|
944
|
+
readonly type: 'treemap';
|
|
759
945
|
readonly version: 1;
|
|
760
946
|
};
|
|
761
947
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "legend"];
|
|
762
|
-
readonly type:
|
|
948
|
+
readonly type: 'treemap';
|
|
763
949
|
}, {
|
|
764
950
|
readonly additionalExamples: readonly [{
|
|
765
951
|
readonly definition: {
|
|
@@ -770,22 +956,22 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
770
956
|
readonly presentation: {
|
|
771
957
|
readonly coloring: {
|
|
772
958
|
readonly overwrites: [{
|
|
773
|
-
readonly color:
|
|
774
|
-
readonly dimension:
|
|
775
|
-
readonly value:
|
|
959
|
+
readonly color: '#CA8A04';
|
|
960
|
+
readonly dimension: 'manufacturer';
|
|
961
|
+
readonly value: 'Audi';
|
|
776
962
|
}];
|
|
777
963
|
};
|
|
778
964
|
};
|
|
779
|
-
readonly type:
|
|
965
|
+
readonly type: 'sankey';
|
|
780
966
|
readonly version: 1;
|
|
781
967
|
};
|
|
782
|
-
readonly title:
|
|
968
|
+
readonly title: 'A color bound to a value of one flow stage';
|
|
783
969
|
}];
|
|
784
970
|
readonly documentation: {
|
|
785
971
|
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
972
|
readonly dataRequirements: readonly ["Between two and fifteen dimensions.", "Exactly one measure."];
|
|
787
|
-
readonly summary:
|
|
788
|
-
readonly title:
|
|
973
|
+
readonly summary: 'Flow chart across an ordered sequence of categorical dimensions.';
|
|
974
|
+
readonly title: 'Sankey chart';
|
|
789
975
|
};
|
|
790
976
|
readonly example: {
|
|
791
977
|
readonly data: {
|
|
@@ -795,22 +981,22 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
795
981
|
readonly filterGroup: {
|
|
796
982
|
filters: {
|
|
797
983
|
fieldKey: "[Cars].[Manufacturer]";
|
|
798
|
-
operator:
|
|
984
|
+
operator: 'inList';
|
|
799
985
|
values: string[];
|
|
800
986
|
}[];
|
|
801
|
-
operator:
|
|
987
|
+
operator: 'and';
|
|
802
988
|
};
|
|
803
|
-
readonly type:
|
|
989
|
+
readonly type: 'sankey';
|
|
804
990
|
readonly version: 1;
|
|
805
991
|
};
|
|
806
992
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring"];
|
|
807
|
-
readonly type:
|
|
993
|
+
readonly type: 'sankey';
|
|
808
994
|
}, {
|
|
809
995
|
readonly documentation: {
|
|
810
996
|
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
997
|
readonly dataRequirements: readonly ["One or two dimensions.", "Two or three measures."];
|
|
812
|
-
readonly summary:
|
|
813
|
-
readonly title:
|
|
998
|
+
readonly summary: 'Relationship chart using horizontal and vertical measures with optional size and image roles.';
|
|
999
|
+
readonly title: 'Scatter chart';
|
|
814
1000
|
};
|
|
815
1001
|
readonly example: {
|
|
816
1002
|
readonly data: {
|
|
@@ -820,10 +1006,10 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
820
1006
|
readonly filterGroup: {
|
|
821
1007
|
filters: {
|
|
822
1008
|
fieldKey: "[Cars].[Manufacturer]";
|
|
823
|
-
operator:
|
|
1009
|
+
operator: 'inList';
|
|
824
1010
|
values: string[];
|
|
825
1011
|
}[];
|
|
826
|
-
operator:
|
|
1012
|
+
operator: 'and';
|
|
827
1013
|
};
|
|
828
1014
|
readonly presentation: {
|
|
829
1015
|
readonly axes: {
|
|
@@ -839,220 +1025,220 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
839
1025
|
};
|
|
840
1026
|
};
|
|
841
1027
|
readonly legend: {
|
|
842
|
-
position:
|
|
1028
|
+
position: 'right';
|
|
843
1029
|
title: string;
|
|
844
1030
|
visible: boolean;
|
|
845
1031
|
};
|
|
846
1032
|
};
|
|
847
|
-
readonly type:
|
|
1033
|
+
readonly type: 'scatter';
|
|
848
1034
|
readonly version: 1;
|
|
849
1035
|
};
|
|
850
1036
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring", "axes", "axis-range", "legend", "query-limit", "sorting"];
|
|
851
|
-
readonly type:
|
|
1037
|
+
readonly type: 'scatter';
|
|
852
1038
|
}, {
|
|
853
1039
|
readonly additionalExamples: readonly [{
|
|
854
1040
|
readonly definition: {
|
|
855
1041
|
readonly data: {
|
|
856
1042
|
readonly dimensions: [ExampleDimension, ExampleDimension];
|
|
857
1043
|
readonly measures: [ExampleMeasure];
|
|
858
|
-
readonly structure:
|
|
1044
|
+
readonly structure: 'expandable';
|
|
859
1045
|
};
|
|
860
1046
|
readonly filterGroup: {
|
|
861
1047
|
filters: {
|
|
862
1048
|
fieldKey: "[Cars].[Manufacturer]";
|
|
863
|
-
operator:
|
|
1049
|
+
operator: 'inList';
|
|
864
1050
|
values: string[];
|
|
865
1051
|
}[];
|
|
866
|
-
operator:
|
|
1052
|
+
operator: 'and';
|
|
867
1053
|
};
|
|
868
1054
|
readonly limiting: {
|
|
869
1055
|
readonly queryLimit: 100;
|
|
870
1056
|
};
|
|
871
1057
|
readonly sorting: [{
|
|
872
|
-
readonly by:
|
|
873
|
-
readonly direction:
|
|
1058
|
+
readonly by: 'sales';
|
|
1059
|
+
readonly direction: 'desc';
|
|
874
1060
|
}];
|
|
875
|
-
readonly type:
|
|
1061
|
+
readonly type: 'table';
|
|
876
1062
|
readonly version: 1;
|
|
877
1063
|
};
|
|
878
|
-
readonly title:
|
|
1064
|
+
readonly title: 'Expandable table';
|
|
879
1065
|
}, {
|
|
880
1066
|
readonly definition: {
|
|
881
1067
|
readonly data: {
|
|
882
1068
|
readonly columnDimensions: [ExampleDimension];
|
|
883
1069
|
readonly measures: [ExampleMeasure];
|
|
884
1070
|
readonly rowDimensions: [ExampleDimension];
|
|
885
|
-
readonly structure:
|
|
1071
|
+
readonly structure: 'pivot';
|
|
886
1072
|
};
|
|
887
1073
|
readonly filterGroup: {
|
|
888
1074
|
filters: {
|
|
889
1075
|
fieldKey: "[Cars].[Manufacturer]";
|
|
890
|
-
operator:
|
|
1076
|
+
operator: 'inList';
|
|
891
1077
|
values: string[];
|
|
892
1078
|
}[];
|
|
893
|
-
operator:
|
|
1079
|
+
operator: 'and';
|
|
894
1080
|
};
|
|
895
1081
|
readonly limiting: {
|
|
896
1082
|
readonly queryLimit: 100;
|
|
897
1083
|
};
|
|
898
1084
|
readonly sorting: [{
|
|
899
|
-
readonly by:
|
|
900
|
-
readonly direction:
|
|
1085
|
+
readonly by: 'sales';
|
|
1086
|
+
readonly direction: 'desc';
|
|
901
1087
|
}];
|
|
902
|
-
readonly type:
|
|
1088
|
+
readonly type: 'table';
|
|
903
1089
|
readonly version: 1;
|
|
904
1090
|
};
|
|
905
|
-
readonly title:
|
|
1091
|
+
readonly title: 'Pivot table';
|
|
906
1092
|
}];
|
|
907
1093
|
readonly documentation: {
|
|
908
1094
|
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
1095
|
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:
|
|
1096
|
+
readonly summary: 'Normal, expandable, or pivot tabular output with formatting, filtering, sorting, query limiting, and totals.';
|
|
1097
|
+
readonly title: 'Table';
|
|
912
1098
|
};
|
|
913
1099
|
readonly example: {
|
|
914
1100
|
readonly data: {
|
|
915
1101
|
readonly columns: [{
|
|
916
|
-
readonly role: "dimension";
|
|
917
1102
|
readonly fieldKey: string;
|
|
918
1103
|
readonly ref: string;
|
|
919
1104
|
readonly showNullValues?: boolean;
|
|
1105
|
+
readonly role: 'dimension';
|
|
920
1106
|
}, {
|
|
921
|
-
readonly role: "dimension";
|
|
922
1107
|
readonly fieldKey: string;
|
|
923
1108
|
readonly ref: string;
|
|
924
1109
|
readonly showNullValues?: boolean;
|
|
1110
|
+
readonly role: 'dimension';
|
|
925
1111
|
}, {
|
|
926
|
-
readonly format: {
|
|
927
|
-
readonly formatType: "ddmmmyyyy";
|
|
928
|
-
};
|
|
929
|
-
readonly role: "dimension";
|
|
930
1112
|
readonly fieldKey: string;
|
|
931
1113
|
readonly ref: string;
|
|
932
1114
|
readonly showNullValues?: boolean;
|
|
1115
|
+
readonly format: {
|
|
1116
|
+
readonly formatType: 'ddmmmyyyy';
|
|
1117
|
+
};
|
|
1118
|
+
readonly role: 'dimension';
|
|
933
1119
|
}, {
|
|
934
|
-
readonly role: "measure";
|
|
935
1120
|
readonly aggregation: string;
|
|
936
1121
|
readonly fieldKey: string;
|
|
937
1122
|
readonly format: {
|
|
938
|
-
formatType:
|
|
939
|
-
negativeType:
|
|
1123
|
+
formatType: 'number2Decimal';
|
|
1124
|
+
negativeType: 'parenthesis';
|
|
940
1125
|
};
|
|
941
1126
|
readonly ref: string;
|
|
1127
|
+
readonly role: 'measure';
|
|
942
1128
|
}];
|
|
943
|
-
readonly structure:
|
|
1129
|
+
readonly structure: 'normal';
|
|
944
1130
|
};
|
|
945
1131
|
readonly filterGroup: {
|
|
946
1132
|
filters: {
|
|
947
1133
|
fieldKey: "[Cars].[Manufacturer]";
|
|
948
|
-
operator:
|
|
1134
|
+
operator: 'inList';
|
|
949
1135
|
values: string[];
|
|
950
1136
|
}[];
|
|
951
|
-
operator:
|
|
1137
|
+
operator: 'and';
|
|
952
1138
|
};
|
|
953
1139
|
readonly limiting: {
|
|
954
1140
|
readonly queryLimit: 100;
|
|
955
1141
|
};
|
|
956
1142
|
readonly presentation: {
|
|
957
1143
|
readonly background: {
|
|
958
|
-
readonly color:
|
|
959
|
-
readonly type:
|
|
1144
|
+
readonly color: '#ffffff';
|
|
1145
|
+
readonly type: 'single';
|
|
960
1146
|
};
|
|
961
1147
|
readonly body: {
|
|
962
|
-
readonly fontColor:
|
|
963
|
-
readonly fontFamily:
|
|
1148
|
+
readonly fontColor: '#1f1c3b';
|
|
1149
|
+
readonly fontFamily: 'Roboto';
|
|
964
1150
|
readonly fontSize: 13;
|
|
965
|
-
readonly horizontalAlign:
|
|
966
|
-
readonly verticalAlign:
|
|
1151
|
+
readonly horizontalAlign: 'center';
|
|
1152
|
+
readonly verticalAlign: 'middle';
|
|
967
1153
|
};
|
|
968
1154
|
readonly borders: {
|
|
969
|
-
readonly color:
|
|
970
|
-
readonly dividerColor:
|
|
971
|
-
readonly dividers:
|
|
1155
|
+
readonly color: '#e0e0e0';
|
|
1156
|
+
readonly dividerColor: '#e0e0e0';
|
|
1157
|
+
readonly dividers: 'all';
|
|
972
1158
|
readonly enabled: true;
|
|
973
|
-
readonly lineStyle:
|
|
1159
|
+
readonly lineStyle: 'line';
|
|
974
1160
|
readonly radius: 4;
|
|
975
1161
|
readonly strokeWidth: 1;
|
|
976
1162
|
};
|
|
977
1163
|
readonly header: {
|
|
978
|
-
readonly backgroundColor:
|
|
979
|
-
readonly borderColor:
|
|
980
|
-
readonly fontColor:
|
|
981
|
-
readonly fontFamily:
|
|
1164
|
+
readonly backgroundColor: '#ffffff';
|
|
1165
|
+
readonly borderColor: '#e0e0e0';
|
|
1166
|
+
readonly fontColor: '#1f1c3b';
|
|
1167
|
+
readonly fontFamily: 'Roboto';
|
|
982
1168
|
readonly fontSize: 13;
|
|
983
1169
|
};
|
|
984
1170
|
readonly highlight: {
|
|
985
|
-
readonly backgroundColor:
|
|
986
|
-
readonly mode:
|
|
1171
|
+
readonly backgroundColor: '#f2f2f2';
|
|
1172
|
+
readonly mode: 'row';
|
|
987
1173
|
};
|
|
988
1174
|
readonly layout: {
|
|
989
|
-
readonly columnWidthBehavior:
|
|
1175
|
+
readonly columnWidthBehavior: 'responsive';
|
|
990
1176
|
readonly rowHeight: 41;
|
|
991
1177
|
};
|
|
992
1178
|
};
|
|
993
1179
|
readonly sorting: [{
|
|
994
|
-
readonly by:
|
|
995
|
-
readonly direction:
|
|
1180
|
+
readonly by: 'sales';
|
|
1181
|
+
readonly direction: 'desc';
|
|
996
1182
|
}];
|
|
997
1183
|
readonly totals: {
|
|
998
|
-
readonly applyTo:
|
|
1184
|
+
readonly applyTo: 'both';
|
|
999
1185
|
readonly enabled: true;
|
|
1000
1186
|
readonly showRecordsCount: true;
|
|
1001
1187
|
readonly style: {
|
|
1002
|
-
readonly backgroundColor:
|
|
1003
|
-
readonly fontColor:
|
|
1188
|
+
readonly backgroundColor: '#f3f4f6';
|
|
1189
|
+
readonly fontColor: '#111827';
|
|
1004
1190
|
readonly fontStyle: {
|
|
1005
1191
|
readonly bold: true;
|
|
1006
1192
|
};
|
|
1007
|
-
readonly position:
|
|
1193
|
+
readonly position: 'bottom';
|
|
1008
1194
|
readonly responsiveHeight: true;
|
|
1009
1195
|
};
|
|
1010
1196
|
};
|
|
1011
|
-
readonly type:
|
|
1197
|
+
readonly type: 'table';
|
|
1012
1198
|
readonly version: 1;
|
|
1013
1199
|
};
|
|
1014
1200
|
readonly supportedFeatures: readonly ["dimensions", "filters", "layout", "measures", "query-limit", "sorting", "table-structure", "totals", "value-formatting"];
|
|
1015
|
-
readonly type:
|
|
1201
|
+
readonly type: 'table';
|
|
1016
1202
|
}, {
|
|
1017
1203
|
readonly documentation: {
|
|
1018
1204
|
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
1205
|
readonly dataRequirements: readonly ["Between one and one hundred measures."];
|
|
1020
|
-
readonly summary:
|
|
1021
|
-
readonly title:
|
|
1206
|
+
readonly summary: 'Sequential contribution chart composed from one or more measures.';
|
|
1207
|
+
readonly title: 'Waterfall chart';
|
|
1022
1208
|
};
|
|
1023
1209
|
readonly example: {
|
|
1024
1210
|
readonly data: {
|
|
1025
1211
|
readonly measures: [{
|
|
1026
|
-
readonly dataLabels: {
|
|
1027
|
-
readonly visible: true;
|
|
1028
|
-
};
|
|
1029
1212
|
readonly aggregation: string;
|
|
1030
1213
|
readonly fieldKey: string;
|
|
1031
1214
|
readonly format: {
|
|
1032
|
-
formatType:
|
|
1033
|
-
negativeType:
|
|
1215
|
+
formatType: 'number2Decimal';
|
|
1216
|
+
negativeType: 'parenthesis';
|
|
1034
1217
|
};
|
|
1035
1218
|
readonly ref: string;
|
|
1036
|
-
}, {
|
|
1037
1219
|
readonly dataLabels: {
|
|
1038
1220
|
readonly visible: true;
|
|
1039
1221
|
};
|
|
1222
|
+
}, {
|
|
1040
1223
|
readonly aggregation: string;
|
|
1041
1224
|
readonly fieldKey: string;
|
|
1042
1225
|
readonly format: {
|
|
1043
|
-
formatType:
|
|
1044
|
-
negativeType:
|
|
1226
|
+
formatType: 'number2Decimal';
|
|
1227
|
+
negativeType: 'parenthesis';
|
|
1045
1228
|
};
|
|
1046
1229
|
readonly ref: string;
|
|
1230
|
+
readonly dataLabels: {
|
|
1231
|
+
readonly visible: true;
|
|
1232
|
+
};
|
|
1047
1233
|
}];
|
|
1048
1234
|
};
|
|
1049
1235
|
readonly filterGroup: {
|
|
1050
1236
|
filters: {
|
|
1051
1237
|
fieldKey: "[Cars].[Manufacturer]";
|
|
1052
|
-
operator:
|
|
1238
|
+
operator: 'inList';
|
|
1053
1239
|
values: string[];
|
|
1054
1240
|
}[];
|
|
1055
|
-
operator:
|
|
1241
|
+
operator: 'and';
|
|
1056
1242
|
};
|
|
1057
1243
|
readonly presentation: {
|
|
1058
1244
|
readonly axes: {
|
|
@@ -1070,19 +1256,19 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1070
1256
|
readonly dataLabels: {
|
|
1071
1257
|
readonly visible: true;
|
|
1072
1258
|
};
|
|
1073
|
-
readonly orientation:
|
|
1259
|
+
readonly orientation: 'vertical';
|
|
1074
1260
|
};
|
|
1075
|
-
readonly type:
|
|
1261
|
+
readonly type: 'waterfall';
|
|
1076
1262
|
readonly version: 1;
|
|
1077
1263
|
};
|
|
1078
1264
|
readonly supportedFeatures: readonly ["axes", "axis-bands", "axis-range", "data-labels", "filters", "measures", "orientation", "value-formatting"];
|
|
1079
|
-
readonly type:
|
|
1265
|
+
readonly type: 'waterfall';
|
|
1080
1266
|
}, {
|
|
1081
1267
|
readonly documentation: {
|
|
1082
1268
|
readonly constraints: readonly ["The dimension supplies words and the measure supplies their weight."];
|
|
1083
1269
|
readonly dataRequirements: readonly ["Exactly one dimension.", "Exactly one measure."];
|
|
1084
|
-
readonly summary:
|
|
1085
|
-
readonly title:
|
|
1270
|
+
readonly summary: 'Weighted word display using one label dimension and one measure.';
|
|
1271
|
+
readonly title: 'Word cloud';
|
|
1086
1272
|
};
|
|
1087
1273
|
readonly example: {
|
|
1088
1274
|
readonly data: {
|
|
@@ -1092,103 +1278,103 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1092
1278
|
readonly filterGroup: {
|
|
1093
1279
|
filters: {
|
|
1094
1280
|
fieldKey: "[Cars].[Manufacturer]";
|
|
1095
|
-
operator:
|
|
1281
|
+
operator: 'inList';
|
|
1096
1282
|
values: string[];
|
|
1097
1283
|
}[];
|
|
1098
|
-
operator:
|
|
1284
|
+
operator: 'and';
|
|
1099
1285
|
};
|
|
1100
|
-
readonly type:
|
|
1286
|
+
readonly type: 'word-cloud';
|
|
1101
1287
|
readonly version: 1;
|
|
1102
1288
|
};
|
|
1103
1289
|
readonly supportedFeatures: readonly [...VisualizationDefinitionFeature[], "conditional-coloring"];
|
|
1104
|
-
readonly type:
|
|
1290
|
+
readonly type: 'word-cloud';
|
|
1105
1291
|
}, {
|
|
1106
1292
|
readonly documentation: {
|
|
1107
1293
|
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
1294
|
readonly dataRequirements: readonly ["Exactly one field."];
|
|
1109
|
-
readonly summary:
|
|
1110
|
-
readonly title:
|
|
1295
|
+
readonly summary: 'Date selection control with single/range modes, labels, quick select, and responsive settings.';
|
|
1296
|
+
readonly title: 'Date picker';
|
|
1111
1297
|
};
|
|
1112
1298
|
readonly example: {
|
|
1113
1299
|
readonly data: {
|
|
1114
1300
|
readonly field: ExampleField;
|
|
1115
1301
|
};
|
|
1116
1302
|
readonly settings: {
|
|
1117
|
-
readonly endDateLabel:
|
|
1118
|
-
readonly pickerState:
|
|
1119
|
-
readonly pickerType:
|
|
1303
|
+
readonly endDateLabel: 'To';
|
|
1304
|
+
readonly pickerState: 'expanded';
|
|
1305
|
+
readonly pickerType: 'range';
|
|
1120
1306
|
readonly quickSelect: true;
|
|
1121
|
-
readonly startDateLabel:
|
|
1122
|
-
readonly timePickerVisibility:
|
|
1123
|
-
readonly weekStart:
|
|
1307
|
+
readonly startDateLabel: 'From';
|
|
1308
|
+
readonly timePickerVisibility: 'never';
|
|
1309
|
+
readonly weekStart: '1';
|
|
1124
1310
|
};
|
|
1125
|
-
readonly type:
|
|
1311
|
+
readonly type: 'date-picker';
|
|
1126
1312
|
readonly version: 1;
|
|
1127
1313
|
};
|
|
1128
1314
|
readonly supportedFeatures: readonly ["dimensions", "filter-settings"];
|
|
1129
|
-
readonly type:
|
|
1315
|
+
readonly type: 'date-picker';
|
|
1130
1316
|
}, {
|
|
1131
1317
|
readonly documentation: {
|
|
1132
1318
|
readonly constraints: readonly ["The selected field is used as a filter dimension."];
|
|
1133
1319
|
readonly dataRequirements: readonly ["Exactly one field."];
|
|
1134
|
-
readonly summary:
|
|
1135
|
-
readonly title:
|
|
1320
|
+
readonly summary: 'Interactive field filter with list/dropdown presentation and search/quick-select controls.';
|
|
1321
|
+
readonly title: 'Filter';
|
|
1136
1322
|
};
|
|
1137
1323
|
readonly example: {
|
|
1138
1324
|
readonly data: {
|
|
1139
1325
|
readonly field: ExampleField;
|
|
1140
1326
|
};
|
|
1141
1327
|
readonly presentation: {
|
|
1142
|
-
readonly mode:
|
|
1328
|
+
readonly mode: 'listbox';
|
|
1143
1329
|
readonly quickSelect: true;
|
|
1144
1330
|
readonly searchable: true;
|
|
1145
1331
|
readonly showProgressBar: false;
|
|
1146
1332
|
};
|
|
1147
|
-
readonly type:
|
|
1333
|
+
readonly type: 'filter';
|
|
1148
1334
|
readonly version: 1;
|
|
1149
1335
|
};
|
|
1150
1336
|
readonly supportedFeatures: readonly ["dimensions", "filter-settings"];
|
|
1151
|
-
readonly type:
|
|
1337
|
+
readonly type: 'filter';
|
|
1152
1338
|
}, {
|
|
1153
1339
|
readonly documentation: {
|
|
1154
1340
|
readonly constraints: readonly ["The URL must be absolute and valid; null clears the source."];
|
|
1155
1341
|
readonly dataRequirements: readonly ["No query data."];
|
|
1156
|
-
readonly summary:
|
|
1157
|
-
readonly title:
|
|
1342
|
+
readonly summary: 'Embedded external web content.';
|
|
1343
|
+
readonly title: 'Iframe';
|
|
1158
1344
|
};
|
|
1159
1345
|
readonly example: {
|
|
1160
1346
|
readonly settings: {
|
|
1161
|
-
readonly url:
|
|
1347
|
+
readonly url: 'https://example.com';
|
|
1162
1348
|
};
|
|
1163
|
-
readonly type:
|
|
1349
|
+
readonly type: 'iframe';
|
|
1164
1350
|
readonly version: 1;
|
|
1165
1351
|
};
|
|
1166
1352
|
readonly supportedFeatures: readonly ["content"];
|
|
1167
|
-
readonly type:
|
|
1353
|
+
readonly type: 'iframe';
|
|
1168
1354
|
}, {
|
|
1169
1355
|
readonly documentation: {
|
|
1170
1356
|
readonly constraints: readonly ["The source must use one of the supported image source variants."];
|
|
1171
1357
|
readonly dataRequirements: readonly ["No query data."];
|
|
1172
|
-
readonly summary:
|
|
1173
|
-
readonly title:
|
|
1358
|
+
readonly summary: 'Image content with fit, opacity, blur, saturation, and shadow controls.';
|
|
1359
|
+
readonly title: 'Image';
|
|
1174
1360
|
};
|
|
1175
1361
|
readonly example: {
|
|
1176
1362
|
readonly settings: {
|
|
1177
1363
|
readonly blur: 0;
|
|
1178
|
-
readonly fit:
|
|
1364
|
+
readonly fit: 'contain';
|
|
1179
1365
|
readonly opacity: 0.95;
|
|
1180
1366
|
readonly saturation: 0.9;
|
|
1181
1367
|
readonly shadow: true;
|
|
1182
1368
|
readonly source: {
|
|
1183
|
-
readonly imageUrl:
|
|
1184
|
-
readonly sourceKind:
|
|
1369
|
+
readonly imageUrl: 'https://example.com/image.png';
|
|
1370
|
+
readonly sourceKind: 'url';
|
|
1185
1371
|
};
|
|
1186
1372
|
};
|
|
1187
|
-
readonly type:
|
|
1373
|
+
readonly type: 'image';
|
|
1188
1374
|
readonly version: 1;
|
|
1189
1375
|
};
|
|
1190
1376
|
readonly supportedFeatures: readonly ["content", "object-settings"];
|
|
1191
|
-
readonly type:
|
|
1377
|
+
readonly type: 'image';
|
|
1192
1378
|
}, {
|
|
1193
1379
|
readonly additionalExamples: readonly [{
|
|
1194
1380
|
readonly definition: {
|
|
@@ -1198,25 +1384,25 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1198
1384
|
readonly filterGroup: {
|
|
1199
1385
|
readonly filters: [{
|
|
1200
1386
|
readonly fieldKey: "[Cars].[Model]";
|
|
1201
|
-
readonly operator:
|
|
1202
|
-
readonly value:
|
|
1387
|
+
readonly operator: 'contains';
|
|
1388
|
+
readonly value: 'Sport';
|
|
1203
1389
|
}, {
|
|
1204
1390
|
readonly fieldKey: "[Cars].[Horsepower]";
|
|
1205
|
-
readonly operator:
|
|
1206
|
-
readonly value:
|
|
1391
|
+
readonly operator: 'greaterThanOrEqualTo';
|
|
1392
|
+
readonly value: '200';
|
|
1207
1393
|
}];
|
|
1208
|
-
readonly operator:
|
|
1394
|
+
readonly operator: 'and';
|
|
1209
1395
|
};
|
|
1210
|
-
readonly type:
|
|
1396
|
+
readonly type: 'number';
|
|
1211
1397
|
readonly version: 1;
|
|
1212
1398
|
};
|
|
1213
|
-
readonly title:
|
|
1399
|
+
readonly title: 'Value filtered by single-value conditions';
|
|
1214
1400
|
}];
|
|
1215
1401
|
readonly documentation: {
|
|
1216
1402
|
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
1403
|
readonly dataRequirements: readonly ["Exactly one measure."];
|
|
1218
|
-
readonly summary:
|
|
1219
|
-
readonly title:
|
|
1404
|
+
readonly summary: 'Single aggregated or semantic value with value formatting and static filters.';
|
|
1405
|
+
readonly title: 'Number';
|
|
1220
1406
|
};
|
|
1221
1407
|
readonly example: {
|
|
1222
1408
|
readonly data: {
|
|
@@ -1225,29 +1411,29 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1225
1411
|
readonly filterGroup: {
|
|
1226
1412
|
filters: {
|
|
1227
1413
|
fieldKey: "[Cars].[Manufacturer]";
|
|
1228
|
-
operator:
|
|
1414
|
+
operator: 'inList';
|
|
1229
1415
|
values: string[];
|
|
1230
1416
|
}[];
|
|
1231
|
-
operator:
|
|
1417
|
+
operator: 'and';
|
|
1232
1418
|
};
|
|
1233
|
-
readonly type:
|
|
1419
|
+
readonly type: 'number';
|
|
1234
1420
|
readonly version: 1;
|
|
1235
1421
|
};
|
|
1236
1422
|
readonly supportedFeatures: readonly ["filters", "measures", "value-formatting"];
|
|
1237
|
-
readonly type:
|
|
1423
|
+
readonly type: 'number';
|
|
1238
1424
|
}, {
|
|
1239
1425
|
readonly documentation: {
|
|
1240
1426
|
readonly constraints: readonly ["Image-specific settings apply only when the selected shape/background mode supports them."];
|
|
1241
1427
|
readonly dataRequirements: readonly ["No query data."];
|
|
1242
|
-
readonly summary:
|
|
1243
|
-
readonly title:
|
|
1428
|
+
readonly summary: 'Decorative shape with fill, stroke, sizing, rotation, and border controls.';
|
|
1429
|
+
readonly title: 'Shape';
|
|
1244
1430
|
};
|
|
1245
1431
|
readonly example: {
|
|
1246
1432
|
readonly settings: {
|
|
1247
1433
|
readonly backgroundColor: {
|
|
1248
|
-
readonly code:
|
|
1434
|
+
readonly code: '#2e6e9e';
|
|
1249
1435
|
};
|
|
1250
|
-
readonly backgroundType:
|
|
1436
|
+
readonly backgroundType: 'color';
|
|
1251
1437
|
readonly borderEnabled: true;
|
|
1252
1438
|
readonly borderRadius: 8;
|
|
1253
1439
|
readonly heightBasedSize: false;
|
|
@@ -1255,97 +1441,97 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1255
1441
|
readonly preserveAspectRatio: true;
|
|
1256
1442
|
readonly rotate: 12;
|
|
1257
1443
|
readonly scale: 0.7;
|
|
1258
|
-
readonly shape:
|
|
1444
|
+
readonly shape: 'hexagon';
|
|
1259
1445
|
readonly strokeColor: {
|
|
1260
|
-
readonly code:
|
|
1446
|
+
readonly code: '#18212b';
|
|
1261
1447
|
};
|
|
1262
1448
|
};
|
|
1263
|
-
readonly type:
|
|
1449
|
+
readonly type: 'shape';
|
|
1264
1450
|
readonly version: 1;
|
|
1265
1451
|
};
|
|
1266
1452
|
readonly supportedFeatures: readonly ["object-settings"];
|
|
1267
|
-
readonly type:
|
|
1453
|
+
readonly type: 'shape';
|
|
1268
1454
|
}, {
|
|
1269
1455
|
readonly documentation: {
|
|
1270
1456
|
readonly constraints: readonly ["Content interpretation follows the selected representation."];
|
|
1271
1457
|
readonly dataRequirements: readonly ["No query data."];
|
|
1272
|
-
readonly summary:
|
|
1273
|
-
readonly title:
|
|
1458
|
+
readonly summary: 'Text or Markdown content with typography, alignment, wrapping, and responsive controls.';
|
|
1459
|
+
readonly title: 'Text object';
|
|
1274
1460
|
};
|
|
1275
1461
|
readonly example: {
|
|
1276
1462
|
readonly settings: {
|
|
1277
|
-
readonly align:
|
|
1278
|
-
readonly content:
|
|
1279
|
-
readonly fontFamily:
|
|
1463
|
+
readonly align: 'center';
|
|
1464
|
+
readonly content: '## Revenue overview';
|
|
1465
|
+
readonly fontFamily: 'Arial';
|
|
1280
1466
|
readonly fontSize: 30;
|
|
1281
|
-
readonly position:
|
|
1282
|
-
readonly representation:
|
|
1467
|
+
readonly position: 'middle';
|
|
1468
|
+
readonly representation: 'markdown';
|
|
1283
1469
|
readonly responsive: true;
|
|
1284
|
-
readonly textColor:
|
|
1470
|
+
readonly textColor: '#18212b';
|
|
1285
1471
|
readonly wordWrap: true;
|
|
1286
1472
|
};
|
|
1287
|
-
readonly type:
|
|
1473
|
+
readonly type: 'simpleTextObject';
|
|
1288
1474
|
readonly version: 1;
|
|
1289
1475
|
};
|
|
1290
1476
|
readonly supportedFeatures: readonly ["content", "object-settings"];
|
|
1291
|
-
readonly type:
|
|
1477
|
+
readonly type: 'simpleTextObject';
|
|
1292
1478
|
}, {
|
|
1293
1479
|
readonly documentation: {
|
|
1294
1480
|
readonly constraints: readonly ["The referenced variable must exist in the host variable service when variable behavior is used."];
|
|
1295
1481
|
readonly dataRequirements: readonly ["No query data; variable-backed input."];
|
|
1296
|
-
readonly summary:
|
|
1297
|
-
readonly title:
|
|
1482
|
+
readonly summary: 'Variable input control with input type, label, placeholder, and responsive settings.';
|
|
1483
|
+
readonly title: 'Atomic input';
|
|
1298
1484
|
};
|
|
1299
1485
|
readonly example: {
|
|
1300
1486
|
readonly settings: {
|
|
1301
1487
|
readonly customLabel: {
|
|
1302
1488
|
readonly enabled: true;
|
|
1303
|
-
readonly text:
|
|
1489
|
+
readonly text: 'Target';
|
|
1304
1490
|
};
|
|
1305
|
-
readonly inputType:
|
|
1306
|
-
readonly placeholder:
|
|
1491
|
+
readonly inputType: 'text';
|
|
1492
|
+
readonly placeholder: 'Enter target';
|
|
1307
1493
|
readonly responsive: true;
|
|
1308
|
-
readonly variableId:
|
|
1494
|
+
readonly variableId: 'target-variable';
|
|
1309
1495
|
};
|
|
1310
|
-
readonly type:
|
|
1496
|
+
readonly type: 'atomic-input';
|
|
1311
1497
|
readonly version: 1;
|
|
1312
1498
|
};
|
|
1313
1499
|
readonly supportedFeatures: readonly ["input-settings"];
|
|
1314
|
-
readonly type:
|
|
1500
|
+
readonly type: 'atomic-input';
|
|
1315
1501
|
}, {
|
|
1316
1502
|
readonly documentation: {
|
|
1317
1503
|
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
1504
|
readonly dataRequirements: readonly ["No query data; uses field metadata and selections supplied by the host."];
|
|
1319
|
-
readonly summary:
|
|
1320
|
-
readonly title:
|
|
1505
|
+
readonly summary: 'App filter bar settings for selection behavior, filter creation, associative filtering, and selectable fields.';
|
|
1506
|
+
readonly title: 'Astrato App Filter Bar';
|
|
1321
1507
|
};
|
|
1322
1508
|
readonly example: {
|
|
1323
1509
|
readonly settings: {
|
|
1324
1510
|
readonly enableAddingNewFilters: true;
|
|
1325
1511
|
readonly enableAssociativeFilter: true;
|
|
1326
1512
|
readonly selectableFieldKeys: ["[Cars].[Manufacturer]", "[Cars].[Model]"];
|
|
1327
|
-
readonly selectionMode:
|
|
1513
|
+
readonly selectionMode: 'inherit';
|
|
1328
1514
|
readonly showChartBreakdown: false;
|
|
1329
1515
|
readonly showClearAll: true;
|
|
1330
1516
|
};
|
|
1331
|
-
readonly type:
|
|
1517
|
+
readonly type: 'astrato-app-filter-bar';
|
|
1332
1518
|
readonly version: 1;
|
|
1333
1519
|
};
|
|
1334
1520
|
readonly supportedFeatures: readonly ["selection-settings"];
|
|
1335
|
-
readonly type:
|
|
1521
|
+
readonly type: 'astrato-app-filter-bar';
|
|
1336
1522
|
}, {
|
|
1337
1523
|
readonly documentation: {
|
|
1338
1524
|
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
1525
|
readonly dataRequirements: readonly ["Exactly one field."];
|
|
1340
|
-
readonly summary:
|
|
1341
|
-
readonly title:
|
|
1526
|
+
readonly summary: 'Numeric or date range control with single/multi layout, step, and quick select.';
|
|
1527
|
+
readonly title: 'Slider';
|
|
1342
1528
|
};
|
|
1343
1529
|
readonly example: {
|
|
1344
1530
|
readonly data: {
|
|
1345
1531
|
readonly field: ExampleField;
|
|
1346
1532
|
};
|
|
1347
1533
|
readonly settings: {
|
|
1348
|
-
readonly layout:
|
|
1534
|
+
readonly layout: 'multi';
|
|
1349
1535
|
readonly quickSelect: true;
|
|
1350
1536
|
readonly range: {
|
|
1351
1537
|
readonly max: 500;
|
|
@@ -1353,11 +1539,11 @@ export declare const visualizationDefinitionDescriptorMetadata: readonly [{
|
|
|
1353
1539
|
};
|
|
1354
1540
|
readonly step: 10;
|
|
1355
1541
|
};
|
|
1356
|
-
readonly type:
|
|
1542
|
+
readonly type: 'slider';
|
|
1357
1543
|
readonly version: 1;
|
|
1358
1544
|
};
|
|
1359
1545
|
readonly supportedFeatures: readonly ["dimensions", "filter-settings"];
|
|
1360
|
-
readonly type:
|
|
1546
|
+
readonly type: 'slider';
|
|
1361
1547
|
}];
|
|
1362
1548
|
/** Returns the documentation metadata associated with one supported visualization type. */
|
|
1363
1549
|
export declare const getVisualizationDefinitionDescriptorMetadata: <TType extends VisualizationDefinitionType>(type: TType) => VisualizationDefinitionDescriptorMetadataEntry<TType>;
|