컬렉션노드 속성

콜렉션 노드 아이콘수집 노드는 다른 값에 대한 하나의 숫자 필드의 값 분포를 보여줍니다. (히스토그램과 유사한 그래프를 만듭니다.) 시간이 지남에 따라 값이 변하는 변수나 필드를 설명하는 데 유용합니다. 3D 그래프를 사용하면 범주별로 분포를 표시하는 기호 축을 포함할 수도 있습니다.

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 properties 데이터 유형 특성 설명
over_field 필드  
over_label_auto 플래그  
over_label 문자열  
collect_field 필드  
collect_label_auto 플래그  
collect_label 문자열  
three_D 플래그  
by_field 필드  
by_label_auto 플래그  
by_label 문자열  
operation Sum Mean Min Max SDev  
color_field 문자열  
panel_field 문자열  
animation_field 문자열  
range_mode Automatic UserDefined  
range_min 숫자  
range_max 숫자  
bins ByNumber ByWidth  
num_bins 숫자  
bin_width 숫자  
use_grid 플래그  
graph_background 색상 표준 그래프 색상은 이 섹션의 시작 부분에서 설명되어 있습니다.
page_background 색상 표준 그래프 색상은 이 섹션의 시작 부분에서 설명되어 있습니다.