$datasheet = $graph->Application->{DataSheet}; $datasheet->Cells->ClearContents(); # i can now feed the datasheet with some datas # ... # after the settings of the datasheet's cells, free graph and datasheet undef $datasheet; undef $graph;