This is a migrated thread and some comments may be shown as answers.

Charts PDF Export

2 Answers 141 Views
PDF Export
This is a migrated thread and some comments may be shown as answers.
Benedetta
Top achievements
Rank 1
Veteran
Iron
Benedetta asked on 09 Mar 2021, 08:12 AM
Hi,
I'm trying to export a chart to PDF but I have an error in the console:

ERROR
Error: Uncaught (in promise): TypeError: Cannot read property 'bbox' of undefined
TypeError: Cannot read property 'bbox' of undefined

Here is an example on SB.

https://stackblitz.com/edit/angular-1f74zm

Any suggestions?

Thank you
B.

2 Answers, 1 is accepted

Sort by
1
Hetali
Telerik team
answered on 10 Mar 2021, 10:39 PM

Hi Benedetta,

Thank you for the StackBlitz example.

There is a problem with StackBlitz and is fetching the wrong kendo-drawing package which therefore leads to an error. The example works as expected when you download it and run it locally.

Please take a look at the zipped application of the example. Run 'npm install' before you build and run the app.

We also have a dedicated article to save the Chart in PDF (run it locally).

In the future, to receive a faster turnaround (within 24 hrs for Kendo UI Priority Support), please create a Support Ticket instead of a Forum post.

Let me know if I can further assist you.

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

serge
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 15 Mar 2022, 03:41 PM

Hi, Hetali, just remark that your forum images could be optimised. Here, we see your profile, extra-small (24x24px) picture, that is src by a extra large one: 2681 x 3672 px! almost 2MB all this is loaded for 24x24 pixel picture!
-1
sanjin
Top achievements
Rank 1
Iron
answered on 15 Mar 2022, 02:17 PM | edited on 15 Mar 2022, 06:19 PM
.
serge
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 15 Mar 2022, 06:08 PM

that should be a comment, not an answer
Tags
PDF Export
Asked by
Benedetta
Top achievements
Rank 1
Veteran
Iron
Answers by
Hetali
Telerik team
sanjin
Top achievements
Rank 1
Iron
Share this question
or