Unplanned
Last Updated: 05 May 2025 11:16 by ADMIN
Alexa
Created on: 28 Apr 2025 20:26
Category: Chart
Type: Bug Report
0
Chart series.name template not in pdf on saveAsPDF

Hello,

I noticed in some of my charts that when I call saveAsPDF, the series.name seems to be just a literal string of the series.name option, even when I use a template.

Please see the attached dojo to reproduce (I based this dojo off of the Chart API series.name as template dojo example).

https://dojo.telerik.com/ZgsUVIjM

I noticed that this behavior starts in 2024.4.1112. Prior versions evaluated the template for the PDF.

I do have a workaround for this, which is included in comments in my dojo. I just exportPDF and then use kendo.saveAs.

Additionally, I noticed that the bars in the chart are at 0 in the PDF. I'm not worrying about that at this time, I'm exclusively interested in the series.name template being evaluated on saveAsPDF.

Here are some screenshots of the dojo and resulting pdf for v2024.4.1112:

 

 

Here is a screenshot of the pdf when the same dojo is run on 2024.3.1015:

Please let me know if you'd rather I paste the dojo code directly into this ticket, or attach as a code file.

Thanks!

-Alexa

1 comment
ADMIN
Nikolay
Posted on: 05 May 2025 11:16

Hi Alexa,

Thank you for reporting this undesired PDF export with the Chart.

I confirm it is a bug and I have also logged it for fixing in GitHub: https://github.com/telerik/kendo-ui-core/issues/8214

As a regression, it will be handled with higher priority.

Additionally, as a token of gratitude for reporting this, I added some Telerik points to your account.

Regards,
Nikolay
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.