Set($data); $table->SetAlign('right'); $table->SetFont(FF_TIMES,FS_NORMAL,12); $table->SetCellFont(0,0,FF_ARIAL,FS_BOLD,16); // Rotate the entire table 90 degrees $table->SetTextOrientation(90); //$table->SetCellTextOrientation(0,0,0); // Setup background color for header column $table->SetColFillColor(0,'lightgray'); // Set the imnimum row height $table->SetMinRowHeight(0,150); // Add table to graph $graph->Add($table); // and send it back to the client $graph->Stroke(); ?>