diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-08-15 15:37:03 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-08-15 15:37:03 +0000 |
commit | 457ea164dd31cb3db4ad5323e14ff6ba9c32827f (patch) | |
tree | 8e3b8bd69958e97059335dd22dba9b0fdffcff00 /src | |
parent | 875bf32ec32cb28134914294a48d101b7a4810b5 (diff) | |
download | zetacomponents-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.php | 4 |
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 |