Date: Thu, 8 Dec 2005 11:35:30 +0000
Reply-To: Jo Klein <jo_kln@YAHOO.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jo Klein <jo_kln@YAHOO.CO.UK>
Organization: Oxford University, England
Subject: Re: Formatting proc gchart output
In-Reply-To: <200512071636.jB7G9Usi020446@mailgw.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Thanks again. The web page is quite useful, it's just such a pain that
SAS's online help doesn't come up with useful information about related
options when one searches for raxis.
Cheers,
Jo
Ya Huang schrieb:
> Just add freqlabel option:
>
> proc gchart data=duh;
> label x="Category";
> hbar3d x/type=percent freq FREQLABEL='what do you want here?';
> run;
>
> BTW, go here for all the options:
>
> http://support.sas.com/onlinedoc/913/getDoc/en/graphref.hlp/a000723580.htm
>
>
>
> On Wed, 7 Dec 2005 15:16:27 +0000, Jo Klein <jo_kln@YAHOO.CO.UK> wrote:
>
>
>>Thanks, that did it!
>>Do you happen to know how I could also change the "FREQ." label in the
>>upper right hand corner? I tried axis2, but that didn't work.
>>Jo
>>
>>Ya Huang wrote:
>>
>>>Change the label in statement:
>>>
>>>title1 "Hi there!";
>>>axis1 label=('Percentage');
>>>
>>>proc gchart data=duh;
>>>label x="Category";
>>>label PERCENT="Percentage";
>>>hbar3d x/type=percent freq raxis=axis1;
>>>run;
>>>
>>>
>>>On Wed, 7 Dec 2005 12:27:43 +0000, Jo Klein <jo_kln@YAHOO.CO.UK> wrote:
>>>
>>>
>>>
>>>>Hi folks,
>>>>I have a formatting question about proc gchart. I'm trying to prettify
>>>>my output, but I can't figure out how to alter the axis label of the
>>>>percent scale on my charts. I've attached a snippet of SAS code below.
>>>>Label x comes out fine, but I can't change SAS's default labelling for
>>>>PERCENT. I suppose I'm using the wrong keyword, but I couldn't find a
>>>>reference about this in the online documentation. Does anyone have a
>>>>hint what the correct label statement would be? Or, even better, where
>>>>this kind of thing is documented so I can look up labels for other graph
>>>>elements like FREQ.? I'm running SAS 9.1 on Windows.
>>>>Thanks for your time,
>>>>Jo
>>>>
>>>>data duh;
>>>>input x $;
>>>>cards;
>>>>one
>>>>one
>>>>two
>>>>three
>>>>four
>>>>four
>>>>four
>>>>;
>>>>
>>>>
>>>>title1 "Hi there!";
>>>>proc gchart data=duh;
>>>>label x="Category";
>>>>label PERCENT="Percentage";
>>>>hbar3d x/type=percent freq;
>>>>run;
|