PHP Classes

in function display($file_name = '') inside the ...

Recommend this page to a friend!

      Pie Graph  >  All threads  >  in function display($file_name = '')...  >  (Un) Subscribe thread alerts  
Subject:in function display($file_name = '')...
Summary:Package rating comment
Messages:1
Author:Muhammmad Hasnain
Date:2016-11-06 16:44:33
 

Muhammmad Hasnain rated this package as follows:

Utility: Good
Consistency: Good
Examples: Good

  1. in function display($file_name = '')...   Reply   Report abuse  
Picture of Muhammmad Hasnain Muhammmad Hasnain - 2016-11-06 16:44:33
in function display($file_name = '')
inside the foreach($this->pie_data as $k => $data)
add after c++;
if($data[1] >= 360)
break;

in the init function
change to this line (use !== so one can have flat pie charts)
$this->threedee_height = ($this->threedee_height) !== '' ? $this->threedee_height : 10; //round($this->pie_width/10);