I'm sure that the percent associated with a pie slice can be displayed in the legend of a pie chart. However, I cannot get it to do so in the Advanced Graph Assistant. Would someone please let me know how to accomplish this?
Thanks in Advance
-DougThis message has been edited. Last edited by: Doug,
No it can't unfortunately.
You can not display data values in a legend
A possible trick is to actually concat the data value to the sort key
so for example
TABLE FILE CAR
COMPUTE CAR_PCT/A50= CAR || ' ' | FTOA(C1,'D12.2%','A15'); NOPRINT
BY TOTAL CAR_PCT
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD
GRAPH FILE HOLD
That's what I thought... I'll check it out as per your suggestion. "They" want the legend to show the percent as well as the field. So, that's what they'll get.
|Powered by Social Strata|