BookmarkSubscribeRSS Feed
JeffU
Calcite | Level 5
I'm running a report which puts out several pie charts grouped by a numerical "order" field. The problem is this outputs an ugly "order=1", "order=2", etc on the top of every chart which is causing confusion amongst my users. I'd like to be able to remove this or change the text there to something that will be more user friendly.

Thanks for any guidance that you can provide.

-Jeff
1 REPLY 1
Bill
Quartz | Level 8
Jeff;

You could use proc format to create labels for the order values. To eliminate the "Order=", try label order='00'x;
Lastly, pie charts are a rather ineffective and inefficient way to present data and especially so when trying to make comparisons across "Orders". Consider the use of vbar or hbar charts by "order". Label the response axis or the title with a statement that indicates that each bar represents a proportion of the whole. The resultant display will be much more effective. For a "treatise" on circular charts and alternatives, see http://www.perceptualedge.com/articles/visual_business_intelligence/our_fascination_with_all_things_...

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 1696 views
  • 0 likes
  • 2 in conversation