pingjiang / protochart

Automatically exported from code.google.com/p/protochart
0 stars 0 forks source link

Pie Chart Color Bug Fixed :> #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Pie charts use inconsistent color application when data collections include 
zero(s).   The solution is to not attempt to generate wedges for zero data.

Solution: (Around Line 1723)
  if(startAngle!=endAngle){
    this.context.arc(anchorX, anchorY, radius, startAngle, endAngle, false);
  };

Original issue reported on code.google.com by daryn...@gmail.com on 2 Aug 2010 at 3:26

GoogleCodeExporter commented 9 years ago
i want this pie diagram code 

Original comment by s.vinayk...@gmail.com on 7 Sep 2010 at 6:43