Need More Info
Last Updated: 25 Aug 2025 15:04 by James Glinsek
James Glinsek
Created on: 18 Aug 2025 13:48
Type: Bug Report
0
Excel/Word/Powerpoint graph export is incorrect (while PDF works properly)

Graphs do not render captions and labels properly when exporting to Excel, Word, or Powerpoint. The problem appears to be worse using Skia on Linux, but the problem is present with GDI rendering as well. Worth noting that PDF export works properly. 

Here is an example report exported to Excel via a Linux Azure Web App and below that is the exact same report from the same environment as PDF:

Here is that same report as a PDF (which mirrors how it looks in the HTML5 viewer):

 

2 comments
James Glinsek
Posted on: 25 Aug 2025 15:04

Hey Dimitar,

So, the problem is that the export from the stand-alone designer does NOT match up to the export from a .NET Core application. And the problem is worse when that .NET Core application is run on Linux. 

So, I took the report you shared and I modified it slightly to more closely match my report:

  1. Added "Titles" on the X and Y axis.
  2. Modified the data to take in an actual date (rather than a string)
  3. Modified the grouping on the X axis to group by Month name (like my report does).

When I export that from the stand-alone designer, it looks like it looks on screen (in either Skia or GDI mode). Like this:



However, when I run it through my app (again, an asp.net core app on my Windows 11 development machine, but running via the Skia engine) and export it (via the HTML5 report viewer), then I get output that looks like this:

In this contrived example, I've highlighted in yellow how the side caption (Title) and the X-axis labels get randomly messed up. Again, this is done via my Window 11 development machine in an asp.net core web app exporting to Excel through the HTML5 report viewer interface. If I could deploy this to my Azure App Host (which runs on Linux), I suspect the output would likely be a bit worse. 

I've attached my modified report and exports from the stand-alone designer and from the asp.net core app.

Attached Files:
ADMIN
Dimitar
Posted on: 25 Aug 2025 11:33

Hi James,

Thank you for the provided information about the scenario!

I tried to reproduce the issue locally by rendering a report with a column chart using the Skia engine through the Standalone Report Designe for .NET. However, I did not observe the described problem in any of the OpenXML formats.

I have attached a zip with the sample report I used for the tests, as well as the generated Excel, Word and PowerPoint documents.

Could you please provide more instructions on how to reproduce the issue? Also, can you test and let me know if the issue reproduces with the sample report?

Additionally, a trace log could also help since if there are any errors during the rendering of the report, we should be able to see them in the log - How to troubleshoot errors in ASP.NET Core projects - Telerik Reporting.

I look forward to your response.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Attached Files: