score:0

chart.js is a javascript charting library, so you'd need to be able to run the javascript on the server, to produce the chart. this would require something like node or the ability to run javascript on the iis server.

as you say, there's an option to generate it in the browser, post it back to the server, then do what you need with it there (embed it in a document/pdf?). but that's very much a hack.

as @john commented - you're best off using something like system.web.ui.datavisualization.charting to produce the chart image on the server, then use that as needs be.


Related Query