81 lines
3.4 KiB
HTML
81 lines
3.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Set Up Page</title>
|
|
<LINK REL=STYLESHEET TYPE="text/css" HREF="./pageTemplates/sampleApplication.css">
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Robot Corporation</h1>
|
|
<h3>Sample Sales Reporting Application</h3>
|
|
|
|
|
|
<!-- NOTE: the dbinfo and config file paths are relative to the graph code not the page -->
|
|
<img src="../graph/stacked-vertical-cylinder-graph.php?
|
|
dbinfo=../sampleApplication/dataQueries/salesByRegionDB.php&
|
|
config=../sampleApplication/graphConfig/salesByRegionStackedConfig.php"
|
|
width="700"
|
|
height="400">
|
|
|
|
<div class="linkArea">
|
|
<p>The chart above shows the total sales during 2008 for each product type.</p>
|
|
<a href="index.php">« back to Index</a><br><br>
|
|
<a href="salesByMonth.html">Sales by Month »</a><br>
|
|
<a href="salesByMonthStacked.html">Sales by Month - Stacked Bars »</a><br>
|
|
<a href="salesByRegion.html">Sales by Region »</a><br>
|
|
<a href="salesByRegionStacked.html">Sales by Region - Stacked Cylinders »</a><br>
|
|
</div>
|
|
|
|
<div class="codeInfoBlock">
|
|
|
|
<h2>Page Notes</h2>
|
|
|
|
<p>The graph above is produced using the "Database Info" method with the following IMG tag:-<br>
|
|
<textarea>
|
|
<img src="../graph/stacked-vertical-cylinder-graph.php?
|
|
dbinfo=../sampleApplication/dataQueries/salesByRegionDB.php&
|
|
config=../sampleApplication/graphConfig/salesByRegionStackedConfig.php"
|
|
width="700"
|
|
height="400">
|
|
</textarea>
|
|
</p>
|
|
|
|
<p>The graph data is read directly from the database using the information contained in the file:-<br>
|
|
<textarea style="height: 20px;">
|
|
/sampleApplication/dataQueries/salesByRegionDB.php
|
|
</textarea>
|
|
</p>
|
|
|
|
<p>The settings and styles are set from the information output by the script:-<br>
|
|
<textarea style="height: 20px;">
|
|
/sampleApplication/graphConfig/salesByRegionStackedConfig.php
|
|
</textarea>
|
|
<br><b>NOTE:</b> This script dynamically calculates the X-axis labels by reading information from the database.
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div style="width: 700px; padding: 8px; background-color: #FFE57F; border-width: 1px; border-color: #544E38; border-style: solid; margin: 4px;">
|
|
<h2>Next Steps</h2>
|
|
|
|
<h4>Documentation Contents</h4>
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/documentation/index.htm">Documentation »</a><br>
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/documentation/addingGraphsToPages.htm">Adding Graphs to Web Pages »</a><br>
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/documentation/configurationOptions.htm">Configuration Options and Parameters »</a><br>
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/documentation/graphData.htm">Supplying the Graph with Data »</a><br>
|
|
|
|
<h4>Database Connections</h4>
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/documentation/databaseInformationFile.htm">Database Information method »</a><br>
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/documentation/customDataFunction.htm">Custom Data Function »</a><br>
|
|
|
|
<h4>Also see:-</h4>
|
|
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/tutorials/">Online Tutorials »</a><br>
|
|
<a href="http://www.jpowered.com/php-scripts/adv-graph-chart/documentation/">Online Documentation »</a><br>
|
|
|
|
If you encounter any problems then please feel free to contact <a href="http://www.jpowered.com/support.htm">JPowered Support »</a>.
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html> |