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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.