Graph
[ class tree: Graph ] [ index: Graph ] [ all elements ]

Class: SC_GraphBase

Source Location: /graph/SC_GraphBase.php

Class Overview


SC_Graph共通クラス.


Author(s):

  • LOCKON CO.,LTD.

Version:

  • $Id: SC_GraphBase.php 20764 2011-03-22 06:26:40Z nanasess $

Variables

Methods


Child classes:

SC_GraphLine
SC_Graph共通クラス.
SC_GraphPie
SC_Graph共通クラス.

Class Details

[line 133]
SC_Graph共通クラス.



Tags:

author:  LOCKON CO.,LTD.
version:  $Id: SC_GraphBase.php 20764 2011-03-22 06:26:40Z nanasess $


[ Top ]


Class Variables

$arrColor =

[line 138]


Type:   mixed


[ Top ]

$arrDarkColor =

[line 139]


Type:   mixed


[ Top ]

$arrLegend =

[line 154]


Type:   mixed


[ Top ]

$arrRGB =

[line 137]


Type:   mixed


[ Top ]

$ARR_BG_COLOR =

[line 160]

背景色


Type:   mixed


[ Top ]

$ARR_FLAME_COLOR =

[line 166]

縁の色


Type:   mixed


[ Top ]

$ARR_GRAPH_RGB =

[line 157]

グラフ背景


Type:   mixed


[ Top ]

$ARR_GRID_COLOR =

[line 181]

グリッド線色


Type:   mixed


[ Top ]

$ARR_LABELBG_COLOR =

[line 172]

ラベル背景


Type:   mixed


[ Top ]

$ARR_LEGENDBG_COLOR =

[line 175]

凡例背景


Type:   mixed


[ Top ]

$ARR_SHADE_COLOR =

[line 163]

影の色


Type:   mixed


[ Top ]

$ARR_TEXT_COLOR =

[line 169]

文字色


Type:   mixed


[ Top ]

$ARR_TITLE_COLOR =

[line 178]

タイトル文字色


Type:   mixed


[ Top ]

$bgh =

[line 149]


Type:   mixed


[ Top ]

$bgw =

[line 148]


Type:   mixed


[ Top ]

$clabelbg_color =

[line 150]


Type:   mixed


[ Top ]

$flame_color =

[line 144]


Type:   mixed


[ Top ]

$image =

[line 140]


Type:   mixed


[ Top ]

$labelbg_color =

[line 147]


Type:   mixed


[ Top ]

$left =

[line 141]


Type:   mixed


[ Top ]

$mark_color =

[line 153]


Type:   mixed


[ Top ]

$shade_color =

[line 143]


Type:   mixed


[ Top ]

$shade_on =

[line 145]


Type:   mixed


[ Top ]

$text_color =

[line 146]


Type:   mixed


[ Top ]

$text_top =

[line 152]


Type:   mixed


[ Top ]

$title_color =

[line 151]


Type:   mixed


[ Top ]

$top =

[line 142]


Type:   mixed


[ Top ]



Class Methods


constructor SC_GraphBase [line 184]

SC_GraphBase SC_GraphBase( $bgw, $bgh, $left, $top)



Parameters:

   $bgw  
   $bgh  
   $left  
   $top  

[ Top ]

method debugPrint [line 311]

void debugPrint( $text)



Parameters:

   $text  

[ Top ]

method drawClabelBG [line 371]

void drawClabelBG( $left, $top, $right, $bottom)



Parameters:

   $left  
   $top  
   $right  
   $bottom  

[ Top ]

method drawLegend [line 322]

void drawLegend( [ $legend_max = ""], [ $clabelbg = true])



Parameters:

   $legend_max  
   $clabelbg  

[ Top ]

method drawTitle [line 302]

void drawTitle( $text, [ $font_size = TITLE_FONT_SIZE])



Parameters:

   $text  
   $font_size  

[ Top ]

method getTextWidth [line 257]

void getTextWidth( $text, $font_size)



Parameters:

   $text  
   $font_size  

[ Top ]

method init [line 397]

void init( )

クラスの初期化を行う.

表示色をメンバ変数にセットする.




Tags:

access:  protected


[ Top ]

method lfGetArcPos [line 439]

array lfGetArcPos( integer $cx, integer $cy, $cw, $ch, integer $e, integer $r)

円の中心点と直径から弧の終端座標を算出する.



Tags:

return:  円の中心点と直径から弧の終端座標の配列


Parameters:

integer   $cx   中心点X座標
integer   $cy   中心点Y座標
integer   $r   半径
integer   $e   角度
   $cw  
   $ch  

[ Top ]

method lfGetImageColor [line 460]

void lfGetImageColor( $image, $array)

表示色の取得



Parameters:

   $image  
   $array  

[ Top ]

method lfGetImageDarkColor [line 469]

void lfGetImageDarkColor( $image, $array)

影用表示色の取得



Parameters:

   $image  
   $array  

[ Top ]

method lfImageText [line 450]

void lfImageText( $dst_image, $text, $font_size, $left, $top, $font, $arrRGB)

画像にテキストを描画する



Parameters:

   $dst_image  
   $text  
   $font_size  
   $left  
   $top  
   $font  
   $arrRGB  

[ Top ]

method outputGraph [line 242]

void outputGraph( [ $header = true], [ $filename = ""])



Parameters:

   $header  
   $filename  

[ Top ]

method resampled [line 213]

void resampled( )



[ Top ]

method setColorList [line 223]

void setColorList( $arrRGB)



Parameters:

   $arrRGB  

[ Top ]

method setLegend [line 382]

void setLegend( $arrLegend)



Parameters:

   $arrLegend  

[ Top ]

method setShadeOn [line 237]

void setShadeOn( $shade_on)



Parameters:

   $shade_on  

[ Top ]

method setText [line 270]

void setText( $font_size, $left, $top, $text, [ $color = NULL], [ $angle = 0], [ $labelbg = false])



Parameters:

   $font_size  
   $left  
   $top  
   $text  
   $color  
   $angle  
   $labelbg  

[ Top ]


Documentation generated on Fri, 24 Feb 2012 14:02:36 +0900 by Seasoft