PHP Classes

Graph rendering error

Recommend this page to a friend!

      EQ Smooth Pie Graph  >  All threads  >  Graph rendering error  >  (Un) Subscribe thread alerts  
Subject:Graph rendering error
Summary:Graph doesn't render
Messages:1
Author:Mazhar Ahmed
Date:2012-11-10 13:18:19
 

  1. Graph rendering error   Reply   Report abuse  
Picture of Mazhar Ahmed Mazhar Ahmed - 2012-11-10 13:18:20
if any segment of the graph has it's value 0 then the graph doesn't render perfectly. Suppose:

$data[0][0]= "Netherlands";
$data[0][1]= 0;
$data[0][2]= "#00ccff";

$data[1][0]= "Malaysia";
$data[1][1]= 65;
$data[1][2]= "#ff00cc";

$data[2][0]= "Singapore";
$data[2][1]= 28;
$data[2][2]= "#ff9900";

$data[3][0]= "Belgium";
$data[3][1]= 0;
$data[3][2]= "#ccff66";

Any solution?