Catch the division by zero errors so that the graphic at least displays, so we realize we did something really stupid like put all zero's in a pie graph :)
Logged In: NO
Also, pie graphs die (with division-by-zero) if data contains only one array element, eg:
$g->SetDataValues(array(array('', $data1, $data2, $data3)));
Log in to post a comment.
Logged In: NO
Also, pie graphs die (with division-by-zero) if data
contains only one array element, eg:
$g->SetDataValues(array(array('', $data1, $data2, $data3)));