Class PieChartImagick
A lightweight class for drawing pie charts, using the ImageMagick library.
- SamChristy\PieChart\PieChart
-
SamChristy\PieChart\PieChartImagick
Namespace: SamChristy\PieChart
Package: PieChart
Copyright: © Sam Christy 2013
Author: Sam Christy <sam_christy@hotmail.co.uk>
Version: v2.0.0
Licence: GNU GPL v3.0 <http://www.gnu.org/licenses/gpl-3.0.html>
Located at SamChristy/PieChart/PieChartImagick.php
Package: PieChart
Copyright: © Sam Christy 2013
Author: Sam Christy <sam_christy@hotmail.co.uk>
Version: v2.0.0
Licence: GNU GPL v3.0 <http://www.gnu.org/licenses/gpl-3.0.html>
Located at SamChristy/PieChart/PieChartImagick.php
public
|
|
public
|
|
protected
|
|
protected
integer
|
#
_drawLegend( integer $legendOffset )
Draws the legend for the pieChart, if $this->hasLegend is true. |
protected
|
|
protected
integer
|
|
protected
integer
|
#
_drawTitle( )
Draws and returns the height of the title and its padding (in pixels). If no title is specified, then nothing is drawn and 0 is returned. |
FORMAT_GIF,
FORMAT_JPEG,
FORMAT_PNG,
OUTPUT_DOWNLOAD,
OUTPUT_INLINE,
OUTPUT_SAVE
|
$backgroundColor,
$canvas,
$hasLegend,
$height,
$legendFont,
$quality,
$slices,
$textColor,
$title,
$titleFont,
$width
|