Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Shadow Default to False (Off) for all visuals #70

Open
Perri29 opened this issue Oct 25, 2021 · 2 comments
Open

Set Shadow Default to False (Off) for all visuals #70

Perri29 opened this issue Oct 25, 2021 · 2 comments

Comments

@Perri29
Copy link

Perri29 commented Oct 25, 2021

I need to set all shadows to default off or false for all visuals in Power BI.

I'm trying to resolve the issue of shadows being automatically applied by default to new reports - when a dark theme is applied the shadows show up and they have to be removed individually for each page and each visual.

Appreciate the help in advance.

@MattRudy
Copy link
Contributor

MattRudy commented Oct 25, 2021

Hey @Perri29 - The drop shadow setting can be found as 'dropShadow' and should be setting to 'show: false' as demonstrated in the code snippet below. If you want something to apply to every visual, make sure to make the change in the global area of the JSON template ( visualStyles - "*" - "*" ) instead of the specific-visual area of the template ( visualStyles - "areaChart" - "*" ).

These global settings can be found in the new repository here:
https://github.com/MattRudy/PowerBI-ThemeTemplates/blob/master/GlobalLevelTemplate.json

{
	"name": "GlobalLevelTemplate",
	"visualStyles": {
		"*": {
			"*": {
				"dropShadow": [{
					"show": false
				}]
			}
		}
	}
}

@MattRudy
Copy link
Contributor

If you are creating new issues for this project, please direct them to the new issue list here:
https://github.com/MattRudy/PowerBI-ThemeTemplates/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants