Line Plot

The view can be accessed either via the “Open view” action on the executed node or on KNIME Hub.

In the node configuration, you can choose the size of a sample you want to display and enable certain controls, which are then available in the view.
This includes the ability to choose different columns for x and y or the possibility to set a title.
The configuration also offers a preview of the view, which should help to get the line plot in the desired shape quickly.

Since missing values as well as NaN (not a number) or infinite values cannot be displayed in the view, they will be omitted.

Options

Horizontal dimension
Defines the column that contains the values for horizontal dimension.
Vertical dimension
Defines the columns that contain the values for vertical dimension.
Max rows
Numerical value that restricts the number of rows used for this visualization.
Title
The title of the graph shown above the generated image. If left blank, no title will be shown.
Axis limits
Choose if the axis range should be calculated by the charting framework, taken from the domain range or set manually. You might need to use a Domain Calculator or Edit Numeric Domain node before this node.
Horizontal min
Value that sets the horizontal axis minimum.
Horizontal max
Value that sets the horizontal axis maximum.
Vertical min
Value that sets the vertical axis minimum.
Vertical max
Value that sets the vertical axis maximum.
Custom horizontal axis label
The label for the horizontal axis. If the checkbox is deactivated, the label will correspond to the selected dimension. If activated and left blank, no label will be shown.
Vertical axis label
The label for the vertical axis. If left blank, no label will be shown.
Vertical axis scale
Choose if the vertical axis should be displayed in linear or logarithmic scale.
Line thickness
Numeric value that defines the line size.
Show data point markers
When checked, markers show the location of each data point.
Marker size
Numeric value that defines the marker size.
Date & time format
Format that determines how date & time values should be displayed. At the moment only local date & time and local date types are supported. In general it is done with putting string templates of the individual pieces in curly brackets like '{yyyy}-{MM}-{dd}'. Refer to the echarts documentation for further information on how to format the values.
Enable image download
When checked, an image of the chart can be downloaded by clicking the image download button in the view.
Enable data zoom
When checked, zooming in the chart is enabled.
Show tooltip
When checked, hovering over a line will show information about the data.
Enable animation
When checked, the animation of the graph is active.
Generate image
If checked, adds an image output port and, upon execution, generates a PNG image which is made available via this port.
Width
The width of the generated image (in pixels).
Height
The height of the generated image (in pixels).

Input Ports

Icon
Data table with data to display.

Output Ports

Icon
Rendered PNG image.

Popular Predecessors

Views

Line Plot
A line plot visualization of the input data.

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.