indexLabelLineThickness: Number

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


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
   type: "doughnut",
   dataPoints: [      
     {y: 24, indexLabel: "apple",  indexLabelLineThickness: 4}
  ]
 
  }],
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



If you have any questions, please feel free to ask in our forums.Ask Question