Select to view content in your preferred language

Settings for Adding Item Counts and Percentages to the Pie Chart Legend

1015
2
12-27-2021 07:54 AM
Status: Open
Labels (1)
DaveFullerton
Frequent Contributor

The placement of labels around the pie chart could be better. Sometimes, even with a 2px label offset, the labels seem to overlap the chart a bit.

DaveFullerton_0-1640619354475.png

And increasing, for example, to a 4px label offset, the label can begin to get chopped off at the outer extent of the widget. If anyone has found a way to make this work better, I would be interested to know.

DaveFullerton_1-1640620158573.png

We do have the option to not show the labels (toggle off "Value label" in the settings) and allow the user to simply find the categories, counts, and percentages by hovering over the slices. In this case it would great to have settings to add the counts and/or percentages into the legend. Separate settings for counts and percentages would be best. I would prefer a Color-Patch/Count/Category/(Percentage) format like this:

DaveFullerton_2-1640620197648.png

The reason I prefer the count and percentage to be separated is: when visually scanning a list of numbers, I find it much harder to figure out what I need to if there is another set of numbers right next to them. In the end, widget settings for where to place counts and percentages might be best if possible.


It would also be great to be able to set the number of decimal places for the percentage.

2 Comments
khutchinson

Yes! I run into this all the time. More settings to better control the labels and avoid cutoff would be amazing.  

AndreaR

More controls for layout and data label of Charts are definitely needed - the automatic placement really isn't great and often bits of text gets cut off the edge of the widget. This is especially an issue when create a dashboard type layout where quite a few widgets need to fit on one screen so I can't give half the screen to one chart. often there is enough blank space around the chart that the labels could fit, but that isn't where Experience Builder places them!