Commit a7a464e1 authored by Marc Duez's avatar Marc Duez

export.js : debug(firefox) ff don't like arc path representation using comma

parent 94a2dd59
......@@ -248,9 +248,9 @@ Report.prototype = {
var longArc = (stop-start <= Math.PI) ? 0 : 1;
//d is a string that describes the path of the slice.
var d = "M" + radius + "," + radius + " L" + (radius + x1) + "," + (radius + y1) +
", A" + radius + "," + radius + " 0 "+longArc+",1" + (radius + x2) + "," + (radius + y2) +
" z";
var d = " M " + radius + " " + radius + " L " + (radius + x1) + " " + (radius + y1) +
" A " + radius + " " + radius + " 0 "+longArc+" 1 " + (radius + x2) + " " + (radius + y2) +
" z ";
slice.setAttribute('d', d);
slice.setAttribute('fill', m.germlineList.getColor(system));
pie.appendChild(slice)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment