Forum Discussion
Setting the page size in theme
- 8 years ago
Hi Smauro,
As the announcement said "the majority of visual properties were able to be themed, but the visual’s “container” properties were not. " Currently, page element with can be customized is as below:
"page": { "*": { "background": [{ "color": { "solid": { "color": "#FFFFFF" } }, "transparency": 25 }], "outspace": [{ "color": { "solid": { "color": "#004753" } }, "transparency": 0 }] }In addtion, you can refer to this similar case: https://community.powerbi.com/t5/Desktop/Set-default-size-of-visuals-in-custom-theme-file/m-p/472888#
Regards,
Jimmy Tao
Hi Smauro,
As the announcement said "the majority of visual properties were able to be themed, but the visual’s “container” properties were not. " Currently, page element with can be customized is as below:
"page": {
"*": {
"background": [{
"color": { "solid": { "color": "#FFFFFF" } },
"transparency": 25
}],
"outspace": [{
"color": { "solid": { "color": "#004753" } },
"transparency": 0
}]
}
In addtion, you can refer to this similar case: https://community.powerbi.com/t5/Desktop/Set-default-size-of-visuals-in-custom-theme-file/m-p/472888#
Regards,
Jimmy Tao
I'd also like a theme that automatically sets the canvas size so maybe somebody knows if this is possible by now and what the settings are called that need to be added to the JSON.