graph chart

Stacked Vertical Bar Graph Examples

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

Applet Example 5 - Configuration Data from Server Processes

if you do not see the graph below then click here

The applet is setup here to read both the configuration data and the graph data from server side processes, in this case PHP scripts running on our web server.

The SVbarDataScript ( click here to view code ) is a simple PHP script designed to demonstrate how a server script can be used to return data to either the graphing applet or servlet. Although in this example the script simply builds the return data from 'hard coded' values, in practice this routine would be expanded to first gather data from any number of data sources. eg. databases, files other server processes.

The SVbarConfigScript ( click here to view code ) again is just a simple PHP script designed to demonstrate the method. The script is used to construct the return data from 'hard coded' values. Again, in practice this method would be expanded to derive data from a number of data sources.

For a full explanation of and range of values for the above parameters please see the Documentation - Configuration Options».

« back to Examples Index

« back to Getting Started

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

Getting Started

Documentation

Examples

Tutorials

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