简体   繁体   中英

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?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM