Forum Discussion
Report Theme Documentation: September Update
I'm looking for basically a full enumeration of all of the JSON labels possible with the new update. I've found the documentation here:
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-report-themes/
It seems to do a good job listing out JSON keys for visualizations and top-level design options, but doesn't list the names for the options within those. For example, the ability to default to not concatenating X-axis labels, I would assume is something like:
"categoryAxis":[{
"showAxisTitle":true,
"concatenateLabels":false
}],Unfortunately, this doesn't seem to work, and I can't seem to find docs on where these suboptions are.
Does anyone have a more extensive example of the new theme options?
6 Replies
- v-qiuyu-msftCommunity Support
Hi Anonymous,
I have sent a email to consult this issue internally. Will update here once I get feedback.
Best Regards,
Qiuyun Yu - MaryFAdvocate II
Check out https://powerbi.tips/tools/report-theme-generator-v3/ This will generate a json file which you can then review to better understand the make up of a theme.
I happen to be using it right now and it's great.
Hope this helps
Mary
- AnonymousNot applicable
MaryF, that looks solid. It's missing some things I was looking for, but I'll definitely be using this to generate quick examples. Thanks!
v-qiuyu-msft, awesome, I look forward to seeing what comes up.
- v-qiuyu-msftCommunity Support
Hi Anonymous,
You can try the sample below:
{ "name": "ConCatOff", "visualStyles":{ "*":{ "*":{ "categoryAxis":[{ "showAxisTitle":true, "concatenateLabels": false }] } } } }Best Regards,
Qiuyun Yu- AnonymousNot applicable
Thanks, v-qiuyu-msft, but I was mostly using that as an example. I'm still looking for a list that includes the myriad of other options that are also at the hierarchical level of the label concatenation option.
If there was a rule for the JSON that was strictly camel casing of the option, sans punctuation, I could go off of that, but unfortunately that doesn't seem to be the case in all situations.
- AnonymousNot applicable
Shoot, I wish this wasn't posted anonymously. v-qiuyu-msft , was there ever any resolution to this that you found? Within visualStyles I have the below in each of my column/barchart segments but my graphs are still concatenating.
"categoryAxis": [ { "show": true, "position": "Left", "concatenateLabels": false, "showAxisTitle": true, "gridlineShow": false, "titleText": "" } ],Thanks!
Sara