Info: Open Flash Chart 2 is out. Version 1.x and these pages will
never disappear and the charts will continue working forever, but further
development on 1.x has stopped. Take a look at version 2 here
Open Flash Chart 2.
Do more with less - advanced
If you are constantly setting up your own style of graph over and over,
then using PHP to do the grunt work is a nice option.
PHP will let you do some simple class inheritance. We create a new chart class called
my_chart and inherit from graph. Then in the constuctor we call the base class (graph) constructor
to set up all the default values. After that we overwrite some of the defaults: