Forum Discussion
Theme elements complete list
- 2 years ago
Hi ToddChitt
Please find the MS Documentation
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#report-theme-json-file-format
If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.
Thanks
Pijush
www.MyAccountingTricks.com
https://www.youtube.com/MyAccountingTricks - 2 years ago
Have a look at
Do you mean the json isn't formatted in vs code? Should just be a case of right clicking and then "format document".
As to the naming I'm afraid I don't know.
Hello bcdobbs and thanks for the response.
My JSON document formats just fine in Visual Studio Code. The issue is centered around VS Code and pulling up the auto-complete options from the schema. The documentation shows this snippet:
When I try the same thing, however, the list of auto-complete options is made up of elements in the preceeding JSON, not from the schema:
I have traced the difference down to the fact that I am trying to modify the dropShadow of ALL (*) visualStyles, not just "azureMaps" as shown in the documentation.
My personal opinion is that the user experience has some room for improvement.
Again, thank you for the links.
- satkin22 years agoAdvocate I
I'm facing the same challenge. Did you manage to get the auto-complete to work as described, or did you have to trawl through the schema file for every element you wanted to set? Thanks.
- ToddChitt2 years agoSuper User
I gave up on the auto-complete. I simply had my JSON Theme file open side-by-side with the schema file.