Select to view content in your preferred language

Pie Chart Data Labels/Legend Formatting for Mobile View

171
1
09-05-2024 02:05 PM
Sara__
by
Emerging Contributor

I'm hoping to find a better way to display legends and/or data labels for pie charts. In mobile view, the data labels become cut off and often overlap each other. The legend is a better option for mobile view, however when a user clicks on a legend item, the corresponding slice is removed from the pie chart. Does anyone know of a way to turn off this feature? Or a better way to display the categories and category values/percentages? 

0 Kudos
1 Reply
WeiYing1
Esri Regular Contributor

Hi @Sara__ ,

Thanks for your feedback. 
It is a known limitation that data label maybe cut off when chart size is small. The workaround is to turn on label optimization options as below and also adjust the label offset to make the labels closer to the slice. 

WeiYing1_0-1726189540936.jpeg

Another thing you can do is make a separate chart to customize a different setting on mobile, where you can rename the slice to make it shorter. Or check off percentage/value display to make label shorter on mobile. 

WeiYing1_1-1726189651067.jpeg

WeiYing1_2-1726189783122.jpeg


"when a user clicks on a legend item, the corresponding slice is removed from the pie chart. "
This is expected behavior as the corresponding category when click its legend will be filter out. 

0 Kudos