labelBorderColor: String

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

Default: “transparent”
Example: “red”,”#FABD76″
Notes
  • labelBorderColor works when border thickness is set to some value greater than zero.
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX:{
    stripLines:[{
	  labelBorderColor: "black",
          labelBorderThickness: 1
    }],
 },
 .
 . 
});
chart.render();

Try Editing The Code


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