Client-side generated charts for use in job for sending reports

198 views Asked by At

Client is asking us for replacement of Telerik's RadChart control with its new HTML5 version - RadHtmlChart. The problem is that all of reporting emails stuff is working on that control because charts are generated on server side and it's fine to use them for sending reports emails to users.

So now after we'll replace RadChart with RadHtmlChart we will lose a possibility to get a chart on server side. Is there any way to get that report?

I have heard about PhantomJS which could do the job but I'm not very familiar with that idea so I'm asking to be sure.

1

There are 1 answers

2
rdmptn On

Exporting a control that is rendered via JS in the browser is difficult and may not be possible in your scenario. Take a look here to see if you can employ this approach: http://www.telerik.com/support/code-library/exporting-radhtmlchart-to-png-and-pdf. If you cannot - I think you will have to keep using RadChart to get actual images rendered.