Click here to see the SAS code.
Click here to see the example.
This one is kinda "cute" :)
But there is one caveat you should be aware of - with dev=gif, the
gchart bar chart only supports image patterns on 2d bars, and does
not support them on 3d bars. Therefore, I have to use dev=activex
in this example (actually, I use actximg, which produces a static
image output of the activex chart -- this way people can view the
state png image output without having to install the activex control --
only the person running the sas job has to have the activex control
installed).
That said ... Here is the important part of the code...
You specify the bar images in the 'pattern' statements, as follows:
pattern1 v=s image='sugi24.jpg';
pattern2 v=s image='sugi25.jpg';
pattern3 v=s image='sugi26.jpg';
One limitation/difference of activex bar charts is that you can't have
a "gtitle", and the title is outside the graph as part of the html.
Back to Samples Index