메소드 |
설명 |
|
__construct ( array $options, boolean $forceGd = false ) : Graph |
Constructor |
|
adapter ( ) : mixed |
Get the graph graphic adapter |
|
addFont ( string $font ) : Graph |
Add a font to available fonts |
|
createHBarGraph ( array $dataPoints, array $xAxis, array $yAxis ) : Graph |
Create a horizontal bar graph |
|
createLineGraph ( array $dataPoints, array $xAxis, array $yAxis ) : Graph |
Create a line graph |
|
createPieChart ( array $pie, array $percents, integer $explode ) : Graph |
Create a horizontal bar graph |
|
createVBarGraph ( array $dataPoints, array $xAxis, array $yAxis ) : Graph |
Create a vertical bar graph |
|
getAxisColor ( ) : Pop\Color\Space\ColorInterface |
Get the axis color |
|
getAxisWidth ( ) : integer |
Get the axis width |
|
getBarWidth ( ) : integer |
Get the bar width |
|
getFillColor ( ) : mixed |
Get the fill color |
|
getFont ( ) : string |
Get the font |
|
getFontColor ( ) : mixed |
Get the font color |
|
getFontSize ( ) : integer |
Get the font size |
|
getFonts ( string $font = null ) : string |
Get the fonts |
|
getHeight ( ) : integer |
Get the height |
|
getPadding ( ) : integer |
Get the graph canvas padding |
|
getReverseFontColor ( ) : mixed |
Get the reverse font color |
|
getShowText ( ) : boolean |
Get the 'show data text' flag |
|
getShowX ( ) : boolean |
Get the show X flag |
|
getShowY ( ) : boolean |
Get the show Y flag |
|
getStrokeColor ( ) : mixed |
Get the stroke color |
|
getStrokeWidth ( ) : integer |
Get the stroke width |
|
getWidth ( ) : integer |
Get the width |
|
getXColor ( ) : Pop\Color\Space\ColorInterface |
Get the show X color |
|
getYColor ( ) : Pop\Color\Space\ColorInterface |
Get the show Y color |
|
output ( boolean $download = false ) : void |
Output the graph |
|
save ( string $to = null, boolean $append = false ) : Graph |
Save the graph image to disk |
|
setAxisOptions ( Pop\Color\Space\ColorInterface $color = null, integer $width = 2 ) : Graph |
Set the axis options |
|
setBarWidth ( integer $width ) : Graph |
Set the bar width |
|
setFillColor ( Pop\Color\Space\ColorInterface $color ) : Graph |
Set the fill color |
|
setFont ( string $font = null ) : Graph |
Set the font to use from the available fonts |
|
setFontColor ( Pop\Color\Space\ColorInterface $color ) : Graph |
Set the font color |
|
setFontSize ( integer $size ) : Graph |
Set the font size |
|
setPadding ( integer $pad ) : Graph |
Set the graph canvas padding |
|
setReverseFontColor ( Pop\Color\Space\ColorInterface $color ) : Graph |
Set the reverse font color |
|
setStrokeColor ( Pop\Color\Space\ColorInterface $color ) : Graph |
Set the stroke color |
|
setStrokeWidth ( integer $width = 1 ) : Graph |
Set the stroke width |
|
showText ( boolean $showText ) : Graph |
Set the 'show data text' flag |
|
showX ( boolean $showX, Pop\Color\Space\ColorInterface $color = null ) : Graph |
Set the 'show X-axis increment lines' flag |
|
showY ( boolean $showY, Pop\Color\Space\ColorInterface $color = null ) : Graph |
Set the 'show Y-axis increment lines' flag |
|