Sets the color of border around the axisX title in pixels. Values of titleBorderColor can be “HTML Color Name”, “hex code”, or “rgba values”.
Default: “transparent”var chart = new CanvasJS.Chart("container", { . . axisX:{ title: "Axis X Title", titleBorderColor: "black", titleBorderThickness: 2, . . }, . . }); chart.render();
Also See: