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 | |||
) |
PSGraph_util::addAuxTag | ( | $ | text | ) |
任意タグを追加
text | タグテキスト |
PSGraph_util::addLegend | ( | ) |
凡例表示追加
PSGraph_util::addMainTitle | ( | $ | title_string | ) |
メインタイトルの追加
title_string | タイトル文字列 |
PSGraph_util::addText | ( | $ | x, | |
$ | y, | |||
$ | text | |||
) |
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 | 左マージン |
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_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.)