diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-06-19 19:34:53 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-06-19 19:34:53 +0000 |
commit | 92a19bdd0c69dfa780f23fc4c38b64ad6f1d4ce9 (patch) | |
tree | e1ecd474afcc6676015bd1888e455264ea75d56d /src/axis | |
parent | 229b7cdfcc1e95ea45041bbad0fe2d4f6ad36e37 (diff) | |
download | zetacomponents-graph-92a19bdd0c69dfa780f23fc4c38b64ad6f1d4ce9.zip zetacomponents-graph-92a19bdd0c69dfa780f23fc4c38b64ad6f1d4ce9.tar.gz |
- Added option for maximum size for arrow heads
- Made possible to define custom labels for axis
- Made unused method ezcGraphChartElementAxis::drawLabels
Diffstat (limited to 'src/axis')
-rw-r--r-- | src/axis/labeled.php | 2 | ||||
-rw-r--r-- | src/axis/numeric.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/axis/labeled.php b/src/axis/labeled.php index 5a4f742..fa18ecd 100644 --- a/src/axis/labeled.php +++ b/src/axis/labeled.php @@ -220,7 +220,7 @@ class ezcGraphChartElementLabeledAxis extends ezcGraphChartElementAxis for ( $i = 0; $i <= $steps; ++$i ) { - $label = $this->getLabel( $i ); + $label = sprintf( $this->formatString, $this->getLabel( $i ) ); switch ( $this->position ) { diff --git a/src/axis/numeric.php b/src/axis/numeric.php index 6ae278f..1128134 100644 --- a/src/axis/numeric.php +++ b/src/axis/numeric.php @@ -358,7 +358,7 @@ class ezcGraphChartElementNumericAxis extends ezcGraphChartElementAxis // Draw label if ( $i < $steps ) { - $label = $this->getLabel( $i ); + $label = sprintf( $this->formatString, $this->getLabel( $i ) ); switch ( $this->position ) { |