Data visualization with SAS programming

Linking Charts

Reply
Contributor
Posts: 47

Linking Charts

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
SAS Employee
Posts: 980

Re: Linking Charts

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).
Contributor
Posts: 47

Re: Linking Charts

thanks robert
Ask a Question
Discussion stats
  • 2 replies
  • 153 views
  • 0 likes
  • 2 in conversation