Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I've noticed the alignment of a guage chart changes depending on the data.
When the Value is smaller than the Target Value, the guage starts 20px from the leftmost point of the widget.
When the Value is greater than the Target Value, the guage starts 50px from the leftmost point of the widget.
Here's a picture:
Is this intended behaviour, or a bug? It is making it impossible to align images with a guage chart (you can see in my screenshot the total mark is aligned in the second example, but not the first).
Solved! Go to Solution.
Hi @andrewmosey,
Based on my test, the issue is caused by the data labels in the Gauge chart visual. If we want to display data label on the left or right side, it will take some place and the gauge will move to right or left correspondingly. If you want to align two gauge visual properly, you can turn off data label for each gauge visual.
If you have any question, please feel free to ask.
Best Regards,
Qiuyun Yu
Hi @andrewmosey,
Based on my test, the issue is caused by the data labels in the Gauge chart visual. If we want to display data label on the left or right side, it will take some place and the gauge will move to right or left correspondingly. If you want to align two gauge visual properly, you can turn off data label for each gauge visual.
If you have any question, please feel free to ask.
Best Regards,
Qiuyun Yu
Another excellent reason not to use gauge charts.
The reason for the alignment seems to be the data label for the "current" value. The label extends beyond the arch of the gauge, so the plot area is adjusted.
Instead of a gauge, consider a bullet chart, a much better visualisation, which will not have that problem. You can get them from the Visuals Gallery.
cheers, teylyn
User | Count |
---|---|
94 | |
79 | |
74 | |
63 | |
59 |
User | Count |
---|---|
110 | |
101 | |
84 | |
64 | |
62 |