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.
Pie Chart (JFreeChart)
Node to display a pie chart with JFreeChart.
The size of the slices (sectors) of the pie represent
the relative number of instances of this particular value to
the whole number of instances in the input data table.
For general settings of the generated
image, see the "General Plot Options" Tab.
Dialog Options
Pie Chart Options
- Column
- Select the categorical column, for which the chart will be created.
- Show legend
- This is a boolean indicating whether or not the
legend should be in the visualization.
- 3D pie chart
- This is a boolean switch to activate/deactivate 2D(off) or 3D(on) pie chart.
- Attribute to explode
- This option allows the user to select and explode
one of the possible nominal values for the selected column for visualization.
It is only used in the 2D plot.
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 containing the data for the pie chart |
Output Ports
0 |
The image of the plot (SVG or PNG) |
Views
- Pie Chart
-
Displays the pie chart of the input data.
This node is contained in KNIME JFreeChart nodes
provided by KNIME GmbH, Konstanz, Germany.