Skip to content

Commit 76f7351

Browse files
committed
fix: format
1 parent 9b8ffa4 commit 76f7351

1 file changed

Lines changed: 46 additions & 55 deletions

File tree

capabilities.json

Lines changed: 46 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,27 @@
22
"dataRoles": [
33
{
44
"name": "elements",
5+
"displayName": "Elements",
56
"displayNameKey": "Role_Elements",
7+
"description": "exactly one grouping representing the list of elements that are synced",
68
"descriptionKey": "Role_Elements_Desc",
79
"kind": "Grouping",
810
"preferredTypes": [{ "text": true }, { "integer": true }]
911
},
1012
{
1113
"name": "sets",
14+
"displayName": "Sets",
1215
"displayNameKey": "Role_Sets",
16+
"description": "one or more grouping or measures where each is interpreted as a set, a trueish value in row i is interpreted that the corresponding element i is part of this set",
1317
"descriptionKey": "Role_Sets_Desc",
1418
"kind": "GroupingOrMeasure",
1519
"preferredTypes": [{ "bool": true }, { "integer": true }]
1620
},
1721
{
1822
"name": "counts",
23+
"displayName": "Cardinality Expression Measure",
1924
"displayNameKey": "Role_Counts",
25+
"description": "numerical measure defining the number of elements in the set, see also expression input",
2026
"descriptionKey": "Role_Counts_Desc",
2127
"kind": "Measure",
2228
"preferredTypes": [{ "numeric": true }, { "integer": true }]
@@ -46,71 +52,77 @@
4652
"privileges": [],
4753
"objects": {
4854
"theme": {
55+
"displayName": "Theme",
4956
"displayNameKey": "Theme_DisplayName",
5057
"objectCategory": 1,
5158
"properties": {
5259
"theme": {
60+
"displayName": "Theme",
5361
"displayNameKey": "Theme_Theme_DisplayName",
5462
"type": {
5563
"enumeration": [
5664
{
65+
"displayName": "Light",
5766
"displayNameKey": "Theme_Theme_Light_DisplayName",
5867
"value": "light"
5968
},
6069
{
70+
"displayName": "Individual Colors",
6171
"displayNameKey": "Theme_Theme_IndividualColors_DisplayName",
6272
"value": "powerbi"
6373
},
6474
{
75+
"displayName": "Colored Sets",
6576
"displayNameKey": "Theme_Theme_ColoredSets_DisplayName",
6677
"value": "powerbi-set"
6778
},
6879
{
80+
"displayName": "Single Color",
6981
"displayNameKey": "Theme_Theme_SingleColor_DisplayName",
7082
"value": "auto"
7183
},
7284
{
85+
"displayName": "Dark",
7386
"displayNameKey": "Theme_Theme_Dark_DisplayName",
7487
"value": "dark"
7588
},
7689
{
90+
"displayName": "Vega",
7791
"displayNameKey": "Theme_Theme_Vega_DisplayName",
7892
"value": "vega"
7993
}
8094
]
8195
}
8296
},
8397
"selectionColor": {
98+
"displayName": "Selection Color",
8499
"displayNameKey": "Theme_SelectionColor_DisplayName",
85-
"type": {
86-
"fill": { "solid": { "color": true } }
87-
}
100+
"type": { "fill": { "solid": { "color": true } } }
88101
},
89102
"color": {
103+
"displayName": "Color",
90104
"displayNameKey": "Theme_Color_DisplayName",
91-
"type": {
92-
"fill": { "solid": { "color": true } }
93-
}
105+
"type": { "fill": { "solid": { "color": true } } }
94106
},
95107
"opacity": {
108+
"displayName": "Opacity",
96109
"displayNameKey": "Theme_Opacity_DisplayName",
97110
"type": { "numeric": true }
98111
},
99112
"hasSelectionColor": {
113+
"displayName": "Color when selection is present",
100114
"displayNameKey": "Theme_HasSelectionColor_DisplayName",
101-
"type": {
102-
"fill": { "solid": { "color": true } }
103-
}
115+
"type": { "fill": { "solid": { "color": true } } }
104116
},
105117
"hasSelectionOpacity": {
118+
"displayName": "Opacity when selection is present",
106119
"displayNameKey": "Theme_HasSelectionOpacity_DisplayName",
107120
"type": { "numeric": true }
108121
},
109122
"textColor": {
123+
"displayName": "Text Color",
110124
"displayNameKey": "Theme_TextColor_DisplayName",
111-
"type": {
112-
"fill": { "solid": { "color": true } }
113-
}
125+
"type": { "fill": { "solid": { "color": true } } }
114126
}
115127
}
116128
},
@@ -120,78 +132,62 @@
120132
"properties": {
121133
"setColor1": {
122134
"displayName": "Set Color 1",
123-
"type": {
124-
"fill": { "solid": { "color": true } }
125-
}
135+
"type": { "fill": { "solid": { "color": true } } }
126136
},
127137
"setColor2": {
128138
"displayName": "Set Color 2",
129-
"type": {
130-
"fill": { "solid": { "color": true } }
131-
}
139+
"type": { "fill": { "solid": { "color": true } } }
132140
},
133141
"setColor3": {
134142
"displayName": "Set Color 3",
135-
"type": {
136-
"fill": { "solid": { "color": true } }
137-
}
143+
"type": { "fill": { "solid": { "color": true } } }
138144
},
139145
"setColor4": {
140146
"displayName": "Set Color 4",
141-
"type": {
142-
"fill": { "solid": { "color": true } }
143-
}
147+
"type": { "fill": { "solid": { "color": true } } }
144148
},
145149
"setColor5": {
146150
"displayName": "Set Color 5",
147-
"type": {
148-
"fill": { "solid": { "color": true } }
149-
}
151+
"type": { "fill": { "solid": { "color": true } } }
150152
},
151153
"setColor6": {
152154
"displayName": "Set Color 6",
153-
"type": {
154-
"fill": { "solid": { "color": true } }
155-
}
155+
"type": { "fill": { "solid": { "color": true } } }
156156
},
157157
"setColor7": {
158158
"displayName": "Set Color 7",
159-
"type": {
160-
"fill": { "solid": { "color": true } }
161-
}
159+
"type": { "fill": { "solid": { "color": true } } }
162160
},
163161
"setColor8": {
164162
"displayName": "Set Color 8",
165-
"type": {
166-
"fill": { "solid": { "color": true } }
167-
}
163+
"type": { "fill": { "solid": { "color": true } } }
168164
},
169165
"setColor9": {
170166
"displayName": "Set Color 9",
171-
"type": {
172-
"fill": { "solid": { "color": true } }
173-
}
167+
"type": { "fill": { "solid": { "color": true } } }
174168
},
175169
"setColor10": {
176170
"displayName": "Set Color 10",
177-
"type": {
178-
"fill": { "solid": { "color": true } }
179-
}
171+
"type": { "fill": { "solid": { "color": true } } }
180172
}
181173
}
182174
},
183175
"style": {
176+
"displayName": "Style",
184177
"displayNameKey": "Style_DisplayName",
185178
"properties": {
186179
"mode": {
180+
"displayName": "Layout Mode",
187181
"displayNameKey": "Style_Mode_DisplayName",
188182
"type": {
189183
"enumeration": [
190184
{
185+
"displayName": "Venn Diagram",
191186
"displayNameKey": "Style_Mode_Venn_DisplayName",
192187
"value": "venn"
193188
},
194189
{
190+
"displayName": "Euler Diagram",
195191
"displayNameKey": "Style_Mode_Euler_DisplayName",
196192
"value": "euler"
197193
}
@@ -201,25 +197,23 @@
201197
}
202198
},
203199
"fonts": {
200+
"displayName": "Fonts",
204201
"displayNameKey": "Fonts_DisplayName",
205202
"properties": {
206203
"fontFamily": {
204+
"displayName": "Font Family",
207205
"displayNameKey": "Fonts_FontFamily_DisplayName",
208-
"type": {
209-
"formatting": { "fontFamily": true }
210-
}
206+
"type": { "formatting": { "fontFamily": true } }
211207
},
212208
"setLabel": {
209+
"displayName": "Set Label",
213210
"displayNameKey": "Fonts_SetLabel_DisplayName",
214-
"type": {
215-
"formatting": { "fontSize": true }
216-
}
211+
"type": { "formatting": { "fontSize": true } }
217212
},
218213
"valueLabel": {
214+
"displayName": "Value Label",
219215
"displayNameKey": "Fonts_ValueLabel_DisplayName",
220-
"type": {
221-
"formatting": { "fontSize": true }
222-
}
216+
"type": { "formatting": { "fontSize": true } }
223217
}
224218
}
225219
}
@@ -231,10 +225,7 @@
231225
"supportsKeyboardFocus": true,
232226
"tooltips": {
233227
"supportEnhancedTooltips": true,
234-
"supportedTypes": {
235-
"default": true,
236-
"canvas": true
237-
},
228+
"supportedTypes": { "default": true, "canvas": true },
238229
"roles": ["tooltips"]
239230
}
240231
}

0 commit comments

Comments
 (0)