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
When dataLabels are enabled and circularMode is enabled, the labels should always show.
Actual behaviour
When the difference between parent node and child node is very small, e.g. root.value: 6284, child node value: 6283, the label for the child does not show.
... by adding a block that separates the start and the end:
// Check if dataLabels should be render in the upper half of the circleif(end-start>Math.PI){upperHalf=false;moreThanHalf=true;// Close to the full circle, add some padding so that the SVG// renderer treats it as separate points (#18884).if((end-start)>2*Math.PI-0.01){start+=0.01;end-=0.01;}}
Expected behaviour
When dataLabels are enabled and circularMode is enabled, the labels should always show.
Actual behaviour
When the difference between parent node and child node is very small, e.g. root.value: 6284, child node value: 6283, the label for the child does not show.
Live demo with steps to reproduce
https://jsfiddle.net/L37wze5h/1/
Product version
Highcharts 10.2.1
Affected browser(s)
Microsoft Edge, Firefox, Chrome
The text was updated successfully, but these errors were encountered: