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

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.

Reply
Anonymous
Not applicable

Custom Visual Updates Properties by its own.

Hello All,

I have been facing a very weird issue while developing a custom visual. I have created a barchart using Chart JS library and with some properties like currency formatting and Y-Axis headers (enable/disable). However, I have seen my barchart is showing fine but when I change any property (like I enable chart title and then disable it) and then mouse hover on my visual it starts enabling and disabling my properties by its own.

 

I populate my chart and enable graph title property to see the graph title. So the "Graph Title" toggle button enabled and title start showing in my panel as expected (see attached snapshot):

Enable Title.PNG

 

Now I mouse hover to my graph or even on empty space and then graph title hide from visual. However, the property (i.e. Toggle button) is still enabled (see the attached snapshot):

 

Disable Title.PNG

 

 

 

I have seen the same behavior on different properties too. Like if I show legend or Y-axis properties it does the same. I have checked while this behavior no method is being called (i.e. Update or enumerateObjectInstances function). I don't know how to get rid of this problem because it is destroying my report. Can someone help me to resolve this issue or guide me what is happening? Where I am doing something wrong?

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.