Hi
With proc gchart, we can add a legend of a pie using legend=legend1.
For example we can change the rectangle in the legend to a square. Is there a way to have disk or any other form?
legend1 shape=bar(2pct,2pct);
Best Regards,
@xxformat_com wrote:
Hi
With proc gchart, we can add a legend of a pie using legend=legend1.
For example we can change the rectangle in the legend to a square. Is there a way to have disk or any other form?
legend1 shape=bar(2pct,2pct);
Best Regards,
I strongly suspect you are into the area of and ANNOTATE as I suspect that the legends associated with Pie charts aren't going to accept a shape other than bar.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.