graph chart

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

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

Data Files Bar Graph Demo (servlet)

Note: For the purposes of demonstration this servlet implementation assumes that the Bar 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
The configuration parameters and chart data are supplied via two text files (bardata.txt and barprops.txt).


Settings Summary

  • Data acquired from the file bardata.txt
  • Properties acquired from the file barprops.txt
  • 3D Graphing Mode set
  • 3D depth set to pixels
  • 3 series of data defined each with 4 quarters of data.
Next Demo »

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

The chart properties are read from the file,
barprops.txt (click to view)

The chart data is read from the file,
bardata.txt (click to view)

Further Information
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




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