cvs: pear /Image_Graph/Graph/Axis Category.php /Image_Graph/docs ChangeLog README TODO
| From: | Jesper Veggerby Hansen | Date: | Thu, 02 Mar 2006 12:15:17 +0000 |
| Subject: | cvs: pear /Image_Graph/Graph/Axis Category.php /Image_Graph/docs ChangeLog README TODO | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38850@lists.php.net to get a copy of this message | ||
nosey Thu Mar 2 12:15:17 2006 UTC
Modified files:
/pear/Image_Graph/docs ChangeLog TODO README
/pear/Image_Graph/Graph/Axis Category.php
Log:
http://cvs.php.net/viewcvs.cgi/pear/Image_Graph/docs/ChangeLog?r1=1.45&r2=1.46&diff_format=u
Index: pear/Image_Graph/docs/ChangeLog
diff -u pear/Image_Graph/docs/ChangeLog:1.45 pear/Image_Graph/docs/ChangeLog:1.46
--- pear/Image_Graph/docs/ChangeLog:1.45 Tue Feb 28 22:48:07 2006
+++ pear/Image_Graph/docs/ChangeLog Thu Mar 2 12:15:16 2006
@@ -1,7 +1,7 @@
*************************
Image_Graph - Changelog
*************************
-Version 0.7.2-alpha [2006-Fec-28] - Jesper Veggerby <pear.nosey@veggerby.dk>
+Version 0.7.2-alpha [2006-Mar-02] - Jesper Veggerby <pear.nosey@veggerby.dk>
* Added Pie chart support for grouping items with values below a specified threshold in a
"the rest" group
* Added possibility to set color of axis ticks (thanks to bdondo from forum)
* Added clipping support, causing forceMinimum() and forceMaximum() to show expected results
@@ -16,6 +16,7 @@
* Fixed Request #5985 "Logarithmic Axis Minimum Value"
* Fixed a problem with labels not appearing on the same baseline
* Added possibility to specify padding on all edges of an element separately
+ * Updated some API documentation entries
Version 0.7.1-alpha [2005-Oct-05] - Jesper Veggerby <pear.nosey@veggerby.dk>
* Fixed Bug #5415 "Axis's wrong when plot is Dot/Scatter"
http://cvs.php.net/viewcvs.cgi/pear/Image_Graph/docs/TODO?r1=1.8&r2=1.9&diff_format=u
Index: pear/Image_Graph/docs/TODO
diff -u pear/Image_Graph/docs/TODO:1.8 pear/Image_Graph/docs/TODO:1.9
--- pear/Image_Graph/docs/TODO:1.8 Tue Feb 28 22:48:07 2006
+++ pear/Image_Graph/docs/TODO Thu Mar 2 12:15:16 2006
@@ -31,9 +31,6 @@
Image_Graph_Axis_Composite
*** Implement composite axis (i.e. linear from 0-10, log from 10-1000, and category from 1001,
1004, 10000, ...)
-Image_Graph_Axis_Logarithmic
-*** Implement logarithic axis minimum (other than 0)
-
Image_Graph_Axis_Marker
*** Implement a label mechanism when using axis markers
http://cvs.php.net/viewcvs.cgi/pear/Image_Graph/docs/README?r1=1.16&r2=1.17&diff_format=u
Index: pear/Image_Graph/docs/README
diff -u pear/Image_Graph/docs/README:1.16 pear/Image_Graph/docs/README:1.17
--- pear/Image_Graph/docs/README:1.16 Wed Oct 5 20:56:38 2005
+++ pear/Image_Graph/docs/README Thu Mar 2 12:15:16 2006
@@ -1,9 +1,9 @@
*******************************
Image_Graph
*******************************
- version 0.7.1-alpha
+ version 0.7.2-alpha
- ------ CopyRight (C) Jesper Veggerby Hansen, 2003-2005 ------
+ ------ CopyRight (C) Jesper Veggerby Hansen, 2003-2006 ------
http://pear.php.net/package/Image_Graph
_________________________________________________________________
@@ -83,6 +83,7 @@
History
-------
Release history of Image_Graph/GraPHPite (see also ChangeLog for changes)
+0.7.2 02-Mar-2006
0.7.1 05-Oct-2005 (Bug fix release)
0.7.0 30-Sep-2005
0.6.0 27-Aug-2005
http://cvs.php.net/viewcvs.cgi/pear/Image_Graph/Graph/Axis/Category.php?r1=1.18&r2=1.19&diff_format=u
Index: pear/Image_Graph/Graph/Axis/Category.php
diff -u pear/Image_Graph/Graph/Axis/Category.php:1.18 pear/Image_Graph/Graph/Axis/Category.php:1.19
--- pear/Image_Graph/Graph/Axis/Category.php:1.18 Sun Nov 27 22:21:17 2005
+++ pear/Image_Graph/Graph/Axis/Category.php Thu Mar 2 12:15:17 2006
@@ -24,7 +24,7 @@
* @author Jesper Veggerby <pear.nosey@veggerby.dk>
* @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
- * @version CVS: $Id: Category.php,v 1.18 2005/11/27 22:21:17 nosey Exp $
+ * @version CVS: $Id: Category.php,v 1.19 2006/03/02 12:15:17 nosey Exp $
* @link http://pear.php.net/package/Image_Graph
*/
@@ -124,9 +124,14 @@
/**
* Forces the minimum value of the axis
*
- * A minimum cannot be set on a SequentialAxis, it is always 0.
+ * <b>A minimum cannot be set on this type of axis</b>
+ *
+ * To modify the labels which are displayed on the axis, instead use
+ * setLabelInterval($labels) where $labels is an array containing the
+ * values/labels the axis should display. <b>Note!</b> Only values in
+ * this array will then be displayed on the graph!
*
- * @param double $minimum The minumum value to use on the axis
+ * @param double $minimum A minimum cannot be set on this type of axis
*/
function forceMinimum($minimum, $userEnforce = true)
{
@@ -135,10 +140,14 @@
/**
* Forces the maximum value of the axis
*
- * A maximum cannot be set on a SequentialAxis, it is always the number
- * of labels passed to the constructor.
+ * <b>A maximum cannot be set on this type of axis</b>
+ *
+ * To modify the labels which are displayed on the axis, instead use
+ * setLabelInterval($labels) where $labels is an array containing the
+ * values/labels the axis should display. <b>Note!</b> Only values in
+ * this array will then be displayed on the graph!
*
- * @param double $maximum The maximum value to use on the axis
+ * @param double $maximum A maximum cannot be set on this type of axis
*/
function forceMaximum($maximum, $userEnforce = true)
{
@@ -147,13 +156,15 @@
/**
* Sets an interval for where labels are shown on the axis.
*
- * The label interval is rounded to nearest integer value
+ * The label interval is rounded to nearest integer value.
*
* @param double $labelInterval The interval with which labels are shown
*/
function setLabelInterval($labelInterval = 'auto', $level = 1)
{
- if ($labelInterval == 'auto') {
+ if (is_array($labelInterval)) {
+ parent::setLabelInterval($labelInterval);
+ } elseif ($labelInterval == 'auto') {
parent::setLabelInterval(1);
} else {
parent::setLabelInterval(round($labelInterval));