Line Plot (JavaScript)


A line plot using a JavaScript based charting library. The view can be accessed either via the Interactive View action on the executed node or in the KNIME Web Portal.

The configuration of the node lets you choose the size of a sample to display and to 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. Enabling or disabling these controls via the configuration dialog might not seem useful at first glance but has benefits when used in a web portal/wizard execution where the end user has no access to the workflow itself.

The second input port provides the possibility to specify colors for the different lines/columns in the plot. Therefore append a Extract Column Header and Transpose node to the data table which should be plotted in this node. Afterwards use the Color Manager to append the colors based on the individual column names. The node automatically selects the column from the Color Manager and assigns the color values to the plotted columns.

Additionally a static SVG image can be rendered, which is then made available at the first output port.

Note, this node is currently under development. Future versions of the node might have more or changed functionality.

Input Ports

  1. Type: Data Data table with data to display.
  2. Type: Data Data table containing one column with the column names of table which has in addition a color assigned. (optional)

Output Ports

  1. Type: Image SVG image rendered by the JavaScript implementation of the line plot.
  2. Type: Data Data table containing the input data.

Find here

Views > JavaScript

Make sure to have this extension installed:

KNIME JavaScript Views

Update site for KNIME Analytics Platform 3.7:
KNIME Analytics Platform 3.7 Update Site

How to install extensions