Datalabels alignment issue

Hello Team,
I want to make my datalabel to left alligned for a stacked bar . Please tell me how to do it.
I tried datalabels.setPosition(LabelPositionType.LEFT) but it didnt work
Note: I m using Aspose cells Java

@prachidas5998
Would you like to provide your sample file and code? If you can provide the expected results in Excel and highlight the parts that need to be set in screenshots, it will be helpful for us to locate the issue. We will check it soon.

@prachidas5998
For a stacked bar chart in Excel, if you want to display the data labels to the left, you can choose “Inside Base”. For Aspose.Cells for Java, you can use the following code:

// Display the data label of the first point of the first series to the left.
chart.getNSeries().get(0).getPoints().get(0).getDataLabels().setPosition(LabelPositionType.INSIDE_BASE);

Hope helps a bit!