| [ Index ] |
PHP Cross Reference of MantisBT |
[Source view] [Print] [Project Stats]
File containing the ezcGraphPieChart 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: | 308 lines (9 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ezcGraphPieChart:: (7 methods):
__construct()
renderData()
getDefaultDisplayType()
applyThreshold()
renderElements()
render()
renderToOutput()
Class: ezcGraphPieChart - X-Ref
Class for pie charts. Can only use one dataset which will be dispalyed as a| __construct( array $options = array() X-Ref |
| Constructor param: array $options Default option array return: void |
| renderData( ezcGraphRenderer $renderer, ezcGraphBoundings $boundings ) X-Ref |
| Render the assigned data Will renderer all charts data in the remaining boundings after drawing all other chart elements. The data will be rendered depending on the settings in the dataset. param: ezcGraphRenderer $renderer Renderer param: ezcGraphBoundings $boundings Remaining boundings return: void |
| getDefaultDisplayType() X-Ref |
| Returns the default display type of the current chart type. return: int Display type |
| applyThreshold() X-Ref |
| Apply tresh hold Iterates over the dataset and applies the configured tresh hold to the datasets data. return: void |
| renderElements( $width, $height ) X-Ref |
| Renders the basic elements of this chart type param: int $width param: int $height return: void |
| render( $width, $height, $file = null ) X-Ref |
| Render the pie chart Renders the chart into a file or stream. The width and height are needed to specify the dimensions of the resulting image. For direct output use 'php://stdout' as output file. param: int $width Image width param: int $height Image height param: string $file Output file return: void |
| renderToOutput( $width, $height ) X-Ref |
| Renders this chart to direct output Does the same as ezcGraphChart::render(), but renders directly to output and not into a file. param: int $width param: int $height return: void |
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |