Hi,
I am using GCHART to show volumes by city... so I've used City to "grouped chart by".
On top of every chart I am getting something like this
CITY=TORONTO
then my chart
CITY = NEWYORK
then my chart
how can I remove CITY= and just show the name of the city...?
Thanks
Since there are many ways to generate the same chart examples of what you are currently doing will help us answer your question better.
Depending on how you're doing things ...
You'll probably use the following to suppress the default by-titles...
options nobyline;
And then you can specify your own custom title2 (without the 'CITY=') using something like ...
title2 "#byval(&city)";
Google 'nobyline' and 'byval' for more info & variations of the techniques, such as ...
I've used label city='00'x before ...
I had faced a similar issue while using Proc SGPANEL. I managed to solve it by using the NOVARNAME option. You can check if it works in proc gchart.
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.