labelBorderColor: String

Sets the axisX Label border color. Values of labelBorderColor can be “HTML Color Name”, “hex code”, or “rgba values”.

Default: “transparent”
Example: “red”,”#FABD76″,…
Notes
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX:{
      labelBorderColor: "#FF9A31",
      labelBorderThickness: 1
 },
 .
 . 
});
chart.render();

Try Editing The Code


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