diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-06-02 10:08:51 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-06-02 10:08:51 +0000 |
commit | 3e7be683345e3c54bbf07e082c9c2d8784d5b041 (patch) | |
tree | 3ec7282c9913748d42cc033d69dc957af485f274 /src/element/legend.php | |
parent | 9f913f9636f28383deea7c5885be484087b1e625 (diff) | |
download | zetacomponents-graph-3e7be683345e3c54bbf07e082c9c2d8784d5b041.zip zetacomponents-graph-3e7be683345e3c54bbf07e082c9c2d8784d5b041.tar.gz |
- Use vertical alignement middle for legends texts
Diffstat (limited to 'src/element/legend.php')
-rw-r--r-- | src/element/legend.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/element/legend.php b/src/element/legend.php index f932eaa..8c2a21d 100644 --- a/src/element/legend.php +++ b/src/element/legend.php @@ -209,7 +209,8 @@ class ezcGraphChartElementLegend extends ezcGraphChartElement ), $label['label'], $this->boundings->x1 - $this->boundings->x0 - $symbolSize - $this->padding, - $symbolSize - 2 * $this->padding + $symbolSize - 2 * $this->padding, + ezcGraph::LEFT | ezcGraph::MIDDLE ); } break; @@ -240,7 +241,8 @@ class ezcGraphChartElementLegend extends ezcGraphChartElement ), $label['label'], $width - $this->padding - $symbolSize, - $symbolSize - 2 * $this->padding + $symbolSize - 2 * $this->padding, + ezcGraph::LEFT | ezcGraph::MIDDLE ); } break; |