labelBorderColor: String

Sets the axisY label border color. 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: {
      labelBorderColor: "#FF9A31",
      labelBorderThickness: 1
 },
 .
 . 
});
chart.render();

Try Editing The Code


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