.style('text-anchor',labelSunbeamLayout?((d.startAngle+d.endAngle)/2<Math.PI?'start':'end'):'middle')//center the text on it's origin or begin/end if orthogonal aligned
.style('fill','#000')
});
slices.select(".nv-label").transition()
pieLabels.transition()
.attr('transform',function(d){
if(labelSunbeamLayout){
d.outerRadius=arcRadius+10;// Set Outer Coordinate
@ -204,12 +209,7 @@ nv.models.pie = function() {
return'translate('+labelsArc.centroid(d)+')'
}
});
slices.each(function(d,i){
varslice=d3.select(this);
slice
.select(".nv-label text")
pieLabels.select(".nv-label text")
.style('text-anchor',labelSunbeamLayout?((d.startAngle+d.endAngle)/2<Math.PI?'start':'end'):'middle')//center the text on it's origin or begin/end if orthogonal aligned