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

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