LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 17 Jul 2009 14:40:44 -0700
Reply-To:   jasonm@UCLA.EDU
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   J M <jasonm@UCLA.EDU>
Subject:   Re: GChart - Center NOTE
Comments:   To: Robin R High <rhigh@unmc.edu>
In-Reply-To:   <OF7E29E1E0.215B7AF7-ON862575F6.00745CBB-862575F6.0074BA4D@unmc.edu>
Content-Type:   text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed"

I got this error:

32 color 'black' 33 x=50; y=50; _ 22 __ 200 ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, (, -, :, ;, _ALL_, _CHARACTER_, _CHAR_, _NUMERIC_.

ERROR 200-322: The symbol is not recognized and will be ignored.

Quoting Robin R High <rhigh@unmc.edu>:

> It could be that the graph itself is covering it. You could try annotate > which places the text over the graph, something like: > > > DATA anno; > RETAIN xsys '3' /*for percent of graph area */ > ysys '3' > FUNCTION 'LABEL' > size 3 > when 'a' /* print after or on top of graph */ > color 'black' > x=50; y=50; > text='test'; > run; > > PROC GCHART DATA=job ANNOTATE=anno; > etc.. > run; > > Robin High > UNMC > > > > > J M <jasonm@UCLA.EDU> > Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> > 07/17/2009 02:23 PM > Please respond to > jasonm@UCLA.EDU > > > To > SAS-L@LISTSERV.UGA.EDU > cc > > Subject > GChart - Center NOTE > > > > > > > At the moment the word "test" is not showing up on my gchart. > How do I get the word "test" to appear and show up in the center of > the gchart? > > GOPTIONS device=activex; > proc gchart data=job; > vbar age /type=percent group=gender range > gaxis=axis2 > raxis=axis1 > levels=9 > ; > note move=(50,50)pct "test"; > run; > > Thank you. > >


Back to: Top of message | Previous page | Main SAS-L page