summaryrefslogtreecommitdiffstats
path: root/src/renderer/3d.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-09-24 09:56:07 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-09-24 09:56:07 +0000
commit77a1f4b250264da313df68a24f40f2fcf02d1690 (patch)
treef6c0624f7d4fa925a10fad54f50ccbfc5b88ba97 /src/renderer/3d.php
parent083eb865544515aef35257abc6ca7067f7ee716c (diff)
downloadzetacomponents-graph-77a1f4b250264da313df68a24f40f2fcf02d1690.zip
zetacomponents-graph-77a1f4b250264da313df68a24f40f2fcf02d1690.tar.gz
- Fixed padding in horizontal legends
Diffstat (limited to 'src/renderer/3d.php')
-rw-r--r--src/renderer/3d.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/3d.php b/src/renderer/3d.php
index 8e84c46..3b1f1c1 100644
--- a/src/renderer/3d.php
+++ b/src/renderer/3d.php
@@ -1400,7 +1400,7 @@ class ezcGraphRenderer3d extends ezcGraphRenderer
{
$labelWidth = ( $boundings->x1 - $boundings->x0 ) / count( $labels ) - $legend->spacing;
$labelHeight = min(
- $boundings->x1 - $boundings->x0,
+ $boundings->height,
$legend->symbolSize + 2 * $legend->padding
);
}
OpenPOWER on IntegriCloud