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

Free Support Forum - aspose.com

DataLabels not visible in the Pie chart image

I am using Aspose.Cells java version I have created a pie chart and set the following properties of the datalabels -




There are 2 issues with the datalabels -

1) The chart.Toimage() does not show the datalabels at all.

2) The datalables are visible in the Pie chart (in the Excel sheet) but the Leader lines are not visible until the datalabel is moved further. Is there a way to set the position on the datatables so that the leader lines are visible?

Please specify ETR for the issue.

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the resultant files.

We have found your mentioned issues after an initial test. We will look into them and get back to you soon. Your issues have been registered in our internal issue tracking system with issue id: CELLSJAVA-15017.

We will update you soon regarding the ETA after looking into the issues in detail.

Thank You & Best Regards,

Is there a solution for Issue #2 as well, to show the Leader lines in Excel sheet?


To move the position of DataLabels, you need to set the position of
DataLabels for every ChartPoint manually just like in MS Excel. The
code can be as following:

ChartPoints cps = series.getChartPoints();
int size = cps.size();
for(int p=0; p<size; p++)

Thank you.

Data Labels are not visible in the chart image, whether they are Outside the chart area or inside. I have tried all the Orientations and it does not work.


Yes, we already found and added this issue into our issue tracking system as: CELLSJAVA-15017

We will let you know when it is sorted out.

Thank you.


Please try the attached version.

We have made some improvements for the datalabels. There are some other
issues left such as the custom position of DataLabels and we are working on

Thank you.