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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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