Click here to see the SAS code.
Click here to see the example.
The main purpose of this example is to show that sas can do multiple
charts on the same page. There are a couple of ways to do that - in
this example I use sas/graph's "proc greplay".
First I create the 4 charts, and I use the "name=" option to
save the graphs in such a way that I can later refer to them
by name.
Then I do a "proc greplay" and replay the graphs into a template
(using treplay). I use a predefined template called "l2r2s"
(left 2, right 2) - this template has 4 simple areas to replay
the charts into. I modify the template ever-so-slightly, to
eliminate the black borders around each graph.
Normally in gplot line charts, without symbol markers, there is
nowhere to associate html title= charttips/flyover-text, but in this
example I annotate labels for some of the important data points,
and I use annotate's html variable to hold the html title= charttip/
flyover-text, so you do get the mouse-over capability.
Note that I intentionally reposition 2 charts from where they were
in the Grams AI chart, so the charts visually line up better.
Back to Samples Index