summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-08-15 15:37:03 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-08-15 15:37:03 +0000
commit457ea164dd31cb3db4ad5323e14ff6ba9c32827f (patch)
tree8e3b8bd69958e97059335dd22dba9b0fdffcff00 /src
parent875bf32ec32cb28134914294a48d101b7a4810b5 (diff)
downloadzetacomponents-graph-457ea164dd31cb3db4ad5323e14ff6ba9c32827f.zip
zetacomponents-graph-457ea164dd31cb3db4ad5323e14ff6ba9c32827f.tar.gz
- Fixed problem with negative heights of circularArcs in SVG renderer
Diffstat (limited to 'src')
-rw-r--r--src/renderer/3d.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/3d.php b/src/renderer/3d.php
index 74519dc..bbd9fe1 100644
--- a/src/renderer/3d.php
+++ b/src/renderer/3d.php
@@ -634,10 +634,10 @@ class ezcGraphRenderer3d extends ezcGraphRenderer
'index' => $barCenterBottom->x,
'method' => 'drawCircularArc',
'parameters' => array(
- $this->get3dCoordinate( $barCenterBottom, $midDepth ),
+ $this->get3dCoordinate( $barCenterTop, $midDepth ),
$barWidth,
$barWidth / 2,
- ( $barCenterTop->y - $barCenterBottom->y ) * $this->yDepthFactor,
+ ( $barCenterBottom->y - $barCenterTop->y ) * $this->yDepthFactor,
0,
360,
$color
OpenPOWER on IntegriCloud