I am using ASP.Net MVC5. I need to create a PDF of a View which contains a c3.js chart.
As the chart is rendered an created through javascript (it creates an svg).
I tried to get the View output mentioned in: Render a view as a string
But I just get the initial HTML of the View with the CSS styling. I need the javascript to be executed before creating the PDF.
Please let me know if anybody has faced such a situation.
Or it also would be helpful to suggest any javascript library where I can get a specific as a pdf (without a server trip).
Thanks.