summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2007-11-15 16:34:01 +0000
committerDerick Rethans <github@derickrethans.nl>2007-11-15 16:34:01 +0000
commite80b4c9cf0d764aaa7ddaaf6f32732e9350a6513 (patch)
tree724a87e2026e9bd75289d64bd633705fee70d008
parentcf584c289cd5a4743b21c0ecd5f7dddee399c60a (diff)
downloadzetacomponents-graph-e80b4c9cf0d764aaa7ddaaf6f32732e9350a6513.zip
zetacomponents-graph-e80b4c9cf0d764aaa7ddaaf6f32732e9350a6513.tar.gz
- Fixed RST and the like for rendering tutorials.
-rw-r--r--docs/img/tutorial_reference_gd.html4
-rw-r--r--docs/tutorial.txt6
-rw-r--r--docs/tutorial/tutorial_reference_gd.php4
-rw-r--r--src/renderer/axis_label_exact.php1
4 files changed, 7 insertions, 8 deletions
diff --git a/docs/img/tutorial_reference_gd.html b/docs/img/tutorial_reference_gd.html
index ab74cf8..b8b0898 100644
--- a/docs/img/tutorial_reference_gd.html
+++ b/docs/img/tutorial_reference_gd.html
@@ -1,7 +1,7 @@
<html>
<head><title>Image map example</title></head>
<body>
-<map name="ezcGraphPieChartMap">
+<map name="GraphPieChartMap">
<area shape="poly" coords="16,29,15,30,15,31,15,32,14,33,13,34,12,35,11,35,10,35,9,36,7,35,6,35,5,35,4,34,3,33,2,32,2,31,2,30,2,29,2,27,2,26,2,25,3,24,4,23,5,22,6,22,7,22,8,22,10,22,11,22,12,22,13,23,14,24,15,25,15,26,15,27" href="http://example.org/mozilla" alt="Mozilla" />
<area shape="poly" coords="17,22,78,22,78,36,17,36" href="http://example.org/mozilla" alt="Mozilla" />
<area shape="poly" coords="16,47,15,48,15,49,15,50,14,51,13,52,12,53,11,53,10,53,9,54,7,53,6,53,5,53,4,52,3,51,2,50,2,49,2,48,2,47,2,45,2,44,2,43,3,42,4,41,5,40,6,40,7,40,8,40,10,40,11,40,12,40,13,41,14,42,15,43,15,44,15,45" href="http://example.org/" alt="Explorer" />
@@ -26,6 +26,6 @@
<img
src="tutorial_example_29.png"
width="400" height="200"
- usemap="#ezcGraphPieChartMap"
+ usemap="#GraphPieChartMap"
</body>
</html>
diff --git a/docs/tutorial.txt b/docs/tutorial.txt
index 06fa194..c1e28fa 100644
--- a/docs/tutorial.txt
+++ b/docs/tutorial.txt
@@ -180,7 +180,7 @@ Lots of bars
ezcGraph by default reduces the amount of steps shown on an axis to about 10
steps. This may cause unexpected results for when trying to draw a bar chart
with more then 10 bars in one dataset. You may overwrite the behaviour by
-manually setting the amount of steps on the x axis.
+manually setting the amount of steps on the x axis::
<?php
// Initialize graph ...
@@ -189,7 +189,7 @@ manually setting the amount of steps on the x axis.
?>
This works because all datasets implement the interface Countable. If you want
-to use it for more then one dataset you could do the following:
+to use it for more then one dataset you could do the following::
<?php
// Initialize graph ...
@@ -618,7 +618,7 @@ an axis.
In line 9 a custom renderer is defined used for the labeled x axis. You can
assign custom axis label renderers on the property $axisLabelRenderer for
-ezcGraphChartAxisElement objects.
+ezcGraphChartElementAxis objects.
The renderer used in this example has custom properties like the rotation of
the labels, which is set in degree, while the rotation direction depends on
diff --git a/docs/tutorial/tutorial_reference_gd.php b/docs/tutorial/tutorial_reference_gd.php
index 905fef9..46389f8 100644
--- a/docs/tutorial/tutorial_reference_gd.php
+++ b/docs/tutorial/tutorial_reference_gd.php
@@ -28,13 +28,13 @@ $graph->render( 400, 200, 'tutorial_reference_gd.png' );
<body>
<?php
-echo ezcGraphTools::createImageMap( $graph, 'ezcGraphPieChartMap' );
+echo ezcGraphTools::createImageMap( $graph, 'GraphPieChartMap' );
?>
<img
src="tutorial_reference_gd.png"
width="400" height="200"
- usemap="#ezcGraphPieChartMap" />
+ usemap="#GraphPieChartMap" />
</body>
</html>
<?php
diff --git a/src/renderer/axis_label_exact.php b/src/renderer/axis_label_exact.php
index 194a538..fbca745 100644
--- a/src/renderer/axis_label_exact.php
+++ b/src/renderer/axis_label_exact.php
@@ -5,7 +5,6 @@
* @package Graph
* @version //autogentag//
* @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- 2006 eZ systems as. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
OpenPOWER on IntegriCloud