labelBorderThickness: Number

Sets the thickness of border around the axisX label in pixels. To display border around a label, set the labelBorderThickness to a number greater than zero.

Default: 0
Example: 2,4,…
Notes
  • Label border thickness can be viewed when border color is applied.
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX:{
      labelBorderColor: "#FF7F7F",
      labelBorderThickness: 2
 },
 .
 . 
});
chart.render();

Try Editing The Code

  Also See:    


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