Public メソッド | |
__construct ($width=320, $height=240) | |
addDataLine (array $ydata, $legend=null) | |
addDataLineY2 (array $ydata, $legend=null) | |
addDataBar (array $ydata, $legend=null, $base_bar=null) | |
addDataBarY2 (array $ydata, $legend=null, $base_bar=null) | |
draw () | |
setMargin ($top, $right, $bottom, $left) | |
addXAxisTitle ($title_string) | |
addYAxisTitle ($title_string) | |
Public 変数 | |
$AtPlotArea = array( 'X'=>40, 'Y'=>10, 'Fill'=>'#eee' ) | |
プロットエリアアトリビュート | |
$AtXAxisTitle = null | |
X軸タイトルアトリビュート | |
$AtYAxisTitle = null | |
Y軸タイトルアトリビュート | |
$XAxis | |
X軸オブジェクト | |
$YAxis | |
Y軸オブジェクト | |
$Y2Axis = null | |
Y2軸オブジェクト(もしあれば) | |
$LinePlot = null | |
折れ線グラフオブジェクト | |
$BarPlot = null | |
棒グラフオブジェクト | |
Protected メソッド | |
add_data_line_common ($ydata, $legend) | |
add_data_bar_common ($ydata, $legend, $base_bar) | |
Static Protected 変数 | |
static | $SHAPELIST = array( 'cock', 'circle', 'rectangle', 'diamond', 'triangle' ) |
マーカ形状リスト(折れ線グラフのみ) |
PSGraph::__construct | ( | $ | width = 320 , |
|
$ | height = 240 | |||
) |
PSGraph::add_data_bar_common | ( | $ | ydata, | |
$ | legend, | |||
$ | base_bar | |||
) | [protected] |
棒グラフの追加 内部処理
ydata | データの配列 | |
legend | データの名前(凡例) | |
base_bar | 積み重ねする場合、ベースになるデータコンテナ |
PSGraph::add_data_line_common | ( | $ | ydata, | |
$ | legend | |||
) | [protected] |
折れ線の追加 内部処理
ydata | データの配列 | |
legend | データの名前(凡例) |
PSGraph::addDataBar | ( | array $ | ydata, | |
$ | legend = null , |
|||
$ | base_bar = null | |||
) |
棒グラフの追加
ydata | データの配列 | |
legend | データの名前(凡例) | |
base_bar | 積み重ねする場合、ベースになるデータコンテナ |
PSGraph::addDataBarY2 | ( | array $ | ydata, | |
$ | legend = null , |
|||
$ | base_bar = null | |||
) |
棒グラフの第2Y軸上への追加
ydata | データの配列 | |
legend | データの名前(凡例) | |
base_bar | 積み重ねする場合、ベースになるデータコンテナ |
PSGraph::addDataLine | ( | array $ | ydata, | |
$ | legend = null | |||
) |
折れ線の追加
ydata | データの配列 | |
legend | データの名前(凡例) |
PSGraph::addDataLineY2 | ( | array $ | ydata, | |
$ | legend = null | |||
) |
折れ線の第2Y軸上への追加
ydata | データの配列 | |
legend | データの名前(凡例) |
PSGraph::addXAxisTitle | ( | $ | title_string | ) |
X軸タイトルの追加
title_string | タイトル文字列 |
PSGraph::addYAxisTitle | ( | $ | title_string | ) |
Y軸タイトルの追加
title_string | タイトル文字列 |
PSGraph::draw | ( | ) |
描画
PSGraph_baseを再定義しています。
PSGraph::setMargin | ( | $ | top, | |
$ | right, | |||
$ | bottom, | |||
$ | left | |||
) |
プロットエリアのマージン設定
top | 上マージン | |
right | 右マージン | |
bottom | 下マージン | |
left | 左マージン |
PSGraph_utilを再定義しています。
PSGraph::$AtPlotArea = array( 'X'=>40, 'Y'=>10, 'Fill'=>'#eee' ) |
PSGraph::$AtXAxisTitle = null |
X軸タイトルアトリビュート
PSGraph::$AtYAxisTitle = null |
Y軸タイトルアトリビュート
PSGraph::$BarPlot = null |
棒グラフオブジェクト
PSGraph::$LinePlot = null |
折れ線グラフオブジェクト
PSGraph::$SHAPELIST = array( 'cock', 'circle', 'rectangle', 'diamond', 'triangle' ) [static, protected] |
マーカ形状リスト(折れ線グラフのみ)
PSGraph::$XAxis |
X軸オブジェクト
PSGraph::$Y2Axis = null |
Y2軸オブジェクト(もしあれば)
PSGraph::$YAxis |
Y軸オブジェクト