[mapserver-commits] r9382 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Oct 6 12:19:09 EDT 2009
Author: tbonfort
Date: 2009-10-06 12:19:09 -0400 (Tue, 06 Oct 2009)
New Revision: 9382
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapchart.c
Log:
Fixed anchor point of vertically stacked bar graphs
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2009-10-06 12:41:34 UTC (rev 9381)
+++ trunk/mapserver/HISTORY.TXT 2009-10-06 16:19:09 UTC (rev 9382)
@@ -13,6 +13,7 @@
Current Version (SVN trunk):
----------------------------
+- Fixed anchor point of vertically stacked bar graphs
- Fixed TEXT property cannot be removed in the CLASS object. PHP/Mapscript (#3063)
Modified: trunk/mapserver/mapchart.c
===================================================================
--- trunk/mapserver/mapchart.c 2009-10-06 12:41:34 UTC (rev 9381)
+++ trunk/mapserver/mapchart.c 2009-10-06 16:19:09 UTC (rev 9382)
@@ -188,8 +188,8 @@
for(c=0;c<numvalues;c++)
{
- drawRectangle(map, image, left, cur, left+barWidth, cur+values[c], styles[c]);
- cur += values[c];
+ drawRectangle(map, image, left, cur, left+barWidth, cur-values[c], styles[c]);
+ cur -= values[c];
}
return MS_SUCCESS;
}
More information about the mapserver-commits
mailing list