DataLabels Pie Chart

Hi,

I have a excel sheet with a pie chart,

when I try to set bold on datalabels font this happens to me:

if I set :

chart.getNSeries().get(0).getDataLabels().getTextFont().setBold(true);

chart.getNSeries().get(0).getDataLabels().getTextFont().setItalic(true);

chart.getNSeries().get(0).getDataLabels().getTextFont().setUnderline(1);

chart.getNSeries().get(0).getPoints().get(i).getDataLabels().setNumberFormat("#0.0");

font datalabels does not become bold, italic, underlined

if I comment last code line I obtain my target.

It is a bug?

Thanks.

Hi,


Could you paste/post simple demo source code (complete) with template file(s) here, we will check it soon.

Also, which version of the product you are using?

Thank you.

This is my simple demo.

You must put aspose jar lib into lib dir before execute example.

I use aspose 7.0.2

Hi,


After an initial test using your project, I can find the issue as you have mentioned. I have logged a ticket with an id: CELLSJAVA-40032.

We will look into it soon.

Thank you.

Hi,


Please try the attached version: v7.0.2.6. We have fixed the issue.


Thank you.

The issues you have found earlier (filed as CELLSJAVA-xxxxx) have been fixed in this update.