Forum Discussion
callum
Helper II
9 years ago"Format" and "Analytics" sections
Hi, When clicking on a visual in edit mode of a report, how can one edit the options that come up when the user clicks the "Format" or "Analytics" buttons? For example, some of the built-in visua...
v-viig
Community Champion
9 years agoBackground option is a default option for all of visuals (native and custom).
You just need to include this method into your custom visual:
public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions): VisualObjectInstance[] | VisualObjectInstanceEnumerationObject {
return [];
}Please pay attention to the fact that this method must be included into a class that implements IVisual interface.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- callum9 years ago
Helper II
I see. But speaking more generally then, can I specify custom options for these panes? Or I can only include the defaults like background colour?
- v-viig9 years ago
Community Champion
Yes, you can. Please take a look at this topic to find out more.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals