graph chart

2D / 3D Horizontal Bar Graph - Demos & Examples

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

Data from Server Scripts Bar Graph Demo

Method Outline
The configuration parameters and chart data are acquired from server scripts. This method is incredibly powerful and allows data to be obtained from almost any source.

Settings Summary

  • Data acquired from a PHP script BarDataScript.php
  • Properties acquired from a PHP script BarConfigScript.php
  • 3D Graphing Mode set
  • 3D depth set to 10 pixels
  • 3 series of data each with 4 quarters of sales data.
Next Demo >>

How the Chart was created.
The above chart was inserted into the page with the HTML Code contained in the file,
applet-data-scripts-bar-graph.txt (click to view).

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

The chart data is read from the file,
BarDataScript.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

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

Getting Started

Documentation

Examples

Tutorials

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