'How to customise the color of leader line (line that connects graph and label) in a pie chart (Amcharts v4)

I made a pie chart using amcharts v4. The background color of the div containing the pie chart is a dark color and the leader line (the line that connects the graph and the label) is by default a dark color which makes it invisible.

Pie chart image

Is there any way to customise the color of the leader line?



Solution 1:[1]

use Tick

pieSeries.ticks.template.stroke = '#d0d2d6';
pieSeries.ticks.template.strokeWidth = 1;

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 victor.JIANG