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' );