labelBorderColor: String

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


Default: “grey”
Example: “red”,”#FABD76″

Notes
  • labelBorderColor works when border thickness is set to some value greater than zero.


var  chart =  new  CanvasJS.Chart("container", {
 .
 .
 axisX:{
	crosshair:{
		enabled: true,
		labelBorderColor: "#ff9a31",
		labelBorderThickness: 1
	}
 },
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.



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