首頁 - |
|
Gallery - Bar Chart 3DWe at Open flash Chart always strive to make things easy for ourselves. So 3D bar charts have exactly the same parameters as the bar method. 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. Mthod: bar_3Dbar_3D( integer $alpha[, string $colour] [, string $text] [, integer $size] ) See the bar method for details on these parameters. Mthod: set_x_axis_3dset_x_axis_3d( $size ) $size is the depth in pixels of the 3D X axis slab. 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.
Create the flash object
gallery-data-31.php
To see the data produced : gallery-data-31.php, then 'view source'.
|
|
|
|
|