Histogram Chart (JFreeChart)

Displays a histogram chart, which is also called a stacked bar chart. It stacks the bars that represent the number of occurrences of values for selected columns in the individual bins. For general settings of the generated image, see the "General Plot Options" Tab.

Options

Histogram Chart Options

Columns
Selects the columns to be used in the histogram. The values of each column are used for one histogram. They are all plotted above eachother.
Color
Specifies the color used for the first column
Label for X axis
If activated the X-axis is named accordingly
Label for Y axis
If activated the Y-axis is named accordingly
Number of bins
Specifies the number of bins
Show legend
Switches the legend on/off

General Plot Options

Type of Image
The type of the created image can either be png or svg. PNGs are mostly smaller, SVGs provide details about plot and the possibility to be changed individually.
Title of Graph
The title of the graph shown above the generated image. If the title is not activated, no title will be shown.
Width of Image (in pixel)
The width of the generated image, not the plot width.
Height of Image (in pixel)
The height of the generated image, not the plot height.
Background Color
The color of the background of the image. Hence this color is used for the area behind and around the plot as well as behind potential axis and legends.
Plot Background Color
The color of the background of the plot. Hence this color is used for the empty space in a plot.
Plot Background Alpha
The transparency of the plot background can be modified using an additional alpha value. An alpha value of 1 does not change the background transparency. Decreasing the alpha value will increase the plot background transparency.
Scale Font Size
Factor changes the font sizes within the JFreeChart view. A value greater the 1 increases all view fonts, a value between 0 and 1 decrease them.

Input Ports

Icon
Data table containing the data for the histogram

Output Ports

Icon
The image of the plot (SVG or PNG)

Views

Histogram Chart
Displays the histogram chart 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.