Forum Discussion
Overlay a custom visual over a report or make it transparent
- 4 years ago
Hi Moatez,
The background setting (which affects the entire developer visual container rather than the part of the DOM you have control over) does allow you to specify transparency, which will affect the entire developer visual above the iframe. However, this may still not achieve what you're after, as Power BI usually enforces z-order for visuals and you may well cause issues with people being able to use interactivity features of the visuals 'underneath'.
The officially supported way (again due to the iframe sandbox in-place) is to use the dialog box API for any content that you wish to overflow the boundares of a visual.
Regards,
Daniel
Hi Moatez,
The background setting (which affects the entire developer visual container rather than the part of the DOM you have control over) does allow you to specify transparency, which will affect the entire developer visual above the iframe. However, this may still not achieve what you're after, as Power BI usually enforces z-order for visuals and you may well cause issues with people being able to use interactivity features of the visuals 'underneath'.
The officially supported way (again due to the iframe sandbox in-place) is to use the dialog box API for any content that you wish to overflow the boundares of a visual.
Regards,
Daniel