タイムプロットノードのプロパティ

時系列グラフ・ノードのアイコンタイムプロットノードは、1つまたは複数の時系列データを表示します。 通常、まず最初に、タイムインターバルノードを使用してフィールドを作成し、 TimeLabel フィールドを作成し、それを x 軸のラベル付けに使用します。

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

node = stream.create("timeplot", "My node")
stream.link(typenode, node)

node.setPropertyValue("y_fields", ["Age", "Na", "K"])
node.setPropertyValue("panel", True)
node.setPropertyValue("normalize", True)
node.setPropertyValue("line", True)
node.setPropertyValue("smoother", True)
node.setPropertyValue("use_records_limit", True)
node.setPropertyValue("records_limit", 2000)
node.setPropertyValue("symbol_size", 2.0)

node.run([])
表 1. timeplotnode プロパティー
timeplotnode properties データ・タイプ プロパティーの説明
plot_series Series Models  
use_custom_x_field フラグ  
x_field フィールド  
y_fields リスト  
panel フラグ  
normalize フラグ  
line フラグ  
points フラグ  
point_type Rectangle
Dot
Triangle
Hexagon
Plus
Pentagon
Star
BowTie
HorizontalDash
VerticalDash
IronCross
Factory
House
Cathedral
OnionDome
ConcaveTriangle OblateGlobe
CatEye
FourSidedPillow
RoundRectangle
Fan
 
smoother フラグ panelTrue に設定した場合のみ、プロットにスムーサーを追加することができます。
use_records_limit フラグ  
records_limit 整数  
symbol_size 番号になります シンボルの大きさを指定します。
panel_layout Horizontal Vertical  
use_grid ブール値 グリッド線を表示する。