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

Free Support Forum - aspose.com

Incorrect output of series names when saving workbook to PDF

Here is a new bug after fixed this:

the “Sample_T” in xlsx:

image.png (73.2 KB)
the “Sample_T” in pdf:

image.png (108.4 KB)

Look at defferent of the series name of charts between xlsx and pdf version.

the codes:
ConsoleApp3.zip (33.3 KB)

@Flithor,

Thanks for the template file.

I noticed the issue using your sample in the output PDF. I have logged a ticket with an id “CELLSNET-51043” for your issue. We will look into it soon.

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

Off-topic things:
Is there not much feedback about Chart? There seems to be a lot of bugs about this feature…

@Flithor,

Yes, there are more formatting issues in chart rendering recently. We are in the process and will enhance the rendering charts module. Moreover, this issue is caused by merged cells which are not considered properly when setting series names. We will fix the issue soon.

@Flithor
Please try the latest version 22.5. It works much better as attached:
225.zip (42.5 KB)
It’s a difficult to automatically recognize series’s name, values and xValues when setting the chart data range. We are working hard to make the feature work as MS Excel.
If you can confirm which range is series’s name, values and xValues, you also can use SeriesCollection.Add() , SeriesCollection.SetSeriesNames and SeriesCollection.CategoryData to set them.

@Flithor,

This is to inform you that your issue (logged earlier as “CELLSNET-51043”) has been resolved. The fix will be included in the next release (Aspose.Cells for .NET v22.6) which is scheduled in the second week of June 2022. You will also be notified when the next version is published.