         .attr("text-anchor", "middle").text((d, i) -> 
           if data[i].value != 0
             data[i].label
-        ).attr('font-size', '28px')
+        ).attr('font-size', mFontSize + 'px')
         .append('svg:tspan')
         .attr('x', 0)
         .attr('dy', '.9em')

    for val in data  
      sum += val.value

# Core
#    arcs.append("svg:text").attr("transform", (d, i) -> 
#      procent_val = Math.round(data[i].value/sum * 100)
#      d.innerRadius = (radius * (100-procent_val)/100) - 45  #45=max text size/2
#      d.outerRadius = radius
#      "translate(" + arc.centroid(d) + ")")
#      .attr('fill', "#fff")
#      .attr("text-anchor", "middle").text((d, i) -> data[i].label).attr('font-size', '28px')
#      .append('svg:tspan')
#      .attr('x', 0)
#      .attr('dy', 25)
#      .attr('font-size', '90%')
#      .text((d,i) -> data[i].value + ' (' + Math.round(data[i].value/sum * 100) + '%)')

    if !sum
      arcs.append("svg:text")
        .attr('fill', "#fff")

          if data[i].value != 0
            data[i].value + ' (' + Math.round(data[i].value/sum * 100) + '%)'
		)
