資料の 英語版 に戻る

collectionnode プロパティー

最終更新: 2025年2月11日
collectionnode プロパティー

コレクション・ノード・アイコン集計棒グラフ・ノードには、ある数値フィールドの値の、別の数値フィールドの値に対する分布が表示されます。 (ヒストグラムに似たグラフを作成します。) これは、値が時間の経過とともに変化する変数またはフィールドを示すのに役立ちます。 3 次元グラフを使用して、分布をカテゴリー別に表示するシンボル値軸を追加することもできます。

stream = modeler.script.stream()
typenode = stream.findByID("id42KW3MSA94B")

node = stream.create("collection", "My node")
stream.link(typenode, node)
# "Plot" tab
node.setPropertyValue("three_D", True)
node.setPropertyValue("collect_field", "Drug")
node.setPropertyValue("over_field", "Age")
node.setPropertyValue("by_field", "BP")
node.setPropertyValue("operation", "Sum")
node.setPropertyValue("color_field", "Drug")
node.setPropertyValue("panel_field", "Sex")
# "Options" tab
node.setPropertyValue("range_mode", "Automatic")
node.setPropertyValue("range_min", 1)
node.setPropertyValue("range_max", 100)
node.setPropertyValue("bins", "ByNumber")
node.setPropertyValue("num_bins", 10)
node.setPropertyValue("bin_width", 5)
表 1. collectionnode プロパティー
collectionnodeプロパティー データ・タイプ プロパティーの説明
over_field フィールド  
over_label_auto フラグ  
over_label string  
collect_field フィールド  
collect_label_auto フラグ  
collect_label string  
three_D フラグ  
by_field フィールド  
by_label_auto フラグ  
by_label string  
operation Sum Mean Min Max SDev  
color_field string  
panel_field string  
animation_field string  
range_mode Automatic UserDefined  
range_min 数値  
range_max 数値  
bins ByNumber ByWidth  
num_bins 数値  
bin_width 数値  
use_grid フラグ  
graph_background 標準のグラフ色は、このセクションの最初に説明されています。
page_background 標準のグラフ色は、このセクションの最初に説明されています。