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

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

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
  • 2 replies
  • 675 views
  • 0 likes
  • 2 in conversation