indexLabelBorderColor: String

Sets the Border color of Index Labels. The value of indexLabelBorderColor can be a “HTML Color Name”, “hex code”, or “rgba values”.

Default: null
Example: “red”,”#FABD76″,…
var  chart =  new  CanvasJS.Chart("container", {
 .
 .
 data: [{
    indexLabelBorderColor: "red",
    indexLabelBorderThickness: 1
 }]
 .
 . 
});
chart.render();

Try Editing The Code


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