set_values( $data ); $bar->colour = '#D54C78'; $x_axis = new OFC_Elements_Axis_X(); $x_axis->set_3d( 5 ); $x_axis->colour = '#909090'; $x_axis->set_labels( array(1,2,3,4,5,6,7,8,9,10) ); $chart = new OFC_Chart(); $chart->set_title( $title ); $chart->add_element( $bar ); $chart->set_x_axis( $x_axis ); echo $chart->toPrettyString();