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 (August 2005, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 19 Aug 2005 05:16:48 -0400
Reply-To:   Chris Brooks <Chris.Brooks@ONS.GOV.UK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Chris Brooks <Chris.Brooks@ONS.GOV.UK>
Subject:   Re: Java device and tips in SAS Graph

Laurence

I don't think you can do this with the Java Device Driver - you have to use the JavaMeta driver instead like this:

filename odsout 'c:\sas'; data grbg; x=1; y=2; l=compress('alt="' || "Hi " || '"'); output; x=2; y=3; l=compress('alt="' || "Bye" || '"'); output; run;

goptions reset=all device=javavmeta xpixels=800 ypixels=600

htext=1 ftext='swiss' htitle=1 device=javameta; symbol1 v=dot c=styg h=.45 i=none; ods listing close; ods html path=odsout body='odsout.html' parameters=("ZoomControlEnabled"="false" "DataTipStyle"="Stick_Fixed");

proc gplot data=grbg; plot x*y=1 /html=l; run; quit;

ods html close; ods listing;

Chris

Chris Brooks Office For National Statistics United Kingdom

On Thu, 18 Aug 2005 09:15:55 -0700, ladair@CONSULTANT.COM wrote:

>Hi All, >Does the JAVA device support tips of the alt= style? For example, in >the following code a bubble with tips should pop up where the tip is >displayed as Hi or Bye. Instead, this gives only the >tipmode='standard' option with x= and y= displayed. I checked this in >both the SAS Results Viewer and in IE6. I'm using SAS 9.1 under >Windows 2000. >Thanks, >Laurence > >data grbg; > x=1; y=2; l=compress('alt="' || "Hi " || '"'); output; > x=2; y=3; l=compress('alt="' || "Bye" || '"'); output; >run; >goptions reset=all ftext=swiss htext=.28 ftitle=swiss htitle=.33 >device=java gunit=centimeters; >symbol1 v=dot c=styg h=.45 i=none; >filename odsout 'c:\tmp\'; >ods listing close; >ods html path=odsout body='grbg.html' parameters=(tipmode='html'); >proc gplot data=grbg; > plot x*y=1 / html=l; >run; >quit; >ods html close; >ods listing;


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