Forum Discussion
CDavies
6 years agoResolver I
Set Visual Header state in Theme
Hi
I've looked through the documentation but can't seem to find a way of turning off the Visual Headers for all visualisations via a theme?
Is it possible via some undocumented piece of json?
Many thanks
Hi,
You can either shut it off individually like below
"pieChart": { "*": { "visualHeader": [ { "show": false } ] } },Or for all visuals like below
"visualStyles": { "*": { "*": { "visualHeader": [ { "show": false } ] } } } }
3 Replies
- GordonliljSolution Sage
Hi,
You can either shut it off individually like below
"pieChart": { "*": { "visualHeader": [ { "show": false } ] } },Or for all visuals like below
"visualStyles": { "*": { "*": { "visualHeader": [ { "show": false } ] } } } }- CDaviesResolver I
Perfect, thanks GordonLilj
- v-diye-msftCommunity Support
Hi CDavies
1. it is possible to turn off the visual header in reading mode:
go to "File -> Options and Settings -> Options -> Report Settings" and check the box "Hide the visual header in reading view"
2. If you don’t want or can't change this setting in the report, you can do it using the API.
var embedConfig = { … settings: { filterPaneEnabled: false, navContentPaneEnabled: false, … visualSettings: { visualHeaders: [ { settings: { visible: false } /* No selector - Hide visual header for all the visuals in the report */ } ] } } }; … var report = powerbi.embed(embedContainer, embedConfig);