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
SAS Super FREQ
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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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