indexLabelBorderThickness: Number

Sets the Border Thickness of Index Labels in datapoint level.

Default: 0
Example: 1,3,…
var  chart =  new  CanvasJS.Chart("container", {
 .
 .
 data: [{
   { y: 10, indexLabel:"apple", indexLabelBorderThickness: 1, indexLabelBorderColor: "red" },
 }]
 .
 . 
});
chart.render();

Try Editing The Code


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