| [ Index ] |
PHP Cross Reference of MantisBT |
[Source view] [Print] [Project Stats]
File containing the ezcGraphAxisRotatedLabelRenderer class
| Copyright: | Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. |
| License: | http://ez.no/licenses/new_bsd New BSD License |
| Version: | 1.5 |
| File Size: | 512 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ezcGraphAxisRotatedLabelRenderer:: (9 methods):
__construct()
__set()
determineAngle()
determineTextOffset()
calculateLabelSize()
calculateLabelLength()
renderLabelText()
renderLabels()
modifyChartDataPosition()
Class: ezcGraphAxisRotatedLabelRenderer - X-Ref
Can render axis labels rotated, so that more axis labels fit on one axis.| __construct( array $options = array() X-Ref |
| Constructor param: array $options Default option array return: void |
| __set( $propertyName, $propertyValue ) X-Ref |
| __set param: mixed $propertyName param: mixed $propertyValue return: void |
| determineAngle( array $steps, $xSpace, $ySpace, ezcGraphBoundings $axisBoundings ) X-Ref |
| Determine label angle Determine the optiomal angle for the axis labels, of no angle has been provided by the user. param: array $steps return: void |
| determineTextOffset( ezcGraphChartElementAxis $axis, array $steps ) X-Ref |
| Determine text offset. Calculate the label offset and angle, from the configured or evaluated text angle. Returns the text angle in degrees. param: ezcGraphChartElementAxis $axis param: array $steps return: float |
| calculateLabelSize( array $steps, $nr, $step, $xSpace, $ySpace, ezcGraphBoundings $axisBoundings ) X-Ref |
| Calculate label size Calculate the size of a single lable in a single step. param: array $steps param: int $nr param: array $step param: float $xSpace param: float $ySpace param: ezcGraphBoundings $axisBoundings return: float |
| calculateLabelLength( ezcGraphCoordinate $start, ezcGraphCoordinate $end, $xSpace, $ySpace, ezcGraphBoundings $axisBoundings ) X-Ref |
| Calculate general label length param: ezcGraphCoordinate $start param: ezcGraphCoordinate $end param: float $xSpace param: float $ySpace param: ezcGraphBoundings $axisBoundings return: float |
| renderLabelText( ezcGraphRenderer $renderer, ezcGraphChartElementAxis $axis, ezcGraphCoordinate $position, $label, $degTextAngle, $labelLength, $labelSize, $lengthReducement ) X-Ref |
| Render label text. Render the text of a single label, depending on the position, length and rotation of the label. param: ezcGraphRenderer $renderer param: ezcGraphChartElementAxis $axis param: ezcGraphCoordinate $position param: string $label param: float $degTextAngle param: float $labelLength param: float $labelSize param: float $lengthReducement return: void |
| renderLabels(ezcGraphRenderer $renderer,ezcGraphBoundings $boundings,ezcGraphCoordinate $start,ezcGraphCoordinate $end,ezcGraphChartElementAxis $axis,ezcGraphBoundings $innerBoundings = null ) X-Ref |
| Render Axis labels Render labels for an axis. param: ezcGraphRenderer $renderer Renderer used to draw the chart param: ezcGraphBoundings $boundings Boundings of the axis param: ezcGraphCoordinate $start Axis starting point param: ezcGraphCoordinate $end Axis ending point param: ezcGraphChartElementAxis $axis Axis instance return: void |
| modifyChartDataPosition( ezcGraphCoordinate $coordinate ) X-Ref |
| Modify chart data position Optionally additionally modify the coodinate of a data point param: ezcGraphCoordinate $coordinate Data point coordinate return: ezcGraphCoordinate Modified coordinate |
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |