PieGraph
class PieGraph extends AbstractGraph
Properties
| $arrRGB | from AbstractGraph | ||
| $arrColor | from AbstractGraph | ||
| $arrDarkColor | from AbstractGraph | ||
| $image | from AbstractGraph | ||
| $left | from AbstractGraph | ||
| $top | from AbstractGraph | ||
| $shade_color | from AbstractGraph | ||
| $flame_color | from AbstractGraph | ||
| $shade_on | from AbstractGraph | ||
| $text_color | from AbstractGraph | ||
| $labelbg_color | from AbstractGraph | ||
| $bgw | from AbstractGraph | ||
| $bgh | from AbstractGraph | ||
| $clabelbg_color | from AbstractGraph | ||
| $title_color | from AbstractGraph | ||
| $text_top | from AbstractGraph | ||
| $mark_color | from AbstractGraph | ||
| $arrLegend | from AbstractGraph | ||
| $ARR_GRAPH_RGB | グラフ背景 | from AbstractGraph | |
| $ARR_BG_COLOR | 背景色 | from AbstractGraph | |
| $ARR_SHADE_COLOR | 影の色 | from AbstractGraph | |
| $ARR_FLAME_COLOR | 縁の色 | from AbstractGraph | |
| $ARR_TEXT_COLOR | 文字色 | from AbstractGraph | |
| $ARR_LABELBG_COLOR | ラベル背景 | from AbstractGraph | |
| $ARR_LEGENDBG_COLOR | 凡例背景 | from AbstractGraph | |
| $ARR_TITLE_COLOR | タイトル文字色 | from AbstractGraph | |
| $ARR_GRID_COLOR | グリッド線色 | from AbstractGraph | |
| $cw | |||
| $ch | |||
| $cz | |||
| $cx | |||
| $cy | |||
| $arrLabel | |||
| $arrData |
Methods
__construct($bgw = BG_WIDTH, $bgh = BG_HEIGHT, $left = PIE_LEFT, $top = PIE_TOP)
No description
setText($font_size, $left, $top, $text, $color = NULL, $angle, $labelbg = false)
No description
from AbstractGraph
lfImageText($dst_image, $text, $font_size, $left, $top, $font, $arrRGB)
画像にテキストを描画する
from AbstractGraph
getCircleData($array)
No description
setPosition(double $cx, double $cy)
No description
setSize($cw, $ch, $cz)
No description
drawShade()
No description
setData($arrData)
No description
drawGraph()
No description
drawLabel($arrRad)
No description
Details
at line 39
__construct($bgw = BG_WIDTH, $bgh = BG_HEIGHT, $left = PIE_LEFT, $top = PIE_TOP)
in AbstractGraph at line 214
resampled()
in AbstractGraph at line 225
setColorList($arrRGB)
in AbstractGraph at line 240
setShadeOn($shade_on)
in AbstractGraph at line 246
outputGraph($header = true, $filename = '')
in AbstractGraph at line 262
getTextWidth($text, $font_size)
in AbstractGraph at line 281
setText($font_size, $left, $top, $text, $color = NULL, $angle, $labelbg = false)
in AbstractGraph at line 318
drawTitle($text, $font_size = TITLE_FONT_SIZE)
in AbstractGraph at line 328
debugPrint($text)
in AbstractGraph at line 340
drawLegend($legend_max = '', $clabelbg = true)
in AbstractGraph at line 396
drawClabelBG($left, $top, $right, $bottom)
in AbstractGraph at line 408
setLegend($arrLegend)
in AbstractGraph at line 421
void
init()
クラスの初期化を行う.
表示色をメンバ変数にセットする.
in AbstractGraph at line 463
double[]
lfGetArcPos($cx, $cy, $cw, $ch, $e)
円の中心点と直径から弧の終端座標を算出する.
in AbstractGraph at line 476
lfImageText($dst_image, $text, $font_size, $left, $top, $font, $arrRGB)
画像にテキストを描画する
in AbstractGraph at line 487
lfGetImageColor($image, $array)
表示色の取得
in AbstractGraph at line 498
lfGetImageDarkColor($image, $array)
影用表示色の取得