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 Glass
We at Open flash Chart always strive to make things easy for ourselves. So glass bars have almost the same parameters as
the bar method. The glass effect is created by drawing a semi-transparent white overlay ontop
of the rounded bar.
See the bar object for details. The only interesting parameter is $outline_colour, this is the
outline colour of the bar. Choose a colour a little darker than the fill colour to make the bar look like it has some depth.
// add both sets of bars: $g->data_sets[] = $bar_1; $g->data_sets[] = $bar_2;
// label the X axis (10 labels for 10 bars): $g->set_x_labels( array( 'January','February','March','April','May','June','July','August','September','October' ) );
// colour the chart to make it pretty: $g->x_axis_colour( '#909090', '#D2D2FB' ); $g->y_axis_colour( '#909090', '#D2D2FB' );