このページで

Graphオブジェクト

次のオブジェクトは、graphAPIに直接関連しています。

グラフ

グラフオブジェクトには、以下のプロパティがあります。

Property Type Description
graphid ID グラフのID。

Property behavior:
- read-only
- 更新操作で required
height integer グラフの高さ(ピクセル単位)。

Property behavior:
- 作成操作で required
name string グラフの名前。

Property behavior:
- 作成操作で required
width integer グラフの幅(ピクセル単位)。

Property behavior:
- 作成操作で required
flags integer グラフの生成元

指定可能な値:
0 - (default) 通常のグラフ;
4 - プロトタイプから変換されたグラフ。

Property behavior:
- read-only
graphtype integer グラフのレイアウトタイプ。

指定可能な値:
0 - (default) 通常;
1 - 積み上げ;
2 - 円グラフ;
3 - 分離。
percent_left float 左パーセンタイル。

デフォルト: 0。
percent_right float 右パーセンタイル。

デフォルト: 0。
show_3d integer 円グラフおよび分離グラフを3Dで表示するかどうか。

指定可能な値:
0 - (default) 2Dで表示;
1 - 3Dで表示。
show_legend integer グラフに凡例を表示するかどうか。

指定可能な値:
0 - 非表示;
1 - (default) 表示。
show_work_period integer グラフに稼働時間を表示するかどうか。

指定可能な値:
0 - 非表示;
1 - (default) 表示。
show_triggers integer グラフにトリガー線を表示するかどうか。

指定可能な値:
0 - 非表示;
1 - (default) 表示。
templateid ID 親テンプレートグラフのID。

Property behavior:
- read-only
yaxismax float Y軸の固定最大値。

デフォルト: 100。
yaxismin float Y軸の固定最小値。

デフォルト: 0。
ymax_itemid ID Y軸の最大値として使用されるアイテムのID。

ユーザーが指定されたアイテムにアクセスできない場合、グラフは ymax_type が "calculated" に設定されているものとして描画されます。
ymax_type integer Y軸の最大値の計算方法。

指定可能な値:
0 - (default) calculated;
1 - fixed;
2 - item。
ymin_itemid ID Y軸の最小値として使用されるアイテムのID。

ユーザーが指定されたアイテムにアクセスできない場合、グラフは ymin_type が "calculated" に設定されているものとして描画されます。
ymin_type integer Y軸の最小値の計算方法。

指定可能な値:
0 - (default) calculated;
1 - fixed;
2 - item。
uuid string インポートされたグラフを既存のグラフに関連付けるために使用される汎用一意識別子。指定されていない場合は自動生成されます。

Property behavior:
- グラフがテンプレートに属する場合に supported