Set($data); // Merge all cells in row 0 $table->MergeRow(0); // Setup font and color $table->SetCellFont(0,0,FF_ARIAL,FS_BOLD,14); $table->SetRowFillColor(0,'orange@0.5'); $table->SetRowColor(0,'darkred'); // Setup the minimum width of all columns $table->SetMinColWidth(35); // Add table to the graph $graph->Add($table); // ... send it back to the client $graph->Stroke(); ?>