Set($data); //Add table to the graph $graph->Add($table); // Send back table to the client $graph->Stroke(); ?>