BookmarkSubscribeRSS Feed
SachinRuk
Calcite | Level 5
Hi All,

I am trying to do some data mining using graphs (sort of).

say i have c=a+b
and my graph is displaying "c" as a line plot. I want to be able to (for example) right click the graph and choose "a" or "b" and display line plots of those; or something along those lines.

Has anyone got any hints/ ideas/ code?

Thanks,
Sachin
2 REPLIES 2
GraphGuy
Meteorite | Level 14
The only two ways I know of in SAS/Graph to provide multiple drilldown selections for each marker/bar/etc in a graph is to use some custom javascript, or use device=javameta.

Here's an example using javascript:

http://robslink.com/SAS/democd23/overlib.htm
http://robslink.com/SAS/democd23/overlib_info.htm

Here's an example using javameta:

http://robslink.com/SAS/democd23/bar2meta.htm
http://robslink.com/SAS/democd23/bar2meta_info.htm


But, although this is "possible" to do, I usually find that I can do what I need by using single drilldowns (which uses simpler code, and makes things simpler on the user of the graph).
SachinRuk
Calcite | Level 5
thanks robert

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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