Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
In this example, the graph is pretty straightforward - it's a simple
3d pie chart (sas/graph gchart), with an 'exploded' pie slice.
I use the built-in options to put the slice labels, and the % labels
outside each slice. The tough part was getting all the slices colored
black except the exploded one - it would be tough to do this consistently
with different data, because as the order of the pie slices changes,
so will the order in which the pattern/color statements are applied.
The 'neat' thing about this chart (which you might not notice unless
I point it out), is that it has a table beside of the chart. I placed
these two side-by-side using the new (v9) html paneling. (Remember, you
can only use greplay to place multiple sas/graph charts on the same page,
so you have to use something else, like html paneling, to place tables
beside of charts).
Back to Samples Index