Joaquín L. Robles
Joaquín L. Robles

Reputation: 6494

Server-side versus Client-side Chart generation

I have to choose a tool to generate Graphs with information about time consumption, project time distribution and so.. I'm currently using PHP and I was wondering what are the pros and cons between client-side chart generation (such as Google Chart Tools) and server-side (like PChart). Any suggestion?

Upvotes: 1

Views: 867

Answers (2)

newtron
newtron

Reputation: 6114

The server gives you tighter control - relying on the client assumes that a) the user has JS enabled, and b) there isn't something wonky with their browser.

However, doing it on the client means less resources spent on your server. That might be important for you, or it might not.

Upvotes: 4

dm03514
dm03514

Reputation: 55962

Well server side computational power is being used. If you pay for CPU usage or have limited cpu usage phcarts could hurt.

Javascript charts are backend agnostic. They are lightweight, put the burden of rendering on the user and are very lush colorful and interactive.

Upvotes: 2

Related Questions