kiranmaroju-zz / dwpe

Automatically exported from code.google.com/p/dwpe
MIT License
0 stars 0 forks source link

My pie chart is the wrong color in IE 8 #70

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
My pie chart is the wrong color in IE 8 see pic attached:

FF = firefox

ie8 = IE 8

Original issue reported on code.google.com by streetli...@gmail.com on 5 Sep 2011 at 12:30

Attachments:

GoogleCodeExporter commented 8 years ago
Hi, 

I have the same problem.

Did someone find an issu plz ?

s3b

Original comment by magliolo...@gmail.com on 7 Nov 2011 at 10:27

GoogleCodeExporter commented 8 years ago
in this function, 

jQuery.each(memberTotals, function(i){

you must change de line where you calculate the percentage, and put up the line 
ctx.fill(). 

The code must be: 

var percentage = parseFloat((fraction*100).toFixed(2));
if(percentage)
  ctx.fill();

In this case, you only paint the pie with percentage, and the problem is 
resolved. 

Original comment by joseguti...@gmail.com on 8 Nov 2011 at 4:08