function textStyle(text) {
          text.attr("aria-hidden", d.aH).attr("dir", rtl ? "rtl" : "ltr").attr("fill", d.fC).attr("stroke", d.fStroke).attr("stroke-width", d.fSW).attr("text-anchor", d.tA).attr("font-family", d.fF).style("font-family", d.fF).attr("font-size", "".concat(d.fS, "px")).style("font-size", "".concat(d.fS, "px")).attr("font-weight", d.fW).style("font-weight", d.fW).attr("x", "".concat(d.tA === "middle" ? d.w / 2 : rtl ? d.tA === "start" ? d.w : 0 : d.tA === "end" ? d.w : 2 * Math.sin(Math.PI * d.r / 180), "px")).attr("y", function (t, i) {
            return d.r === 0 || d.vA === "top" ? "".concat((i + 1) * d.lH - (d.lH - d.fS), "px") : d.vA === "middle" ? "".concat((d.h + d.fS) / 2 - (d.lH - d.fS) + (i - d.lines.length / 2 + 0.5) * d.lH, "px") : "".concat(d.h - 2 * (d.lH - d.fS) - (d.lines.length - (i + 1)) * d.lH + 2 * Math.cos(Math.PI * d.r / 180), "px");
          });
        }
/**
            Styles to apply to each <text> element.
            @private
        */
Styles to apply to each  element.
Styles to apply to each element .
function textStyle(text) {
          text.attr("aria-hidden", d.aH).attr("dir", rtl ? "rtl" : "ltr").attr("fill", d.fC).attr("stroke", d.fStroke).attr("stroke-width", d.fSW).attr("text-anchor", d.tA).attr("font-family", d.fF).style("font-family", d.fF).attr("font-size", "".concat(d.fS, "px")).style("font-size", "".concat(d.fS, "px")).attr("font-weight", d.fW).style("font-weight", d.fW).attr("x", "".concat(d.tA === "middle" ? d.w / 2 : rtl ? d.tA === "start" ? d.w : 0 : d.tA === "end" ? d.w : 2 * Math.sin(Math.PI * d.r / 180), "px")).attr("y", function (t, i) {
            return d.r === 0 || d.vA === "top" ? "".concat((i + 1) * d.lH - (d.lH - d.fS), "px") : d.vA === "middle" ? "".concat((d.h + d.fS) / 2 - (d.lH - d.fS) + (i - d.lines.length / 2 + 0.5) * d.lH, "px") : "".concat(d.h - 2 * (d.lH - d.fS) - (d.lines.length - (i + 1)) * d.lH + 2 * Math.cos(Math.PI * d.r / 180), "px");
          });
        }
function textStyle ( text ) { text . attr ( "aria-hidden" , d . aH ) . attr ( "dir" , rtl ? "rtl" : "ltr" ) . attr ( "fill" , d . fC ) . attr ( "stroke" , d . fStroke ) . attr ( "stroke-width" , d . fSW ) . attr ( "text-anchor" , d . tA ) . attr ( "font-family" , d . fF ) . style ( "font-family" , d . fF ) . attr ( "font-size" , "" . concat ( d . fS , "px" ) ) . style ( "font-size" , "" . concat ( d . fS , "px" ) ) . attr ( "font-weight" , d . fW ) . style ( "font-weight" , d . fW ) . attr ( "x" , "" . concat ( d . tA === "middle" ? d . w / 2 : rtl ? d . tA === "start" ? d . w : 0 : d . tA === "end" ? d . w : 2 * Math . sin ( Math . PI * d . r / 180 ) , "px" ) ) . attr ( "y" , function ( t , i ) { return d . r === 0 || d . vA === "top" ? "" . concat ( ( i + 1 ) * d . lH - ( d . lH - d . fS ) , "px" ) : d . vA === "middle" ? "" . concat ( ( d . h + d . fS ) / 2 - ( d . lH - d . fS ) + ( i - d . lines . length / 2 + 0.5 ) * d . lH , "px" ) : "" . concat ( d . h - 2 * ( d . lH - d . fS ) - ( d . lines . length - ( i + 1 ) ) * d . lH + 2 * Math . cos ( Math . PI * d . r / 180 ) , "px" ) ; } ) ; }
Styles to apply to each <text> element.
Styles to apply to each <text > element .