The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at
http://knime.com.
GroupBy Bar Chart (JFreeChart)
This view shows a bar chart visualizing the values in the selected
data columns for the selected nominal column. The nominal column has
to be unique, so each value occurs only once. The color of the bars
can be handled through the color-manager.It doesn't
support highlighting. For general settings of the generated
image, see the "General Plot Options" Tab.
Dialog Options
GroupBy Bar Chart Options
- X column
- Select the column that contains the unique! nominal values to be plotted
- Value columns
- Selects the columns that contain the heights of the bars
- xLabels rotation angle
- Changes the way xLabels are arranged. An angle of 90 degree
means a vertical alignment. Possible values range between -90 and 90 degrees.
- Use row color
- Set flag if the colors from the data table should be used.
- Align bars with same label together
- If selected all bars belonging to one label (different value columns)
are aligned together. Otherwise the bars belonging to the
same value column are plotted next to each other. If the option is
chosen, the color of the bars is chosen randomly.
- Use bar shadows
- Set flag if the bars should throw shadows or not.
- Label for X axis
- If activated the X-axis is named accordingly
- Label for Y axis
- If activated the Y-axis is named accordingly
- 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.
Ports
Input Ports
0 |
Data table with at least one nominal column |
Output Ports
0 |
The image of the plot (SVG or PNG) |
Views
- Bar chart
-
Displays the bar chart for the input data.
This node is contained in KNIME JFreeChart nodes
provided by KNIME GmbH, Konstanz, Germany.