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

Charts PDF Export

1 Answer 69 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.

1 Answer, 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.

Tags
PDF Export
Asked by
Benedetta
Top achievements
Rank 1
Veteran
Iron
Answers by
Hetali
Telerik team
Share this question
or