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
First of all, thank you for this great chart. I really appreciate your work!
Recently I encountered a small problem:
when a dataLabel is exactly 180 degrees, the dx is 5 and the dataLabel falls into the middle of the chart.
Probably this will fix the problem (textAngle < 180 instead of textAngle <= 180): function getDx({ textAngle, currentDx }) { if (textAngle < 180) { return 5; } return !!currentDx && currentDx < -5 ? currentDx : -5; }
What do you think?
The text was updated successfully, but these errors were encountered:
First of all, thank you for this great chart. I really appreciate your work!
Recently I encountered a small problem:
when a dataLabel is exactly 180 degrees, the dx is 5 and the dataLabel falls into the middle of the chart.
Probably this will fix the problem (
textAngle < 180
instead oftextAngle <= 180
):function getDx({ textAngle, currentDx }) { if (textAngle < 180) { return 5; } return !!currentDx && currentDx < -5 ? currentDx : -5; }
What do you think?
The text was updated successfully, but these errors were encountered: