Date: Wed, 24 May 2006 10:13:07 -0500
Reply-To: Yu Zhang <zhangyu05@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Yu Zhang <zhangyu05@GMAIL.COM>
Subject: Re: ODS Graphics and Titles ...
In-Reply-To: <1148482718.768796.287260@38g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi, Spam,
Try to take the statement "Goptions reset=all" out. Let the list know if it
is working.
On 5/24/06, spam@castex.de <spam@castex.de> wrote:
>
> Hi Folks,
>
> I'm currently testing out the capabilities of the new ODS
> Graphics-features and I ran into a (somehow) small problem.
>
> When I try to create a bar chart using GCHART with ODS Graphics set to
> on, i get a beautiful figure ... but the title and the footnote I set
> before are not in the graphics but in the html-file. Here's a snippet
> of my code:
>
>
> *******************************************************************************************;
> ODS HTML style=Journal GPATH="&_GraphicsOutDir"
> file="&_GraphicsOutDir\output.tmp" ;
> ODS GRAPHICS / IMAGEFMT=PNG RESET;
> GOPTIONS DEVICE=ACTXIMG xpixels=640 ypixels=480;
>
> TITLE1 "Test";
>
> proc gchart data=sashelp.class;
> vbar age;
> run;
>
> GOPTIONS RESET=ALL;
> ODS GRAPHICS OFF;
> ODS HTML CLOSE;
> ODS RESULTS=ON;
>
> *******************************************************************************************;
>
> When you c'n'p this code into your SAS Environment and run it, you will
> notice, that the title set will be displayed in the html-part of the
> output, not as a part of the figure.
>
> What's the right way? Maybe there is a different PROC which I could use
> instead of GCHART so that I get my bar charts?
>
> TIA,
> Daniel
>
|