Sets the thickness of line connecting indexLabel with its corresponding dataPoint. It is only applicable when indexLabelPlacement is “outside”.
Default: 2 for pie/doughnut, 0 for other chart typevar  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
  type: "pie",  //"doughnut"
  indexLabelLineThickness: 5,
 
},
]
 .
 . 
});
chart.render();
Also See:
2 Comments
How I remove the index label ?
It doesn’t show indexLabel unless you set “indexLabel” or “label” property. So you can achieve the same by just skipping those properties. Here is an example.