I'm trying to establish whether we are better off rendering charts serverside and pushing them to the browser as images or using a javascript charting library to draw the charts clientside.
I'm looking at the JFreeChart and Dojo Charting libraries, my target is an existing JSP site that runs in JBoss.
Does anyone have any experience with this who might be able to point out the merits/flaws of each.
At the moment I'm seeing Client side rendering as being a hell of a lot more efficient unless the dataset is Huge.
Right click anywhere on the site and select “View Source” (Some websites disable this functionality, so you may want to try another) This will redirect you to the site's full HTML document where all items inside are considered to be server-side rendered.
Between the two options, server-side rendering is better for SEO than client-side rendering. This is because server-side rendering can speed up page load times, which not only improves the user experience, but can help your site rank better in Google search results.
Client-side means that the processing takes place on the user's computer. It requires browsers to run the scripts on the client machine without involving any processing on the server. Server-side means that the processing takes place on a web server.
Markup languages like HTML and CSS are interpreted by the browser on the client side.
I would like to recommend a library I wrote: charts4j which is a server-side charting solution. Here are some features:
Here are some testimonials. Also check out the FAQ.
I have an example of incorporating this technology into a Spring MVC (using JSPs) app on my blog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With