Forum Discussion
bhavesh-jadav
8 years agoHelper I
Power BI Custom Visual Storing Properties/Format Data
Hello there, As of my knowledge, if you want to add some property/format settings for visual that user can change, then you would add it to the format pane from where user can change properties/f...
- 8 years ago
Inforgraphic Designer keeps advanced settings in Format Panel like other options but such advanced options are hidden for users.
Settings are kept as a JSON string.
To keep settings in Format Panel and hide it for user you should:
- Define properties in objects property of capabilities.json (Sankey example)
- Parse properties from a dataView for each update to restore the desired state of a custom visual
- Do not enumerate such properties in enumerateObjectInstances
- To keep settings your visual should call persistProperties method (Sankey example)
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- 7 years ago
Just make you div transparent to inherit background color of parent element.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
v-viig
7 years agoCommunity Champion
Just make you div transparent to inherit background color of parent element.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Anonymous
7 years agoNot applicable
Okay