# Robot Corporation

### Sample Sales Reporting Application

The chart above shows the total sales during 2008 for each product type.

Sales by Month »
Sales by Month - Stacked Bars »
Sales by Region »
Sales by Region - Stacked Cylinders »

## Page Notes

The graph above is produced using the "Database Info" method with the following IMG tag:-
<img src="../graph/pie-chart.php? dbinfo=../sampleApplication/dataQueries/homePagedbConfig.php& config=../sampleApplication/graphConfig/homePagePieChart.txt" width="550" height="400">

The graph data is read directly from the database using the information contained in the file:-
/sampleApplication/dataQueries/homePagedbConfig.php

The settings and styles are set from the information contained in the file:-
/sampleApplication/graphConfig/homePagePieChart.txt

## Next Steps

#### Documentation Contents

Documentation »
Adding Graphs to Web Pages »
Configuration Options and Parameters »
Supplying the Graph with Data »

#### Database Connections

Database Information method »
Custom Data Function »

#### Also see:-

Online Tutorials »
Online Documentation »
If you encounter any problems then please feel free to contact JPowered Support ».