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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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