Date: Mon, 25 Jun 2001 11:39:32 -0400
Reply-To: Richard DeVenezia <radevenz@IX.NETCOM.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard DeVenezia <radevenz@IX.NETCOM.COM>
Organization: MindSpring Enterprises
Subject: Re: ODS and graphs
http://www.sas.com/rnd/webgraphs/javaapplets.htm should answer most of your
questions.
In your chart code you might want to add
AXIS2 order=1 to 10;
...gchart...;
...
/
..
DISCRETE
MAXIS=AXIS2
..
;
--
Richard DeVenezia - SAS Macros and AF Tools
http://www.devenezia.com
"richard Simhon" <Richard.Simhon@CORNHILL.CO.UK> wrote in message
news:2710430F08DAD211A3F70008C71EEE6905EB4196@s-cho-exch0001...
> SAS-lers,
>
> From the code below, I would like to be able to click on any of the "bars"
> in the graph that have been created to take me an appropriate URL. At the
> moment when I click on any bar the page cannot be displayed as there is no
> link.
>
> Does anyone know the appropriate code to be able to do that?
>
> Thanks in advance
>
>
> data temp;
> input premium area ;
> cards;
> 300 1
> 254 2
> 278 3
> 248 4
> 357 5
> 542 6
> 521 7
> 527 8
> 532 9
> 524 10
> ;
>
> GOPTIONS RESET=ALL;
> ods html file='g:\richard\web\Hor1.htm'
> frame='g:\richard\web\Hor2.htm'
> contents='g:\richard\web\Hor3.htm'
> GPATH='g:\richard\web\' (URL=NONE)
> style=defaultsmaller;
>
> GOPTIONS DEVICE=JAVA GSFMODE=REPLACE XPIXELS=680 YPIXELS=360;
> pattern c=red;
> title "Average Premium by Area for the month &mth1";
> Footnote " ";
> axis1 label=("Premium") minor=none;
> proc gchart data = temp;
> vbar3d area /
> name="AREA"
> raxis=axis1
> cframe=blue
> sumvar=premium;
> run;
> quit;
>
> Richard Simhon
> Business Analyst
> Allianz Cornhill
> Tel 01483 55 2628
>
>
>
> **********************************************************************
> Copyright in this message and any attachments remains with us. It is
> confidential and may be legally privileged. If this message is not
> intended for you it must not be read, copied or used by you or
> disclosed to anyone else. Please advise the sender immediately if
> you have received this message in error.
>
> Although this message and any attachments are believed to be free of
> any virus or other defect that might affect any computer system into
> which it is received and opened it is the responsibility of the
> recipient to ensure that it is virus free and no responsibility
> is accepted by Cornhill Insurance PLC for any loss or damage in any
> way arising from its use.
>
> Cornhill Insurance Plc, Registered in England number 84638,
> Registered Office 32 Cornhill, London EC3V 3LJ.
>
> Regulated by the Personal Investment Authority for life and pensions only.
> Member of the General Insurance Standards Council for direct general
insurance only.
> **********************************************************************
|