Stacked Area Chart

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 aggregation method and enable certain controls, which are then available in the view. This includes the ability to choose different columns for the category and frequency axis or the possibility to set a title.
The configuration also offers a preview of the view, which should help to get the stacked area chart 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
Select the column that contains the values of the horizontal dimension. Note: Missing values are treated as separate values.
Aggregation
Select the aggregation method used on the selected frequency columns. In case of “None” execution fails if the horizontal dimension contains duplicate values. In case of “Occurrence Count” the occurrence of the number of rows that share the same value in the horizontal dimension is determined.
Frequency dimensions
Select the columns with frequencies which you wish to plot in the stacked area chart. Note: Missing values in the frequency column will be ignored with a corresponding warning message. Also, columns which include both positive and negative values can not be used as frequency columns and therefore will be excluded as well.
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.
Value axis limits
Choose if the axis range of the value axis should be calculated automatically by the charting framework or set manually.
Value axis min
Value that sets the vertical axis minimum.
Value axis max
Value that sets the vertical axis maximum.
Custom horizontal axis label
The label used 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.
Custom vertical axis label
The label used for the frequency axis. If the checkbox is deactivated, the label will correspond to the selected aggregation method. If activated and left blank, no label will be shown.
Display legend
When checked, the chart’s legend is displayed.
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 zoom
When checked, zooming in the chart is enabled.
Show tooltip
When checked, hovering over a data point 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 an image which is made available via this port.
Image type (SVG, PNG)
Choose between the superior quality provided by SVG vector graphics and the better performance of the PNG raster images. SVG graphics are sharp, also when zoomed, and text labels within the graphic can be searched for. On the other hand, PNG images can be smaller and render faster when there are many data points, for example, in a scatter plot.
Width
The width of the generated image (in pixels).
Height
The height of the generated image (in pixels).

Input Ports

Icon
Data table containing the categories and values to be plotted in a stacked area chart.

Output Ports

Icon
Rendered PNG image.

Views

Stacked Area Chart
A stacked area chart 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.