Uncaught TypeError: Cannot read properties of undefined (reading 'bbox')

1 Answer 68 Views
Charts
Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
Ilan asked on 04 Jul 2022, 04:53 PM

I'm trying to export my chart to PDF using the telerikClientExporter.js and I'm getting this error:

rror: Microsoft.JSInterop.JSException: Cannot read properties of undefined (reading 'bbox')
TypeError: Cannot read properties of undefined (reading 'bbox')
    at i (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:627)
    at http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:773
    at o (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:555)
    at a (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:698)
    at r (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:346)
    at Object.Group (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:1303)
    at s (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:6:28365)
    at http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:830
    at o (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:555)
    at a (http://localhost/ReportsBlazor/lib/progress/kendo-drawing/dist/cdn/js/kendo-drawing.js:7:698)

1 Answer, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 07 Jul 2022, 12:09 PM

Hello Ilan,

We have an open feature request for allowing the usage of the Kendo Drawing API in a Blazor application to export the Chart/Gauges to PDF. You can Vote for that feature request and click the Follow button to receive email notifications on status updates. 

Regards,
Svetoslav Dimitrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
commented on 07 Jul 2022, 02:00 PM

Is there any other way to export chart to Pdf?
Svetoslav Dimitrov
Telerik team
commented on 12 Jul 2022, 09:39 AM

Until the feature request is implemented you can use some custom JavaScript to implement the behavior. 
Tags
Charts
Asked by
Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
Answers by
Svetoslav Dimitrov
Telerik team
Share this question
or