Graphing with jQuery
Suppose you have a number of web servers and you want to graph the number of HTTP connections over time to each server. You might solve this problem as follows:
- Write a simple PHP or CGI script which sends out (to a suitably authenticated client) the number of connections currently open.
Once you've created a graph, you can resize it by pulling on any of its four borders. You can resize the bars by clicking on the bicoloured area below the hostname; hover over this area and you will see a percentage; find the percentage you want, then click to resize the bars.