クラス PSGraph_util

グラフ本体クラスのベースクラス [詳細]

PSGraph_utilに対する継承グラフ

Inheritance graph
[凡例]
PSGraph_utilのコラボレーション図

Collaboration graph
[凡例]

すべてのメンバ一覧

Public メソッド

 __construct ($width, $height)
 setMode ($mode)
 setMargin ($top, $right, $bottom, $left)
 drawBuffer ()
 addMainTitle ($title_string)
 addLegend ()
 clearLegend ()
 addAuxTag ($text)
 addText ($x, $y, $text)

Public 変数

 $AtGraphArea = array( 'StrokeWidth'=>1, 'Stroke'=>'black', 'Fill'=>'white' )
 グラフエリアアトリビュート
 $AtPlotArea = array()
 プロットエリアアトリビュート
 $AtMainTitle = null
 メインタイトルアトリビュート
 $AtLegend = null
 凡例アトリビュート

Protected メソッド

 draw_common1 ()
 draw_common2 ()

Protected 変数

 $AuxTags = array()
 追加任意タグ
 $WorkMode = array()
 動作モード (see setMode() function.)

Static Protected 変数

static $COLORLIST
 色リスト


説明

グラフ本体クラスのベースクラス


コンストラクタとデストラクタ

PSGraph_util::__construct ( width,
height 
)

constructor

引数:
width 
height 高さ

PSGraph, と PSGraphPieで再定義されています。


関数

PSGraph_util::addAuxTag ( text  ) 

任意タグを追加

引数:
text タグテキスト

PSGraph_util::addLegend (  ) 

凡例表示追加

覚え書き:
自動追加されるので、たいていの場合、ユーザがこのメソッドを使うことはないかもしれない。

関数の呼び出しグラフ:

呼出しグラフ:

PSGraph_util::addMainTitle ( title_string  ) 

メインタイトルの追加

引数:
title_string タイトル文字列

関数の呼び出しグラフ:

PSGraph_util::addText ( x,
y,
text 
)

テキスト追加

引数:
x X座標
y Y座標
text テキスト
覚え書き:
addAuxTag()の簡易テキスト版。 フォントサイズの指定などは、<tspan>要素を使える。

PSGraph_util::clearLegend (  ) 

凡例を表示しない

関数の呼び出しグラフ:

PSGraph_util::draw_common1 (  )  [protected]

描画共通部1

関数の呼び出しグラフ:

呼出しグラフ:

PSGraph_util::draw_common2 (  )  [protected]

描画共通部2

関数の呼び出しグラフ:

呼出しグラフ:

PSGraph_util::drawBuffer (  ) 

バッファーへ描画

関数の呼び出しグラフ:

PSGraph_util::setMargin ( top,
right,
bottom,
left 
)

プロットエリアのマージン設定

引数:
top 上マージン
right 右マージン
bottom 下マージン
left 左マージン
覚え書き:
上下左右個別に設定できる。 設定値を変えない場合は、そのパラメータをnullにしてcallする。

PSGraphで再定義されています。

呼出しグラフ:

PSGraph_util::setMode ( mode  ) 

動作モード指定

引数:
mode 動作モード
覚え書き:
 設定可能モード
  NO_CONTENT_TYPE		ContentType ヘッダを出力しない
  NO_XML_DECLARATION	XML宣言およびDOCTYPE宣言を出力しない
  NO_SVG_TAG		SVGタグを出力しない
  NO_SVG_TAG_CLOSE	SVG終了タグのみを出力しない
     *


変数

PSGraph_util::$AtGraphArea = array( 'StrokeWidth'=>1, 'Stroke'=>'black', 'Fill'=>'white' )

グラフエリアアトリビュート

PSGraph_util::$AtLegend = null

凡例アトリビュート

PSGraph_util::$AtMainTitle = null

メインタイトルアトリビュート

PSGraph_util::$AtPlotArea = array()

プロットエリアアトリビュート

PSGraph, と PSGraphPieで再定義されています。

PSGraph_util::$AuxTags = array() [protected]

追加任意タグ

PSGraph_util::$COLORLIST [static, protected]

初期値:

 array( '#0084d1', '#004586', '#ff420e', '#ffd320', '#579d1c', '#7e0021',
                                         '#83caff', '#314004', '#aecf00', '#4b1f6f', '#ff950e', '#c5000b' )
色リスト

PSGraph_util::$WorkMode = array() [protected]

動作モード (see setMode() function.)


このクラスの説明は次のファイルから生成されました:

PSGraphに対してMon Aug 3 22:17:09 2009に生成されました。  doxygen 1.5.8