RadHtmlChart canvas not in full size

0 Answers 94 Views
Chart (HTML5)
Ludovic
Top achievements
Rank 1
Iron
Ludovic asked on 19 Jul 2021, 10:32 AM

Hello,

I have a problem with RadHtmlChart export to base64:

With UI for ASP.NET AJAX R3 2017, I generate my chart on a div with a "display : none" and after, on JS, I take the value (base64) of this graph and I can generate my image:

But with UI for ASP.NET AJAX R1 2021, if I generate my chart on this div, the chart doesn't take full size of the canvas and when I generate the image, the chart wasn't in full screen:

Do you have an idea why my canvas don't take the full size?

Doncho
Telerik team
commented on 22 Jul 2021, 08:26 AM

Hi Ludovic,

Could you please share some more information about the current case so we can have a better overview and assist more accurately?

It would be helpful if you share the markup declaration of the page with the RadHtmlChart along with the relevant JavaScript code for exporting the chart and reusing the base64 string.

No answers yet. Maybe you can help?

Tags
Chart (HTML5)
Asked by
Ludovic
Top achievements
Rank 1
Iron
Share this question
or