Sets the text alignment of axisY title. This feature is useful whenever titleWrap is set to true, title length exceeds titleMaxWidth, and title is wrapped onto multiple lines.
Default: “left”var chart = new CanvasJS.Chart("container", { . . axisY:{ titleTextAlign: "center" // change to "left" / "right" }, . . }); chart.render();
Also See: