Sets the Axis Label background color. The value of labelBackgroundColor can be a “HTML Color Name” or “hex” code.
Default: “transparent”var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
.
labelBackgroundColor:"black",
.
},
.
.
});
chart.render();
Also See: