BookmarkSubscribeRSS Feed
jetia13
Calcite | Level 5
Does anyone know if there is a way to customize what data is displayed in the bubble when you mouse-over a point on a plot in html output? I figured out how to add these "tool tips" using the imagefmt = staticmap option, but it's not that useful for me to be given the Observation Number. Is there a way to customize what information they tell you about a data point to make it something more meaningful like StudentID or ZipCode (depending on observation level of the data)?

Thanks!
2 REPLIES 2
GraphGuy
Meteorite | Level 14
Which proc are you using, which output device are you using (gif, activex, etc), and which version of SAS are you using?
jetia13
Calcite | Level 5
oh yea, sorry, those are probably important pieces of information. (this is my first time ever posting!)

I am using SAS 9.1
I am running proc reg and outputting a plot of actual v predicted

here is the code:

ods html file = 'plot.htm';
ods graphics on / imagefmt = staticmap;
ods select ActualByPredicted;

proc reg plots(unpack);
model p_latepnc = tprates p_lowbw p_nonwhite p_hsgrad p_labor_force p_fam_poverty c_: urban1 urban2;
run;
quit;

ods graphics off;
ods html close;

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 2 replies
  • 634 views
  • 0 likes
  • 2 in conversation