Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please give a difference between client side charting and server side charting in j2ee web application .Which is the best way?
Posted

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900