Last updated: Jan 18, 2024
The Time Plot node displays one or more sets of time series data. Typically, you would first use a Time Intervals node to create a TimeLabel field, which would be used to label the x axis.
Example
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([])
timeplotnode properties |
Data type | Property description |
---|---|---|
plot_series
|
Series
Models
|
|
use_custom_x_field
|
flag | |
x_field
|
field | |
y_fields
|
list | |
panel
|
flag | |
normalize
|
flag | |
line
|
flag | |
points
|
flag | |
point_type
|
Rectangle Dot Triangle Hexagon Plus Pentagon Star BowTie HorizontalDash VerticalDash IronCross Factory House Cathedral OnionDome ConcaveTriangle
OblateGlobe CatEye FourSidedPillow RoundRectangle Fan
|
|
smoother
|
flag | You can add smoothers to the plot only if you set panel to
True . |
use_records_limit
|
flag | |
records_limit
|
integer | |
symbol_size
|
number | Specifies a symbol size. |
panel_layout
|
Horizontal
Vertical
|
|
use_grid |
boolean | Display grid lines. |