BookmarkSubscribeRSS Feed
SachinRuk
Calcite | Level 5
Hi all,

I've pretty much copied the code from Rob's codes:
http://robslink.com/SAS/democd23/scat.htm
http://robslink.com/SAS/democd23/scat_info.htm
and
http://robslink.com/SAS/democd23/overlib.htm
http://robslink.com/SAS/democd23/overlib_info.htm

anyway i have the htmlvar working and i can get the links to goto google and another page BUT, by running the code below I get a huge blue blob which covers the data points to click on and the data points are not linked by a line.

symbol i=join v=dot;
proc gplot data=test_mydata2;
format gross_combined_ratio percent.;
plot gross_combined_ratio*sasdate=measure/
html=htmlvar;
run;
quit;

Any workaround?
Thanks,
Sachin
5 REPLIES 5
GraphGuy
Meteorite | Level 14
It's hard to tell, with the information given.

You might need to post the whole SAS job and/or some of your data.

Do you still get the blue blob if you leave out the javascript part (ie, just running the gplot)?
SachinRuk
Calcite | Level 5
Hi Rob,

It worked when I ran it the next day. Think the problem was because of the previous calculations not deleting the settings. Hopefully SAS addresses this issue rather than having to write extra code to do the same job (or maybe thats simply something you have to do; new to SAS so forgive me if what I said is not a database programmers thing to say.)

Thanks,
Sachin
GraphGuy
Meteorite | Level 14
Not to worry - it's one of those "graph things" that takes a while to get used to 😉

To avoid such problems (ie, unwanted affects of settings from a previous graph carrying-over and affecting my current graph), I almost always run my graphs in batch, cranking up a new SAS session for each graph, guaranteeing that all the graphics options/etc get reset.
Bill
Quartz | Level 8
so you don't trust goptions reset=all????
GraphGuy
Meteorite | Level 14
I trust it to reset what it resets... 🙂

But it doesn't reset "everything", like starting a fresh SAS session does!

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 742 views
  • 0 likes
  • 3 in conversation