Set($data); // Merge all cells in row 0 $table->MergeRow(0); // Set foreground and background color $table->SetCellFillColor(0,0,'orange@0.7'); $table->SetCellColor(0,0,'darkred'); // Add the table to the graph $graph->Add($table); // and send it back to the client $graph->Stroke(); ?>