# Advanced Graphs and Charts for PHP

- Graph Home
- Pricing / License Options
- Online Demos
- Documentation
- Tutorials

In the Vertical Bar Graph below we plot 2 series of data with the first using the left y-axis scales and the second using the right y-axis scale.

By default all data will be set to plot against the left hand y-axis scale. To override this and tell the graph software to plot data against a right hand y-axis scale an additional element is added to the sereisN parameter in the configuration. In this case we tell the graph software to plot series 2 against the right hand scale by adding the value 'right' to the end of the series parameter string:-

series2: #993399|Sales Volume|right|

Here is the IMG tag which invokes the graphing software which dynamically creates the graph image at page load time.

<img src="../../graph/vertical-bar-graph.php? data=../demo/examples/data/dataFileMultiScale.txt& config=../demo/examples/data/configFileMultiScale.txt" width=700 height=400 />

Here we tell the software to load the configuration options from the file configFileMultiScale.txt and the data from the file dataFileMultiScale.txt

Note: the URLs supplied for both the configuration and data are relative URLs. The URLs are relative to the location of the graphing software and NOT this page.

If the graph does not display then see the Troubleshooting guide for details on how to resolve the problem.

Package Index

Documentation

Troubleshooting Guide

Support

#### Examples

- Graphing Data from files
- Data from external scripts
- Custom data function
- Utilising request parameters
- Plotting data from a database
- Database interface scripts
- Multiple Scales, text and images
- Graphing CSV files

#### Basic Chart Styles

- Pie Charts
- X-Y Scatter Graphs
- Bubble Charts
- Area Graphs
- Line Graphs

#### Bar Graphs

- Vertical Bar Graphs
- Stacked Vertical Bar Graphs
- Horizontal Bar Graphs
- Stacked Horizontal Bar Graphs

#### Cylinder Charts

- Vertical Cylinder Graphs
- Stacked Vertical Cylinder Graphs
- Horizontal Cylinder Graphs
- Stacked Horizontal Cylinder Graphs

#### Combination Charts

- Area and Stacked Vertical Bar Graph
- Area and Vertical Bar Graph
- Line and Stacked Vertical Bar Graph
- Line and Vertical Bar Graph