BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
I want to ask sth about gchart pie graph.
When using:
detail = ******
detail_percent = best
detail_slice = best
discrete
legend;
in the PROC CHART for pie graph, if the group types as :A,B,C,D,E,F, and sub detail types as:a,b,c,d
1)when the sumvar value percents of E and F are very small, E and F will lost in the pie graph, replaced as "Others".
2)In one group type A, when the sumvar value percent of d is very small, this part show nothing about detail sector, no subgroup description, no sumvar value percent.

Why graph shows like this? And is there any option to control to make the pie graph, not merge to be "Others" and make all detail sectors showing info?
Thanks,

Fairy
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
You might also want to look at the setting for the DETAIL_THRESHOLD option, described here:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gchart-pie.htm

...where it says that:
"DETAIL_THRESHOLD=percent
determines whether a detail slice is included in the inner pie. Any detail slice comprising percent or more percent of the whole pie is included. The valid range for percent is 0 to 75. The default is 4."

cynthia
deleted_user
Not applicable
Thank you so much, Cynthia. ^_^

And the one control the group types merging into "Others" --
OTHER=percent-of-total Message was edited by: mango

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1727 views
  • 0 likes
  • 2 in conversation