Sets the thickness of line connecting indexLabel with its corresponding dataPoint. It is only applicable when indexLabelPlacement is set to “outside”.
Default: 2 for pie/doughnut, 0 for other chart typevar  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
   type: "doughnut",
   dataPoints: [      
     {y: 24, indexLabel: "apple",  indexLabelLineThickness: 4}
  ]
 
  }],
 .
 . 
});
chart.render();
Also See: