It depends what you understand by charting, whether it's the computing of data or composing the whole chart. I assume you're talking about composing the whole chart.
If you do it on the server, you'll want to compose the chart as a picture, and then send that picture (chart) to the client (in the browser). I wouldn't recommend that for the obvious reasons, not to mention you'd have no way of interacting with the chart.
What I'd recommend is computing the chart data server-side, send it to the client, and there use a JavaScript library to display your chart. I'd recommend
HighCharts[
^], I've used it before, and works well.