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