indexLabelLineThickness: Number

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 type
Example: 4, 6


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
  type: "pie",  //"doughnut"
  indexLabelLineThickness: 5,
 
},
]
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.

Comments 2

    • 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.

In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.