labelPlacement allows you to position axisX label either inside or outside the plot-area.
var chart = new CanvasJS.Chart("container", { . . axisX:{ . labelPlacement:"inside", . }] }, . . }); chart.render();
Also See: