Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Custom Visual. How to show/hide some formatting fields in my own custom visual?

For example, label position in Pie Chart:

when we chose "Outside" we don't see addition fields:

 

g.PNG

 

when we chose  "Inside" we see new addition fields:

gf.PNG

How to implement this logic in own project?

1 ACCEPTED SOLUTION
v-evelk
Microsoft Employee
Microsoft Employee

Hello,

 

It is possible.

Please look at this example.

You need to do this inside enumerateObjectInstances method.

 

We will add such example into Power BI Cusom Visuals documentation.

 

Thanks!

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

View solution in original post

1 REPLY 1
v-evelk
Microsoft Employee
Microsoft Employee

Hello,

 

It is possible.

Please look at this example.

You need to do this inside enumerateObjectInstances method.

 

We will add such example into Power BI Cusom Visuals documentation.

 

Thanks!

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.