Sets the text alignment of indexlabels. This feature is useful whenever indexlabel text is wrapped into multiple lines.
Default: “left”var chart = new CanvasJS.Chart("container", { . . data: [{ . dataPoints: [ { x: 1, y: 71, indexLabel: "Very Long Indexlabel", indexLabelTextAlign: "right" } ], . }] . . }); chart.render();