Click here to see the SAS code.
Click here to see the example.

This example uses lots of "neat" little tricks...

First & foremost, you might notice that this does not look like a 
typical sas/graph bar chart, and also that it looks *very* much like 
the bar charts at pollen.com (this is a testament to sas/graph's 
flexibility! :)

This is basically a regular-old bar chart, with red bars, and then
a lot of extras annotated (and annotated in such a way that the 
annotate is data-derived, and therefore automatically changes 
with the graph, if the graph is run with new/different data).

The circles at the top of each bar are annotated 'pies' with 
annotated 'text' in the middle.  Note that when you're annotating
on a bar, instead of giving your annotate an x/y coordinate, you
give it a midpoint/y coordinate.  

I turn off the regular y-axis, and I annotate the 3-color
low/med/high labels along that axis.  Similarly, I annotate the
day of week along the top of the graph, over each bar.

And, I also annotate the 'allergy alert' image along the top
of the graph.  Each bar has the html title= charttip/flyover-text,
showing the details for that bar.


Back to Samples Index