Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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:     when we chose  "Inside" we see new addition fields: How to implement this logic in...
  • v-evelk's avatar
    7 years ago

    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
    [email protected]