titleBorderColor: String

Sets the color of border around the axisX title in pixels. Values of titleBorderColor can be “HTML Color Name”, “hex code”, or “rgba values”.

Default: “transparent”
Example: “red”,”#FABD76″,…
Notes
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX:{
	title: "Axis X Title", 
	titleBorderColor: "black",
	titleBorderThickness: 2,
	.
	.
 },
 .
 . 
});
chart.render();

Try Editing The Code

  Also See:    


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