Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.
If you install Office on the server, you'll struggle to make it work. If you
do get it to work, you'll have to be prepared for the fact that it could stop working again at any time without warning.
Whilst you
might be able to use something like
Remoting[
^] or
WCF[
^] to drive Office on a different computer, you'd still need a non-interactive process on that computer to automate the Office application.
You'd be better off looking at a library which doesn't require Office at all. For example,
EPPlus[
^] can generate Excel workbooks, including charts. Or, if you just want charts, something like
Chartist[
^] or
Chart.js[
^] would do the trick.