powerbi-visuals-tools 3.3.2 → 3.4.3
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/.vscode/launch.json +52 -0
- package/Changelog.md +105 -16
- package/bin/pbiviz-new.js +3 -12
- package/bin/pbiviz-package.js +12 -8
- package/bin/pbiviz-start.js +25 -51
- package/bin/pbiviz.js +0 -1
- package/config.json +1 -1
- package/lib/CertificateTools.js +6 -8
- package/lib/TemplateFetcher.js +7 -29
- package/lib/VisualGenerator.js +5 -94
- package/lib/WebPackWrap.js +69 -75
- package/lib/utils.js +26 -0
- package/lib/webpack.config.js +9 -6
- package/package.json +14 -16
- package/templates/visuals/default/package.json +2 -2
- package/templates/visuals/rhtml/package.json +1 -1
- package/templates/visuals/rvisual/package.json +1 -1
- package/templates/visuals/slicer/package.json +2 -2
- package/templates/visuals/table/package.json +2 -2
- package/bin/pbiviz-update.js +0 -128
- package/lib/LessCompiler.js +0 -86
- package/lib/TypescriptCompiler.js +0 -243
- package/templates/visuals/.api/v1.0.0/PowerBI-visuals.d.ts +0 -1139
- package/templates/visuals/.api/v1.0.0/schema.capabilities.json +0 -758
- package/templates/visuals/.api/v1.0.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.1.0/PowerBI-visuals.d.ts +0 -1179
- package/templates/visuals/.api/v1.1.0/schema.capabilities.json +0 -828
- package/templates/visuals/.api/v1.1.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.10.0/PowerBI-visuals.d.ts +0 -1406
- package/templates/visuals/.api/v1.10.0/schema.capabilities.json +0 -1143
- package/templates/visuals/.api/v1.10.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.10.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.10.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.11.0/PowerBI-visuals.d.ts +0 -1406
- package/templates/visuals/.api/v1.11.0/schema.capabilities.json +0 -1143
- package/templates/visuals/.api/v1.11.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.11.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.11.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.12.0/PowerBI-visuals.d.ts +0 -1408
- package/templates/visuals/.api/v1.12.0/schema.capabilities.json +0 -1173
- package/templates/visuals/.api/v1.12.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.12.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.12.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.13.0/PowerBI-visuals.d.ts +0 -1450
- package/templates/visuals/.api/v1.13.0/schema.capabilities.json +0 -1181
- package/templates/visuals/.api/v1.13.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.13.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.13.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.2.0/PowerBI-visuals.d.ts +0 -1188
- package/templates/visuals/.api/v1.2.0/schema.capabilities.json +0 -951
- package/templates/visuals/.api/v1.2.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.2.0/schema.pbiviz.json +0 -99
- package/templates/visuals/.api/v1.3.0/PowerBI-visuals.d.ts +0 -1293
- package/templates/visuals/.api/v1.3.0/schema.capabilities.json +0 -951
- package/templates/visuals/.api/v1.3.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.3.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.4.0/PowerBI-visuals.d.ts +0 -1282
- package/templates/visuals/.api/v1.4.0/schema.capabilities.json +0 -951
- package/templates/visuals/.api/v1.4.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.4.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.5.0/PowerBI-visuals.d.ts +0 -1205
- package/templates/visuals/.api/v1.5.0/schema.capabilities.json +0 -987
- package/templates/visuals/.api/v1.5.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.5.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.6.0/PowerBI-visuals.d.ts +0 -1297
- package/templates/visuals/.api/v1.6.0/schema.capabilities.json +0 -1007
- package/templates/visuals/.api/v1.6.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.6.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.6.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.7.0/PowerBI-visuals.d.ts +0 -1381
- package/templates/visuals/.api/v1.7.0/schema.capabilities.json +0 -1007
- package/templates/visuals/.api/v1.7.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.7.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.7.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.8.0/PowerBI-visuals.d.ts +0 -1389
- package/templates/visuals/.api/v1.8.0/schema.capabilities.json +0 -1131
- package/templates/visuals/.api/v1.8.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.8.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.8.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.9.0/PowerBI-visuals.d.ts +0 -1391
- package/templates/visuals/.api/v1.9.0/schema.capabilities.json +0 -1131
- package/templates/visuals/.api/v1.9.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.9.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.9.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.0.0/PowerBI-visuals.d.ts +0 -1417
- package/templates/visuals/.api/v2.0.0/schema.capabilities.json +0 -1177
- package/templates/visuals/.api/v2.0.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.0.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.0.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.1.0/PowerBI-visuals.d.ts +0 -1417
- package/templates/visuals/.api/v2.1.0/schema.capabilities.json +0 -1177
- package/templates/visuals/.api/v2.1.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.1.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.1.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.2.0/PowerBI-visuals.d.ts +0 -1423
- package/templates/visuals/.api/v2.2.0/schema.capabilities.json +0 -1189
- package/templates/visuals/.api/v2.2.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.2.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.2.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.3.0/PowerBI-visuals.d.ts +0 -1480
- package/templates/visuals/.api/v2.3.0/schema.capabilities.json +0 -1193
- package/templates/visuals/.api/v2.3.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.3.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.3.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.5.0/PowerBI-visuals.d.ts +0 -1483
- package/templates/visuals/.api/v2.5.0/schema.capabilities.json +0 -1197
- package/templates/visuals/.api/v2.5.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.5.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.5.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.6.0/PowerBI-visuals.d.ts +0 -1485
- package/templates/visuals/.api/v2.6.0/schema.capabilities.json +0 -1323
- package/templates/visuals/.api/v2.6.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.6.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.6.0/schema.stringResources.json +0 -67
- package/templates/visuals/default1/assets/icon.png +0 -0
- package/templates/visuals/default1/capabilities.json +0 -84
- package/templates/visuals/default1/package.json +0 -6
- package/templates/visuals/default1/pbiviz.json +0 -3
- package/templates/visuals/default1/src/settings.ts +0 -32
- package/templates/visuals/default1/src/visual.ts +0 -71
- package/templates/visuals/default1/style/visual.less +0 -9
- package/templates/visuals/default1/tsconfig.json +0 -16
|
@@ -1,1323 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"PBI_API_VERSION": "v2.6.0",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"dataRoles": {
|
|
6
|
-
"type": "array",
|
|
7
|
-
"description": "Defines data roles for the visual",
|
|
8
|
-
"items": {
|
|
9
|
-
"$ref": "#/definitions/dataRole"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"dataViewMappings": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"description": "Defines data mappings for the visual",
|
|
15
|
-
"items": {
|
|
16
|
-
"$ref": "#/definitions/dataViewMapping"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"objects": {
|
|
20
|
-
"$ref": "#/definitions/objects"
|
|
21
|
-
},
|
|
22
|
-
"tooltips": {
|
|
23
|
-
"$ref": "#/definitions/tooltips"
|
|
24
|
-
},
|
|
25
|
-
"sorting": {
|
|
26
|
-
"$ref": "#/definitions/sorting"
|
|
27
|
-
},
|
|
28
|
-
"drilldown": {
|
|
29
|
-
"$ref": "#/definitions/drilldown"
|
|
30
|
-
},
|
|
31
|
-
"suppressDefaultTitle": {
|
|
32
|
-
"type": "boolean",
|
|
33
|
-
"description": "Indicates whether the visual should show a default title"
|
|
34
|
-
},
|
|
35
|
-
"supportsKeyboardFocus": {
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"description": "Allows the visual to receive focus through keyboard navigation"
|
|
38
|
-
},
|
|
39
|
-
"supportsHighlight": {
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"description": "Tells the host to include highlight data"
|
|
42
|
-
},
|
|
43
|
-
"supportsSynchronizingFilterState": {
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"description": "Indicates whether the visual supports synchronization across report pages (for slicer visuals only)"
|
|
46
|
-
},
|
|
47
|
-
"advancedEditModeSupport": {
|
|
48
|
-
"type": "number",
|
|
49
|
-
"description": "Indicates the action requested from the host when this visual enters Advanced Edit mode."
|
|
50
|
-
},
|
|
51
|
-
"supportsLandingPage": {
|
|
52
|
-
"type": "boolean",
|
|
53
|
-
"description": "Indicates whether the visual supports a landing page"
|
|
54
|
-
},
|
|
55
|
-
"subtotals": {
|
|
56
|
-
"description": "Specifies the subtotal customizations applied in the customizeQuery method",
|
|
57
|
-
"$ref": "#/definitions/subtotals"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"additionalProperties": false,
|
|
61
|
-
"definitions": {
|
|
62
|
-
"dataRole": {
|
|
63
|
-
"type": "object",
|
|
64
|
-
"description": "dataRole - Defines the name, displayName, and kind of a data role",
|
|
65
|
-
"properties": {
|
|
66
|
-
"name": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"description": "The internal name for this data role used for all references to this role"
|
|
69
|
-
},
|
|
70
|
-
"displayName": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"description": "The name of this data role that is shown to the user"
|
|
73
|
-
},
|
|
74
|
-
"displayNameKey": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "The localization key for the displayed name in the stringResourced file"
|
|
77
|
-
},
|
|
78
|
-
"kind": {
|
|
79
|
-
"description": "The kind of data that can be bound do this role",
|
|
80
|
-
"$ref": "#/definitions/dataRole.kind"
|
|
81
|
-
},
|
|
82
|
-
"description": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"description": "A description of this role shown to the user as a tooltip"
|
|
85
|
-
},
|
|
86
|
-
"descriptionKey": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"description": "The localization key for the description in the stringResourced file"
|
|
89
|
-
},
|
|
90
|
-
"preferredTypes": {
|
|
91
|
-
"type": "array",
|
|
92
|
-
"description": "Defines the preferred type of data for this data role",
|
|
93
|
-
"items": {
|
|
94
|
-
"$ref": "#/definitions/valueType"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"requiredTypes": {
|
|
98
|
-
"type": "array",
|
|
99
|
-
"description": "Defines the required type of data for this data role. Any values that do not match will be set to null",
|
|
100
|
-
"items": {
|
|
101
|
-
"$ref": "#/definitions/valueType"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"required": [
|
|
106
|
-
"name",
|
|
107
|
-
"displayName",
|
|
108
|
-
"kind"
|
|
109
|
-
],
|
|
110
|
-
"additionalProperties": false
|
|
111
|
-
},
|
|
112
|
-
"dataViewMapping": {
|
|
113
|
-
"type": "object",
|
|
114
|
-
"description": "dataMapping - Defines how data is mapped to data roles",
|
|
115
|
-
"properties": {
|
|
116
|
-
"conditions": {
|
|
117
|
-
"type": "array",
|
|
118
|
-
"description": "List of conditions that must be met for this data mapping",
|
|
119
|
-
"items": {
|
|
120
|
-
"type": "object",
|
|
121
|
-
"description": "condition - Defines conditions for a data mapping (each key needs to be a valid data role)",
|
|
122
|
-
"patternProperties": {
|
|
123
|
-
"^[\\w\\s-]+$": {
|
|
124
|
-
"description": "Specifies the number of values that can be assigned to this data role in this mapping",
|
|
125
|
-
"$ref": "#/definitions/dataViewMapping.numberRangeWithKind"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"additionalProperties": false
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"single": {
|
|
132
|
-
"$ref": "#/definitions/dataViewMapping.single"
|
|
133
|
-
},
|
|
134
|
-
"categorical": {
|
|
135
|
-
"$ref": "#/definitions/dataViewMapping.categorical"
|
|
136
|
-
},
|
|
137
|
-
"table": {
|
|
138
|
-
"$ref": "#/definitions/dataViewMapping.table"
|
|
139
|
-
},
|
|
140
|
-
"matrix": {
|
|
141
|
-
"$ref": "#/definitions/dataViewMapping.matrix"
|
|
142
|
-
},
|
|
143
|
-
"scriptResult": {
|
|
144
|
-
"$ref": "#/definitions/dataViewMapping.scriptResult"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"oneOf": [
|
|
148
|
-
{
|
|
149
|
-
"required": [
|
|
150
|
-
"single"
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"required": [
|
|
155
|
-
"categorical"
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"required": [
|
|
160
|
-
"table"
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"required": [
|
|
165
|
-
"matrix"
|
|
166
|
-
]
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"required": [
|
|
170
|
-
"scriptResult"
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"additionalProperties": false
|
|
175
|
-
},
|
|
176
|
-
"dataViewMapping.single": {
|
|
177
|
-
"type": "object",
|
|
178
|
-
"description": "single - Defines a single data mapping",
|
|
179
|
-
"properties": {
|
|
180
|
-
"role": {
|
|
181
|
-
"type": "string",
|
|
182
|
-
"description": "The data role to bind to this mapping"
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"required": [
|
|
186
|
-
"role"
|
|
187
|
-
],
|
|
188
|
-
"additionalProperties": false
|
|
189
|
-
},
|
|
190
|
-
"dataViewMapping.categorical": {
|
|
191
|
-
"type": "object",
|
|
192
|
-
"description": "categorical - Defines a categorical data mapping",
|
|
193
|
-
"properties": {
|
|
194
|
-
"categories": {
|
|
195
|
-
"type": "object",
|
|
196
|
-
"description": "Defines data roles to be used as categories",
|
|
197
|
-
"properties": {
|
|
198
|
-
"bind": {
|
|
199
|
-
"$ref": "#/definitions/dataViewMapping.bindTo"
|
|
200
|
-
},
|
|
201
|
-
"for": {
|
|
202
|
-
"$ref": "#/definitions/dataViewMapping.forIn"
|
|
203
|
-
},
|
|
204
|
-
"select": {
|
|
205
|
-
"$ref": "#/definitions/dataViewMapping.select"
|
|
206
|
-
},
|
|
207
|
-
"dataReductionAlgorithm": {
|
|
208
|
-
"$ref": "#/definitions/dataViewMapping.dataReductionAlgorithm"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"oneOf": [
|
|
212
|
-
{
|
|
213
|
-
"required": [
|
|
214
|
-
"for"
|
|
215
|
-
]
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"required": [
|
|
219
|
-
"bind"
|
|
220
|
-
]
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"required": [
|
|
224
|
-
"select"
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
]
|
|
228
|
-
},
|
|
229
|
-
"values": {
|
|
230
|
-
"type": "object",
|
|
231
|
-
"description": "Defines data roles to be used as values",
|
|
232
|
-
"properties": {
|
|
233
|
-
"bind": {
|
|
234
|
-
"$ref": "#/definitions/dataViewMapping.bindTo"
|
|
235
|
-
},
|
|
236
|
-
"for": {
|
|
237
|
-
"$ref": "#/definitions/dataViewMapping.forIn"
|
|
238
|
-
},
|
|
239
|
-
"select": {
|
|
240
|
-
"$ref": "#/definitions/dataViewMapping.select"
|
|
241
|
-
},
|
|
242
|
-
"group": {
|
|
243
|
-
"type": "object",
|
|
244
|
-
"description": "Groups on a a specific data role",
|
|
245
|
-
"properties": {
|
|
246
|
-
"by": {
|
|
247
|
-
"description": "Specifies a data role to use for grouping",
|
|
248
|
-
"type": "string"
|
|
249
|
-
},
|
|
250
|
-
"select": {
|
|
251
|
-
"$ref": "#/definitions/dataViewMapping.select"
|
|
252
|
-
},
|
|
253
|
-
"dataReductionAlgorithm": {
|
|
254
|
-
"$ref": "#/definitions/dataViewMapping.dataReductionAlgorithm"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"required": [
|
|
258
|
-
"by",
|
|
259
|
-
"select"
|
|
260
|
-
]
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
"oneOf": [
|
|
264
|
-
{
|
|
265
|
-
"required": [
|
|
266
|
-
"for"
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"required": [
|
|
271
|
-
"bind"
|
|
272
|
-
]
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"required": [
|
|
276
|
-
"select"
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"required": [
|
|
281
|
-
"group"
|
|
282
|
-
]
|
|
283
|
-
}
|
|
284
|
-
]
|
|
285
|
-
},
|
|
286
|
-
"dataVolume": {
|
|
287
|
-
"$ref": "#/definitions/dataViewMapping.dataVolume"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
"additionalProperties": false
|
|
291
|
-
},
|
|
292
|
-
"dataViewMapping.table": {
|
|
293
|
-
"type": "object",
|
|
294
|
-
"description": "table - Defines a table data mapping",
|
|
295
|
-
"properties": {
|
|
296
|
-
"rows": {
|
|
297
|
-
"type": "object",
|
|
298
|
-
"description": "Rows to use for the table",
|
|
299
|
-
"properties": {
|
|
300
|
-
"bind": {
|
|
301
|
-
"$ref": "#/definitions/dataViewMapping.bindTo"
|
|
302
|
-
},
|
|
303
|
-
"for": {
|
|
304
|
-
"$ref": "#/definitions/dataViewMapping.forIn"
|
|
305
|
-
},
|
|
306
|
-
"select": {
|
|
307
|
-
"$ref": "#/definitions/dataViewMapping.select"
|
|
308
|
-
},
|
|
309
|
-
"dataReductionAlgorithm": {
|
|
310
|
-
"$ref": "#/definitions/dataViewMapping.dataReductionAlgorithm"
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
"oneOf": [
|
|
314
|
-
{
|
|
315
|
-
"required": [
|
|
316
|
-
"for"
|
|
317
|
-
]
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"required": [
|
|
321
|
-
"bind"
|
|
322
|
-
]
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"required": [
|
|
326
|
-
"select"
|
|
327
|
-
]
|
|
328
|
-
}
|
|
329
|
-
]
|
|
330
|
-
},
|
|
331
|
-
"rowCount": {
|
|
332
|
-
"type": "object",
|
|
333
|
-
"description": "Specifies a constraint on the number of data rows supported by the visual",
|
|
334
|
-
"properties": {
|
|
335
|
-
"preferred": {
|
|
336
|
-
"description": "Specifies a preferred range of values for the constraint",
|
|
337
|
-
"$ref": "#/definitions/dataViewMapping.numberRange"
|
|
338
|
-
},
|
|
339
|
-
"supported": {
|
|
340
|
-
"description": "Specifies a supported range of values for the constraint. Defaults to preferred if not specified.",
|
|
341
|
-
"$ref": "#/definitions/dataViewMapping.numberRange"
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
"dataVolume": {
|
|
346
|
-
"$ref": "#/definitions/dataViewMapping.dataVolume"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
"requires": [
|
|
350
|
-
"rows"
|
|
351
|
-
]
|
|
352
|
-
},
|
|
353
|
-
"dataViewMapping.matrix": {
|
|
354
|
-
"type": "object",
|
|
355
|
-
"description": "matrix - Defines a matrix data mapping",
|
|
356
|
-
"properties": {
|
|
357
|
-
"rows": {
|
|
358
|
-
"type": "object",
|
|
359
|
-
"description": "Defines the rows used for the matrix",
|
|
360
|
-
"properties": {
|
|
361
|
-
"for": {
|
|
362
|
-
"$ref": "#/definitions/dataViewMapping.forIn"
|
|
363
|
-
},
|
|
364
|
-
"select": {
|
|
365
|
-
"$ref": "#/definitions/dataViewMapping.select"
|
|
366
|
-
},
|
|
367
|
-
"dataReductionAlgorithm": {
|
|
368
|
-
"$ref": "#/definitions/dataViewMapping.dataReductionAlgorithm"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
"oneOf": [
|
|
372
|
-
{
|
|
373
|
-
"required": [
|
|
374
|
-
"for"
|
|
375
|
-
]
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"required": [
|
|
379
|
-
"select"
|
|
380
|
-
]
|
|
381
|
-
}
|
|
382
|
-
]
|
|
383
|
-
},
|
|
384
|
-
"columns": {
|
|
385
|
-
"type": "object",
|
|
386
|
-
"description": "Defines the columns used for the matrix",
|
|
387
|
-
"properties": {
|
|
388
|
-
"for": {
|
|
389
|
-
"$ref": "#/definitions/dataViewMapping.forIn"
|
|
390
|
-
},
|
|
391
|
-
"dataReductionAlgorithm": {
|
|
392
|
-
"$ref": "#/definitions/dataViewMapping.dataReductionAlgorithm"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
"required": [
|
|
396
|
-
"for"
|
|
397
|
-
]
|
|
398
|
-
},
|
|
399
|
-
"values": {
|
|
400
|
-
"type": "object",
|
|
401
|
-
"description": "Defines the values used for the matrix",
|
|
402
|
-
"properties": {
|
|
403
|
-
"for": {
|
|
404
|
-
"$ref": "#/definitions/dataViewMapping.forIn"
|
|
405
|
-
},
|
|
406
|
-
"select": {
|
|
407
|
-
"$ref": "#/definitions/dataViewMapping.select"
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
"oneOf": [
|
|
411
|
-
{
|
|
412
|
-
"required": [
|
|
413
|
-
"for"
|
|
414
|
-
]
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"required": [
|
|
418
|
-
"select"
|
|
419
|
-
]
|
|
420
|
-
}
|
|
421
|
-
]
|
|
422
|
-
},
|
|
423
|
-
"dataVolume": {
|
|
424
|
-
"$ref": "#/definitions/dataViewMapping.dataVolume"
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
"dataViewMapping.scriptResult": {
|
|
429
|
-
"type": "object",
|
|
430
|
-
"description": "scriptResult - Defines a scriptResult data mapping",
|
|
431
|
-
"properties": {
|
|
432
|
-
"dataInput": {
|
|
433
|
-
"type": "object",
|
|
434
|
-
"description": "dataInput - Defines how data is mapped to data roles",
|
|
435
|
-
"properties": {
|
|
436
|
-
"table": {
|
|
437
|
-
"$ref": "#/definitions/dataViewMapping.table"
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
"script": {
|
|
442
|
-
"type": "object",
|
|
443
|
-
"description": "script - Defines where the script text and provider are stored",
|
|
444
|
-
"properties": {
|
|
445
|
-
"scriptSourceDefault": {
|
|
446
|
-
"type": "string",
|
|
447
|
-
"description": "scriptSourceDefault - Defines the default script source value to be used when no script object is defined"
|
|
448
|
-
},
|
|
449
|
-
"scriptProviderDefault": {
|
|
450
|
-
"type": "string",
|
|
451
|
-
"description": "scriptProviderDefault - Defines the default script provider value to be used when no provider object is defined"
|
|
452
|
-
},
|
|
453
|
-
"scriptOutputType": {
|
|
454
|
-
"type": "string",
|
|
455
|
-
"description": "scriptOutputType - Defines the output type that the R script will generate"
|
|
456
|
-
},
|
|
457
|
-
"source": {
|
|
458
|
-
"$ref": "#/definitions/dataViewObjectPropertyIdentifier"
|
|
459
|
-
},
|
|
460
|
-
"provider": {
|
|
461
|
-
"$ref": "#/definitions/dataViewObjectPropertyIdentifier"
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
"dataViewObjectPropertyIdentifier": {
|
|
468
|
-
"type": "object",
|
|
469
|
-
"description": "Points to an object property",
|
|
470
|
-
"properties": {
|
|
471
|
-
"objectName": {
|
|
472
|
-
"type": "string",
|
|
473
|
-
"description": "The name of a object"
|
|
474
|
-
},
|
|
475
|
-
"propertyName": {
|
|
476
|
-
"type": "string",
|
|
477
|
-
"description": "The name of a property inside the object"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
"dataViewMapping.bindTo": {
|
|
482
|
-
"type": "object",
|
|
483
|
-
"description": "Binds this data mapping to a single value",
|
|
484
|
-
"properties": {
|
|
485
|
-
"to": {
|
|
486
|
-
"type": "string",
|
|
487
|
-
"description": "The name of a data role to bind to"
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
"additionalProperties": false,
|
|
491
|
-
"required": [
|
|
492
|
-
"to"
|
|
493
|
-
]
|
|
494
|
-
},
|
|
495
|
-
"dataViewMapping.numberRange": {
|
|
496
|
-
"type": "object",
|
|
497
|
-
"description": "A number range from min to max",
|
|
498
|
-
"properties": {
|
|
499
|
-
"min": {
|
|
500
|
-
"type": "number",
|
|
501
|
-
"description": "Minimum value supported"
|
|
502
|
-
},
|
|
503
|
-
"max": {
|
|
504
|
-
"type": "number",
|
|
505
|
-
"description": "Maximum value supported"
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
"dataViewMapping.numberRangeWithKind": {
|
|
510
|
-
"allOf": [
|
|
511
|
-
{
|
|
512
|
-
"$ref": "#/definitions/dataViewMapping.numberRange"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"properties": {
|
|
516
|
-
"kind": {
|
|
517
|
-
"$ref": "#/definitions/dataRole.kind"
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
]
|
|
522
|
-
},
|
|
523
|
-
"dataRole.kind": {
|
|
524
|
-
"type": "string",
|
|
525
|
-
"enum": [
|
|
526
|
-
"Grouping",
|
|
527
|
-
"Measure",
|
|
528
|
-
"GroupingOrMeasure"
|
|
529
|
-
]
|
|
530
|
-
},
|
|
531
|
-
"dataViewMapping.select": {
|
|
532
|
-
"type": "array",
|
|
533
|
-
"description": "Defines a list of properties to bind",
|
|
534
|
-
"items": {
|
|
535
|
-
"type": "object",
|
|
536
|
-
"properties": {
|
|
537
|
-
"bind": {
|
|
538
|
-
"$ref": "#/definitions/dataViewMapping.bindTo"
|
|
539
|
-
},
|
|
540
|
-
"for": {
|
|
541
|
-
"$ref": "#/definitions/dataViewMapping.forIn"
|
|
542
|
-
}
|
|
543
|
-
},
|
|
544
|
-
"oneOf": [
|
|
545
|
-
{
|
|
546
|
-
"required": [
|
|
547
|
-
"for"
|
|
548
|
-
]
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"required": [
|
|
552
|
-
"bind"
|
|
553
|
-
]
|
|
554
|
-
}
|
|
555
|
-
]
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
"dataViewMapping.dataReductionAlgorithm": {
|
|
559
|
-
"type": "object",
|
|
560
|
-
"description": "Describes how to reduce the amount of data exposed to the visual",
|
|
561
|
-
"properties": {
|
|
562
|
-
"top": {
|
|
563
|
-
"type": "object",
|
|
564
|
-
"description": "Reduce the data to the Top count items",
|
|
565
|
-
"properties": {
|
|
566
|
-
"count": {
|
|
567
|
-
"type": "number"
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
"bottom": {
|
|
572
|
-
"type": "object",
|
|
573
|
-
"description": "Reduce the data to the Bottom count items",
|
|
574
|
-
"properties": {
|
|
575
|
-
"count": {
|
|
576
|
-
"type": "number"
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
"sample": {
|
|
581
|
-
"type": "object",
|
|
582
|
-
"description": "Reduce the data using a simple Sample of count items",
|
|
583
|
-
"properties": {
|
|
584
|
-
"count": {
|
|
585
|
-
"type": "number"
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
"window": {
|
|
590
|
-
"type": "object",
|
|
591
|
-
"description": "Allow the data to be loaded one window, containing count items, at a time",
|
|
592
|
-
"properties": {
|
|
593
|
-
"count": {
|
|
594
|
-
"type": "number"
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
"additionalProperties": false,
|
|
600
|
-
"oneOf": [
|
|
601
|
-
{
|
|
602
|
-
"required": [
|
|
603
|
-
"top"
|
|
604
|
-
]
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"required": [
|
|
608
|
-
"bottom"
|
|
609
|
-
]
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"required": [
|
|
613
|
-
"sample"
|
|
614
|
-
]
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"required": [
|
|
618
|
-
"window"
|
|
619
|
-
]
|
|
620
|
-
}
|
|
621
|
-
]
|
|
622
|
-
},
|
|
623
|
-
"dataViewMapping.dataVolume": {
|
|
624
|
-
"description": "Specifies the volume of data the query should return (1-6)",
|
|
625
|
-
"type": "number",
|
|
626
|
-
"enum": [
|
|
627
|
-
1,
|
|
628
|
-
2,
|
|
629
|
-
3,
|
|
630
|
-
4,
|
|
631
|
-
5,
|
|
632
|
-
6
|
|
633
|
-
]
|
|
634
|
-
},
|
|
635
|
-
"dataViewMapping.forIn": {
|
|
636
|
-
"type": "object",
|
|
637
|
-
"description": "Binds this data mapping for all items in a collection",
|
|
638
|
-
"properties": {
|
|
639
|
-
"in": {
|
|
640
|
-
"type": "string",
|
|
641
|
-
"description": "The name of a data role to iterate over"
|
|
642
|
-
}
|
|
643
|
-
},
|
|
644
|
-
"additionalProperties": false,
|
|
645
|
-
"required": [
|
|
646
|
-
"in"
|
|
647
|
-
]
|
|
648
|
-
},
|
|
649
|
-
"objects": {
|
|
650
|
-
"type": "object",
|
|
651
|
-
"description": "A list of unique property groups",
|
|
652
|
-
"patternProperties": {
|
|
653
|
-
"^[\\w\\s-]+$": {
|
|
654
|
-
"type": "object",
|
|
655
|
-
"description": "Settings for a group of properties",
|
|
656
|
-
"properties": {
|
|
657
|
-
"displayName": {
|
|
658
|
-
"type": "string",
|
|
659
|
-
"description": "The name shown to the user to describe this group of properties"
|
|
660
|
-
},
|
|
661
|
-
"displayNameKey": {
|
|
662
|
-
"type": "string",
|
|
663
|
-
"description": "The localization key for the displayed name in the stringResourced file"
|
|
664
|
-
},
|
|
665
|
-
"objectCategory": {
|
|
666
|
-
"type": "number",
|
|
667
|
-
"description": "What aspect of the visual this object controlls (1 = Formatting, 2 = Analytics). Formatting: look & feel, colors, axes, labels etc. Analytics: forcasts, trendlines, reference lines and shapes etc."
|
|
668
|
-
},
|
|
669
|
-
"description": {
|
|
670
|
-
"type": "string",
|
|
671
|
-
"description": "A description of this object shown to the user as a tooltip"
|
|
672
|
-
},
|
|
673
|
-
"descriptionKey": {
|
|
674
|
-
"type": "string",
|
|
675
|
-
"description": "The localization key for the description in the stringResourced file"
|
|
676
|
-
},
|
|
677
|
-
"properties": {
|
|
678
|
-
"type": "object",
|
|
679
|
-
"description": "A list of unique properties contained in this group",
|
|
680
|
-
"patternProperties": {
|
|
681
|
-
"^[\\w\\s-]+$": {
|
|
682
|
-
"$ref": "#/definitions/object.propertySettings"
|
|
683
|
-
}
|
|
684
|
-
},
|
|
685
|
-
"additionalProperties": false
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
"additionalProperties": false
|
|
689
|
-
}
|
|
690
|
-
},
|
|
691
|
-
"additionalProperties": false
|
|
692
|
-
},
|
|
693
|
-
"tooltips": {
|
|
694
|
-
"type": "object",
|
|
695
|
-
"description": "Instructs the host to include tooltips ability",
|
|
696
|
-
"properties": {
|
|
697
|
-
"supportedTypes": {
|
|
698
|
-
"type": "object",
|
|
699
|
-
"description": "Instructs the host what tooltip types to support",
|
|
700
|
-
"properties": {
|
|
701
|
-
"default": {
|
|
702
|
-
"type": "boolean",
|
|
703
|
-
"description": "Instructs the host to support showing default tooltips"
|
|
704
|
-
},
|
|
705
|
-
"canvas": {
|
|
706
|
-
"type": "boolean",
|
|
707
|
-
"description": "Instructs the host to support showing canvas tooltips"
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
|
-
"roles": {
|
|
712
|
-
"type": "array",
|
|
713
|
-
"items": {
|
|
714
|
-
"type": "string",
|
|
715
|
-
"description": "The name of the data role to bind the tooltips selected info to"
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
},
|
|
720
|
-
"object.propertySettings": {
|
|
721
|
-
"type": "object",
|
|
722
|
-
"description": "Settings for a property",
|
|
723
|
-
"properties": {
|
|
724
|
-
"displayName": {
|
|
725
|
-
"type": "string",
|
|
726
|
-
"description": "The name shown to the user to describe this property"
|
|
727
|
-
},
|
|
728
|
-
"displayNameKey": {
|
|
729
|
-
"type": "string",
|
|
730
|
-
"description": "The localization key for the displayed name in the stringResourced file"
|
|
731
|
-
},
|
|
732
|
-
"description": {
|
|
733
|
-
"type": "string",
|
|
734
|
-
"description": "A description of this property shown to the user as a tooltip"
|
|
735
|
-
},
|
|
736
|
-
"descriptionKey": {
|
|
737
|
-
"type": "string",
|
|
738
|
-
"description": "The localization key for the description in the stringResourced file"
|
|
739
|
-
},
|
|
740
|
-
"placeHolderText": {
|
|
741
|
-
"type": "string",
|
|
742
|
-
"description": "Text to display if the field is empty"
|
|
743
|
-
},
|
|
744
|
-
"placeHolderTextKey": {
|
|
745
|
-
"type": "string",
|
|
746
|
-
"description": "The localization key for the placeHolderText in the stringResources file"
|
|
747
|
-
},
|
|
748
|
-
"suppressFormatPainterCopy": {
|
|
749
|
-
"type": "boolean",
|
|
750
|
-
"description": "Indicates whether the Format Painter should ignore this property"
|
|
751
|
-
},
|
|
752
|
-
"type": {
|
|
753
|
-
"description": "Describes what type of property this is and how it should be displayed to the user",
|
|
754
|
-
"$ref": "#/definitions/valueType"
|
|
755
|
-
},
|
|
756
|
-
"rule": {
|
|
757
|
-
"type": "object",
|
|
758
|
-
"description": "Describes substitution rule that replaces property object, described inside the rule, to current property object that contains this rule",
|
|
759
|
-
"$ref": "#/definitions/substitutionRule"
|
|
760
|
-
},
|
|
761
|
-
"filterState": {
|
|
762
|
-
"type": "boolean",
|
|
763
|
-
"description": "Indicates whether the property is a part of filtration information"
|
|
764
|
-
}
|
|
765
|
-
},
|
|
766
|
-
"additionalProperties": false
|
|
767
|
-
},
|
|
768
|
-
"substitutionRule": {
|
|
769
|
-
"type": "object",
|
|
770
|
-
"description": "Describes substitution rule that replaces property object, described inside the rule, to current property object that contains this rule",
|
|
771
|
-
"properties": {
|
|
772
|
-
"inputRole": {
|
|
773
|
-
"type": "string",
|
|
774
|
-
"description": "The name of role. If this role is set, the substitution will be applied"
|
|
775
|
-
},
|
|
776
|
-
"output": {
|
|
777
|
-
"type": "object",
|
|
778
|
-
"description": "Describes what exactly is necessary to replace",
|
|
779
|
-
"properties": {
|
|
780
|
-
"property": {
|
|
781
|
-
"type": "string",
|
|
782
|
-
"description": "The name of property object that will be replaced"
|
|
783
|
-
},
|
|
784
|
-
"selector": {
|
|
785
|
-
"type": "array",
|
|
786
|
-
"description": "The array of selector names. Usually, it contains only one selector -- 'Category'",
|
|
787
|
-
"items": {
|
|
788
|
-
"type": "string",
|
|
789
|
-
"description": "The name of selector"
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
},
|
|
796
|
-
"sorting": {
|
|
797
|
-
"type": "object",
|
|
798
|
-
"description": "Specifies the default sorting behavior for the visual",
|
|
799
|
-
"properties": {
|
|
800
|
-
"default": {
|
|
801
|
-
"type": "object",
|
|
802
|
-
"additionalProperties": false
|
|
803
|
-
},
|
|
804
|
-
"custom": {
|
|
805
|
-
"type": "object",
|
|
806
|
-
"additionalProperties": false
|
|
807
|
-
},
|
|
808
|
-
"implicit": {
|
|
809
|
-
"type": "object",
|
|
810
|
-
"description": "implicit sort",
|
|
811
|
-
"properties": {
|
|
812
|
-
"clauses": {
|
|
813
|
-
"type": "array",
|
|
814
|
-
"items": {
|
|
815
|
-
"type": "object",
|
|
816
|
-
"properties": {
|
|
817
|
-
"role": {
|
|
818
|
-
"type": "string"
|
|
819
|
-
},
|
|
820
|
-
"direction": {
|
|
821
|
-
"type": "number",
|
|
822
|
-
"description": "Determines sort direction (1 = Ascending, 2 = Descending)",
|
|
823
|
-
"enum": [
|
|
824
|
-
1,
|
|
825
|
-
2
|
|
826
|
-
]
|
|
827
|
-
}
|
|
828
|
-
},
|
|
829
|
-
"additionalProperties": false
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"additionalProperties": false
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
|
-
"additionalProperties": false,
|
|
837
|
-
"oneOf": [
|
|
838
|
-
{
|
|
839
|
-
"required": [
|
|
840
|
-
"default"
|
|
841
|
-
]
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"required": [
|
|
845
|
-
"custom"
|
|
846
|
-
]
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"required": [
|
|
850
|
-
"implicit"
|
|
851
|
-
]
|
|
852
|
-
}
|
|
853
|
-
]
|
|
854
|
-
},
|
|
855
|
-
"drilldown": {
|
|
856
|
-
"type": "object",
|
|
857
|
-
"description": "Defines the visual's drill capability",
|
|
858
|
-
"properties": {
|
|
859
|
-
"roles": {
|
|
860
|
-
"type": "array",
|
|
861
|
-
"description": "The drillable role names for this visual",
|
|
862
|
-
"items": {
|
|
863
|
-
"type": "string",
|
|
864
|
-
"description": "The name of the role"
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
"valueType": {
|
|
870
|
-
"type": "object",
|
|
871
|
-
"properties": {
|
|
872
|
-
"bool": {
|
|
873
|
-
"type": "boolean",
|
|
874
|
-
"description": "A boolean value that will be displayed to the user as a toggle switch"
|
|
875
|
-
},
|
|
876
|
-
"enumeration": {
|
|
877
|
-
"type": "array",
|
|
878
|
-
"description": "A list of values that will be displayed as a drop down list",
|
|
879
|
-
"items": {
|
|
880
|
-
"type": "object",
|
|
881
|
-
"description": "Describes an item in the enumeration list",
|
|
882
|
-
"properties": {
|
|
883
|
-
"displayName": {
|
|
884
|
-
"type": "string",
|
|
885
|
-
"description": "The name shown to the user to describe this item"
|
|
886
|
-
},
|
|
887
|
-
"displayNameKey": {
|
|
888
|
-
"type": "string",
|
|
889
|
-
"description": "The localization key for the displayed name in the stringResourced file"
|
|
890
|
-
},
|
|
891
|
-
"value": {
|
|
892
|
-
"type": "string",
|
|
893
|
-
"description": "The internal value of this property when this item is selected"
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
"fill": {
|
|
899
|
-
"type": "object",
|
|
900
|
-
"description": "A color value that will be displayed to the user as a color picker",
|
|
901
|
-
"properties": {
|
|
902
|
-
"solid": {
|
|
903
|
-
"type": "object",
|
|
904
|
-
"description": "A solid color value that will be displayed to the user as a color picker",
|
|
905
|
-
"properties": {
|
|
906
|
-
"color": {
|
|
907
|
-
"oneOf": [
|
|
908
|
-
{
|
|
909
|
-
"type": "boolean"
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"type": "object",
|
|
913
|
-
"properties": {
|
|
914
|
-
"nullable": {
|
|
915
|
-
"description": "Allows the user to select 'no fill' for the color",
|
|
916
|
-
"type": "boolean"
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
]
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
},
|
|
926
|
-
"fillRule": {
|
|
927
|
-
"type": "object",
|
|
928
|
-
"description": "A color gradient that will be dispalyed to the user as a minimum (,medium) and maximum color pickers",
|
|
929
|
-
"properties": {
|
|
930
|
-
"linearGradient2": {
|
|
931
|
-
"type": "object",
|
|
932
|
-
"description": "Two color gradient",
|
|
933
|
-
"properties": {
|
|
934
|
-
"max": {
|
|
935
|
-
"type": "object",
|
|
936
|
-
"description": "Maximum color for gradient",
|
|
937
|
-
"properties": {
|
|
938
|
-
"color": {
|
|
939
|
-
"type": "string"
|
|
940
|
-
},
|
|
941
|
-
"value": {
|
|
942
|
-
"type": "number"
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
"min": {
|
|
947
|
-
"type": "object",
|
|
948
|
-
"description": "Minimum color for gradient",
|
|
949
|
-
"properties": {
|
|
950
|
-
"color": {
|
|
951
|
-
"type": "string"
|
|
952
|
-
},
|
|
953
|
-
"value": {
|
|
954
|
-
"type": "number"
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
"nullColoringStrategy": {
|
|
959
|
-
"type": "object",
|
|
960
|
-
"description": "Null color strategy"
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
},
|
|
964
|
-
"linearGradient3": {
|
|
965
|
-
"type": "object",
|
|
966
|
-
"description": "Three color gradient",
|
|
967
|
-
"properties": {
|
|
968
|
-
"max": {
|
|
969
|
-
"type": "object",
|
|
970
|
-
"description": "Maximum color for gradient",
|
|
971
|
-
"properties": {
|
|
972
|
-
"color": {
|
|
973
|
-
"type": "string"
|
|
974
|
-
},
|
|
975
|
-
"value": {
|
|
976
|
-
"type": "number"
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
},
|
|
980
|
-
"min": {
|
|
981
|
-
"type": "object",
|
|
982
|
-
"description": "Minimum color for gradient",
|
|
983
|
-
"properties": {
|
|
984
|
-
"color": {
|
|
985
|
-
"type": "string"
|
|
986
|
-
},
|
|
987
|
-
"value": {
|
|
988
|
-
"type": "number"
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
"mid": {
|
|
993
|
-
"type": "object",
|
|
994
|
-
"description": "Middle color for gradient",
|
|
995
|
-
"properties": {
|
|
996
|
-
"color": {
|
|
997
|
-
"type": "string"
|
|
998
|
-
},
|
|
999
|
-
"value": {
|
|
1000
|
-
"type": "number"
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
},
|
|
1004
|
-
"nullColoringStrategy": {
|
|
1005
|
-
"type": "object",
|
|
1006
|
-
"description": "Null color strategy"
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
"formatting": {
|
|
1013
|
-
"type": "object",
|
|
1014
|
-
"description": "A numeric value that will be displayed to the user as a text input",
|
|
1015
|
-
"properties": {
|
|
1016
|
-
"labelDisplayUnits": {
|
|
1017
|
-
"type": "boolean",
|
|
1018
|
-
"description": "Displays a dropdown with common display units (Auto, None, Thousands, Millions, Billions, Trillions)"
|
|
1019
|
-
},
|
|
1020
|
-
"alignment": {
|
|
1021
|
-
"type": "boolean",
|
|
1022
|
-
"description": "Displays a selector to allow the user to choose left, center, or right alignment"
|
|
1023
|
-
},
|
|
1024
|
-
"fontSize": {
|
|
1025
|
-
"type": "boolean",
|
|
1026
|
-
"description": "Displays a slider that allows the user to choose a font size in points"
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
"additionalProperties": false,
|
|
1030
|
-
"oneOf": [
|
|
1031
|
-
{
|
|
1032
|
-
"required": [
|
|
1033
|
-
"labelDisplayUnits"
|
|
1034
|
-
]
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
"required": [
|
|
1038
|
-
"alignment"
|
|
1039
|
-
]
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
"required": [
|
|
1043
|
-
"fontSize"
|
|
1044
|
-
]
|
|
1045
|
-
}
|
|
1046
|
-
]
|
|
1047
|
-
},
|
|
1048
|
-
"integer": {
|
|
1049
|
-
"type": "boolean",
|
|
1050
|
-
"description": "An integer (whole number) value that will be displayed to the user as a text input"
|
|
1051
|
-
},
|
|
1052
|
-
"numeric": {
|
|
1053
|
-
"type": "boolean",
|
|
1054
|
-
"description": "A numeric value that will be displayed to the user as a text input"
|
|
1055
|
-
},
|
|
1056
|
-
"filter": {
|
|
1057
|
-
"oneOf": [
|
|
1058
|
-
{
|
|
1059
|
-
"type": "boolean"
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"type": "object",
|
|
1063
|
-
"properties": {
|
|
1064
|
-
"selfFilter": {
|
|
1065
|
-
"type": "boolean"
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
],
|
|
1070
|
-
"description": "A filter"
|
|
1071
|
-
},
|
|
1072
|
-
"operations": {
|
|
1073
|
-
"type": "object",
|
|
1074
|
-
"description": "A visual operation",
|
|
1075
|
-
"properties": {
|
|
1076
|
-
"searchEnabled": {
|
|
1077
|
-
"type": "boolean",
|
|
1078
|
-
"description": "Turns search ability on"
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
},
|
|
1082
|
-
"text": {
|
|
1083
|
-
"type": "boolean",
|
|
1084
|
-
"description": "A text value that will be displayed to the user as a text input"
|
|
1085
|
-
},
|
|
1086
|
-
"scripting": {
|
|
1087
|
-
"type": "object",
|
|
1088
|
-
"description": "A text value that will be displayed to the user as a script",
|
|
1089
|
-
"properties": {
|
|
1090
|
-
"source": {
|
|
1091
|
-
"type": "boolean",
|
|
1092
|
-
"description": "A source code"
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
"geography": {
|
|
1097
|
-
"type": "object",
|
|
1098
|
-
"description": "Geographical data",
|
|
1099
|
-
"properties": {
|
|
1100
|
-
"address": {
|
|
1101
|
-
"type": "boolean"
|
|
1102
|
-
},
|
|
1103
|
-
"city": {
|
|
1104
|
-
"type": "boolean"
|
|
1105
|
-
},
|
|
1106
|
-
"continent": {
|
|
1107
|
-
"type": "boolean"
|
|
1108
|
-
},
|
|
1109
|
-
"country": {
|
|
1110
|
-
"type": "boolean"
|
|
1111
|
-
},
|
|
1112
|
-
"county": {
|
|
1113
|
-
"type": "boolean"
|
|
1114
|
-
},
|
|
1115
|
-
"region": {
|
|
1116
|
-
"type": "boolean"
|
|
1117
|
-
},
|
|
1118
|
-
"postalCode": {
|
|
1119
|
-
"type": "boolean"
|
|
1120
|
-
},
|
|
1121
|
-
"stateOrProvince": {
|
|
1122
|
-
"type": "boolean"
|
|
1123
|
-
},
|
|
1124
|
-
"place": {
|
|
1125
|
-
"type": "boolean"
|
|
1126
|
-
},
|
|
1127
|
-
"latitude": {
|
|
1128
|
-
"type": "boolean"
|
|
1129
|
-
},
|
|
1130
|
-
"longitude": {
|
|
1131
|
-
"type": "boolean"
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
},
|
|
1136
|
-
"additionalProperties": false,
|
|
1137
|
-
"oneOf": [
|
|
1138
|
-
{
|
|
1139
|
-
"required": [
|
|
1140
|
-
"bool"
|
|
1141
|
-
]
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"required": [
|
|
1145
|
-
"enumeration"
|
|
1146
|
-
]
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
"required": [
|
|
1150
|
-
"fill"
|
|
1151
|
-
]
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"required": [
|
|
1155
|
-
"fillRule"
|
|
1156
|
-
]
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
"required": [
|
|
1160
|
-
"formatting"
|
|
1161
|
-
]
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"required": [
|
|
1165
|
-
"integer"
|
|
1166
|
-
]
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"required": [
|
|
1170
|
-
"numeric"
|
|
1171
|
-
]
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
"required": [
|
|
1175
|
-
"text"
|
|
1176
|
-
]
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"required": [
|
|
1180
|
-
"geography"
|
|
1181
|
-
]
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"required": [
|
|
1185
|
-
"scripting"
|
|
1186
|
-
]
|
|
1187
|
-
},
|
|
1188
|
-
{
|
|
1189
|
-
"required": [
|
|
1190
|
-
"filter"
|
|
1191
|
-
]
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"required": [
|
|
1195
|
-
"operations"
|
|
1196
|
-
]
|
|
1197
|
-
}
|
|
1198
|
-
]
|
|
1199
|
-
},
|
|
1200
|
-
"subtotals": {
|
|
1201
|
-
"type": "object",
|
|
1202
|
-
"description": "Specifies the subtotal request customizations applied to the outgoing data query",
|
|
1203
|
-
"properties": {
|
|
1204
|
-
"matrix": {
|
|
1205
|
-
"description": "Defines the subtotal customizations of the outgoing data query of a matrix-dataview visual",
|
|
1206
|
-
"$ref": "#/definitions/subtotals.matrix"
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
"requires": [
|
|
1210
|
-
"matrix"
|
|
1211
|
-
]
|
|
1212
|
-
},
|
|
1213
|
-
"subtotals.matrix": {
|
|
1214
|
-
"type": "object",
|
|
1215
|
-
"description": "Specifies the subtotal customizations of the outgoing data query of a matrix-dataview visual",
|
|
1216
|
-
"properties": {
|
|
1217
|
-
"rowSubtotals": {
|
|
1218
|
-
"type": "object",
|
|
1219
|
-
"description": "Indicates if the subtotal data should be requested for all fields in the rows field well",
|
|
1220
|
-
"properties": {
|
|
1221
|
-
"propertyIdentifier": {
|
|
1222
|
-
"type": "object",
|
|
1223
|
-
"properties": {
|
|
1224
|
-
"objectName": {
|
|
1225
|
-
"type": "string"
|
|
1226
|
-
},
|
|
1227
|
-
"propertyName": {
|
|
1228
|
-
"type": "string"
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
},
|
|
1232
|
-
"defaultValue": {
|
|
1233
|
-
"type": "boolean"
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
},
|
|
1237
|
-
"rowSubtotalsPerLevel": {
|
|
1238
|
-
"type": "object",
|
|
1239
|
-
"description": "Indicates if the subtotal data can be toggled for individual fields in the rows field well",
|
|
1240
|
-
"properties": {
|
|
1241
|
-
"propertyIdentifier": {
|
|
1242
|
-
"type": "object",
|
|
1243
|
-
"properties": {
|
|
1244
|
-
"objectName": {
|
|
1245
|
-
"type": "string"
|
|
1246
|
-
},
|
|
1247
|
-
"propertyName": {
|
|
1248
|
-
"type": "string"
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
},
|
|
1252
|
-
"defaultValue": {
|
|
1253
|
-
"type": "boolean"
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1256
|
-
},
|
|
1257
|
-
"columnSubtotals": {
|
|
1258
|
-
"type": "object",
|
|
1259
|
-
"description": "Indicates if the subtotal data should be requested for all fields in the columns field well",
|
|
1260
|
-
"properties": {
|
|
1261
|
-
"propertyIdentifier": {
|
|
1262
|
-
"type": "object",
|
|
1263
|
-
"properties": {
|
|
1264
|
-
"objectName": {
|
|
1265
|
-
"type": "string"
|
|
1266
|
-
},
|
|
1267
|
-
"propertyName": {
|
|
1268
|
-
"type": "string"
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
},
|
|
1272
|
-
"defaultValue": {
|
|
1273
|
-
"type": "boolean"
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
},
|
|
1277
|
-
"columnSubtotalsPerLevel": {
|
|
1278
|
-
"type": "object",
|
|
1279
|
-
"description": "Indicates if the subtotal data can be toggled for individual fields in the columns field well",
|
|
1280
|
-
"properties": {
|
|
1281
|
-
"propertyIdentifier": {
|
|
1282
|
-
"type": "object",
|
|
1283
|
-
"properties": {
|
|
1284
|
-
"objectName": {
|
|
1285
|
-
"type": "string"
|
|
1286
|
-
},
|
|
1287
|
-
"propertyName": {
|
|
1288
|
-
"type": "string"
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
"defaultValue": {
|
|
1293
|
-
"type": "boolean"
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
"levelSubtotalEnabled": {
|
|
1298
|
-
"type": "object",
|
|
1299
|
-
"description": "Unlike all other properites, this property is applied to individual rows/columns. The property indicates if the subtotals are requested for the row/column",
|
|
1300
|
-
"properties": {
|
|
1301
|
-
"propertyIdentifier": {
|
|
1302
|
-
"type": "object",
|
|
1303
|
-
"properties": {
|
|
1304
|
-
"objectName": {
|
|
1305
|
-
"type": "string"
|
|
1306
|
-
},
|
|
1307
|
-
"propertyName": {
|
|
1308
|
-
"type": "string"
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
},
|
|
1312
|
-
"defaultValue": {
|
|
1313
|
-
"type": "boolean"
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
},
|
|
1318
|
-
"requires": [
|
|
1319
|
-
"matrix"
|
|
1320
|
-
]
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
}
|