This AJAX demo demonstrates the thin-client server-side
solution for displaying dynamic real-time graphics on a web page
GLG Graphics Server. It is browser
independent and may be used on any embedded or mobile
The graph Servlet or Handler used by the demo is written in a generic way and may be used to display various types of graphs by using the graph_type URL parameter. The same image URL may be used as a component in multiple web pages. For example, the AJAX Dashboard Demo uses the URL to render an instance of this graph in a larger dashboard. JSP Servlet and ASP.NET Handler source code is provided and may be further customized if required.
The data displayed in the graph is supplied by the Servlet or Handler from a data source on the server side. The "Label:" entry field demonstrates how to supply Servlet or Handler parameters for the graph from HTML.
The demo uses a few pre-built graphs from the graph palette provided with the 2D Graphs widget set. The GLG Graphics Builder may be used to customize the graphs' drawings, as well as add custom labels and annotations to the graph.
The graph Servlet or Handler loads graph drawings only once and reuses them between all Servlet or Handler instances and threads for increased performance.