Sets the thickness of border around the axisX label in pixels. To display border around a label, set the labelBorderThickness to a number greater than zero.
Default: 0var chart = new CanvasJS.Chart("container", { . . axisX:{ labelBorderColor: "#FF7F7F", labelBorderThickness: 2 }, . . }); chart.render();
Also See: