Linked by Thom Holwerda on Mon 1st Feb 2010 23:28 UTC
Internet & Networking Use gnuplot to dynamically generate Web pages from your system using raw data to provide graphic images. This raw data typically contains MIS-related information, on system performance, storage, or database growth.
Thread beginning with comment 407420
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: Unnecessary
by FooBarWidget on Tue 2nd Feb 2010 15:24 UTC in reply to "RE[3]: Unnecessary"
FooBarWidget
Member since:
2005-11-11

I don't think so, graph data generation is different from graph drawing. The latter requires some drawing/plotting library or program on the server side. I find it easier and lighter weight to just change the graph points into json, send it to the client, have javascript render it, and be done with it.

Reply Parent Score: 2

RE[5]: Unnecessary
by vivainio on Tue 2nd Feb 2010 15:35 in reply to "RE[4]: Unnecessary"
vivainio Member since:
2008-12-26

I don't think so, graph data generation is different from graph drawing. The latter requires some drawing/plotting library or program on the server side. I find it easier and lighter weight to just change the graph points into json, send it to the client, have javascript render it, and be done with it.


You need some smarts to generate the datapoints from raw data; drawing on png canvas is the easy part. Actually getting the graph is easy and fast with a system like, say, matplotlib (that I've played with myself).

For trivial "business" graphs it won't matter either way, but when we are talking with heavy duty data, you want to do the drawing on server side, like here:

http://labs.trolltech.com/blogs/2009/09/29/exploring-qt-performance...

Reply Parent Score: 2