Sets the text alignment of axisX labels. This feature is useful whenever label text is wrapped into multiple lines.
Default: “left”var chart = new CanvasJS.Chart("container", { . . axisX:{ . labelTextAlign: "right", . } . . }); chart.render();
Also See: