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.
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):
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):
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.