Sets the text alignment of Inputfields. This feature is useful for localization / Right-to-Left (RTL) language support.
Default: “center”var stockChart = new CanvasJS.StockChart("container", {
.
.
rangeSelector: {
inputFields: {
style: {
textAlign: "right",
.
.
}
}
},
.
.
});
stockChart.render();
Also See: