You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function angularTextMax(d) { var deltaAngle = state.angleScale(d.x1) - state.angleScale(d.x0); var r = Math.max(0, (state.radiusScale(d.y0) + state.radiusScale(d.y1)) / 2); var perimeter = r * deltaAngle; return perimeter / CHAR_PX_WIDTH; }
And using it allSlices.select('.angular-label').transition(transition$1).styleTween('display', function (d) {
Is your feature request related to a problem? Please describe.
When you have fairly long labels, you get entirely empty cells
This makes reading the charts very difficult, and it means that sharing static screenshots of them isn't viable
Describe the solution you'd like
If a label doesn't fit, keep removing text from it until it does
Describe alternatives you've considered
Wrapping text could be helpful too, but there are other requests for that here, and I understand the challenge
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: