labelWrap specifies whether to wrap or clip label once its width crosses labelMaxWidth.
var chart = new CanvasJS.Chart("container",{ . . axisX:{ labelMaxWidth: 50, labelWrap: true }, .});chart.render();
Also See: