Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good day,
We embedded PowerBI reports using example MVC web application with transparent background using following settings:
var config = {
type: 'report',
tokenType: models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl,
id: embedReportId,
permissions: models.Permissions.All,
settings:
{
background: models.BackgroundType.Transparent,
filterPaneEnabled: false,
navContentPaneEnabled: true,
localeSettings: {
language: 'en',
formatLocale: 'en'
}
}
};
However, now all report's background became transparent, despit transparency level set there. Originally, without "background: models.BackgroundType.Transparent" transparency didn't work at all.
How this could be taken under control without setting some picture as a background in all non-transparent reports?
Grateful in advance!
yes... is it as designed?
Yes, but their backgrounds (areas not covered by any UI control element, like table, slicer, etc.), not backgrounds of UI controls. And it doesn't respect this general background transparency setting - no effect.
Exactly! Then only UI control's transparency value has an effect over appearance (like text box background transparency value) but it is limited to control's area only.
Hi @Anonymous ,
In other words, when you do this, all pages become transparent?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
26 | |
3 | |
2 | |
2 | |
2 |