We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Chart legend entries are rendered too far to the left

Dear Aspose Support Team

We have the attached file PrintLegendPosition.xlsx, it was created with Aspose.Cells for Java v20.10.7. When opening the file in Excel, it looks fine (Screenshot_Excel_OK.PNG).
However, when printing the file (Print.oxps) or saving it as PDF (PrintLegendPosition.pdf) the legend entries are shown too much to the left, i.e. too close to the border.

PrintLegendPosition.zip (499.4 KB)

@awepler,

Please notice, we confirmed the issue as you mentioned via screenshot by converting your template file to PDF file format. We found chart legend entries are rendered too close to the left border in the output PDF. We have logged a ticket with an id “CELLSJAVA-43336” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@awepler,

This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@awepler,
Please try our latest version/fix: Aspose.Cells for Java v20.11.6 (attached)
aspose-cells-20.11.6-java.zip (7.2 MB)

Your issue should be fixed in it.

Let us know your feedback.

We have tested the case with the new aspose version. The pdf file (PrintlegendPositionV20116.pdf) looks now ok, but the legend entries on the printing file (PrintV20116.oxps) are still too much on the left printlegendpositionV20116.zip (461.1 KB)

@awepler,
We have observed the issue in OXPS file and logged a separate ticket for it. You will be notified here once any update is ready for sharing.

This issue is logged as:
CELLSJAVA-43363 - Chart legend entries are rendered too far to the left in OXPS file

The issues you have found earlier (filed as CELLSJAVA-43336) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi

@awepler,

Please try our latest version of Aspose.Cells for Java v21.6, it should fix your issue “CELLSJAVA-43363”.

downloads.aspose.com

Downloads —New-Releases-aspose.cells-for-java-21.6

Let us know if you still find any issue.