graph chart

2D/3D Line Graph - Demos & Examples

[ Line Graph Home ] [ Tutorials ] [ Documentation ] [ Getting Started ] [ Solutions ]

Database 2D/3D Line Graph Demo (servlet)

Note: For the purposes of demonstration this servlet implementation assumes that the 2D/3D Line Graph Servlet has been implemented on the local machine under the JSDK Servlet engine. It is vital that "ServletRunner" is in operation when this page is viewed. For further information on this please see:-

Documentation - Implementing Servlet

Method Outline
Here the chart is set to acquire the data from a database at page view time. This is done via a server side interface script DatabaseScript.php


Settings Summary

Next Demo »

How the Chart was created.
The above chart was inserted into the page with the HTML Code contained in the file,
servlet-databases-line-graph.txt (click to view).

The chart properties are read from the file,
LineConfigScript.php (click to view)

The chart data is read from the file,
DatabaseScript.php (click to view)

Further Information
Obtaining the data from server scripts provides many possibilities. See the following Tutorials:-

Dynamic Page

Script Interface

For a full explanation of each parameter see the
"Configuration Options" section of the Documentation.

« back to Examples Index

« back to Getting Started

[ Line Graph Home ] [ Tutorials ] [ Documentation ] [ Getting Started ] [ Solutions ]

Getting Started




Common Problems
This section describes and provides solutions to common problems.

Line Graph Home