Sets the axisX Title background color. The value of titleBackgroundColor can be “HTML Color Name”, “hex code”, or “rgba values”.
Default: “transparent”var chart = new CanvasJS.Chart("container", { . . axisX:{ title: "Axis X Title", titleBackgroundColor:"#A4CBEF" }, . . }); chart.render();
Also See: