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.
Gallery - Bar Chart 3D
We at Open flash Chart always strive to make things easy for ourselves. So 3D bar charts have exactly the same parameters as
the bar object. The 3D effect is created by shifting the bar colour towards
white (#FFFFFF) by about 10%, these two colours are then blended to make the bars look 3D.
Object: bar_3D()
bar_3d( integer $alpha, integer $colour )
See the bar method for details on these parameters.
Method: graph::set_x_axis_3d()
set_x_axis_3d( integer $size )
$size is the depth in pixels of the 3D X axis slab. This is a method in the graph object.
Note: How making the X axis 3D moves the X axis labels left about 12px. It also creates some padding inside the left of the chart, so the left most
bar does not obscure the Y axis.
Using a 3D axis with a line chart will show this inner left padding. Using 3D bars with a normal 2D X axis will show the left most bar
obscuring the Y axis. Try experimenting with different options to see what happens.