I need to include a chart generated with ChartJS in an Asp.Net view into a report created using Report Viewer in C# Asp.Net MVC. To do that, i thought about to run the view in memory (without open in a browser) and save the canvas where the chart is into an image file. So, i would use this file into the report.
How can I do that? If it's not possible to run a view in memory, is there any other way to accomplish what I need.