Sets the text alignment of axisX crosshair’s label. This feature is useful whenever label text is wrapped onto multiple lines.
Default: “left”var chart = new CanvasJS.Chart("container", { . . axisX:{ crosshair: { . . labelTextAlign: "center" // change to "left" / "right" . . } ] }, . . }); chart.render();