labelBorderColor: String

Sets the border color of axisY 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",
{
 .
 .
 axisY:{
    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