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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2 replies
  • 967 views
  • 0 likes
  • 2 in conversation