Select to view content in your preferred language

Pie Chart Formatting Limitations - Excessive Element Border/Background Space

836
1
01-29-2024 06:15 AM
Labels (1)
Division3NCDOTGOV
Emerging Contributor

The pie chart formatting for Dashboards is pretty limited with respect to sizing of the pie char within the element/panel borders. Many times the autoformatting results in excessive element border gap with awkwardly sized, small pie charts. It would be great if an option was created to increase/decrease this border space. 

Screenshot 2024-01-29 091300.jpgScreenshot 2024-01-29 091507.jpg

 

1 Reply
jcarlson
MVP Esteemed Contributor

It is pretty irritating. There seems to be  I've had some luck adjusting the label offset value. Default of 20px:

jcarlson_0-1706538530681.png

Not a lot better, but you can have negative offsets, too. Here's -10px, where the labels are right on the edge of the slice.

jcarlson_2-1706538659031.png

As you continue dropping into the negatives, the size of the chart "steps" up. At -100, the chart is as big as when labels are hidden.

jcarlson_3-1706539259633.png

It's hard to see it from the browser side, but when the Dashboard constructs the chart SVG, it's looking at the label position and applying some kind of buffering around it to determine the size and placement of everything else.

Honestly, I think pie charts look better with either a legend, negative offset labels, or just relying on the mouseover to show what different categories are. The default label placement almost always seems to make the pie chart too small to be useful.

- Josh Carlson
Kendall County GIS