JWAVE Pie Tool
The JWAVE Pie Tool is a Bean that displays a pie chart.
Input
This Tool uses a
DoubleTable object as input to the PV‑WAVE PIE_CHART procedure. See
Chapter 7: Using JWAVE Beans for information on using this Bean in the BeanBox.
Customizer Reference
The JWAVE Beans provided by Rogue Wave each have a Customizer for modifying the appearance of the plot produced by the Bean. This section describes the features of the Pie Tool Customizer.
Labels Tab
Title—Defines the text for the main title that appears centered above the pie chart.
Show Slice Percentages—When selected, each slice is labeled with the percentage it represents out of the total pie.
Show Slice Values—When selected, each slice is labeled with the value it represents.
Show Label Border—When selected, a filled rectangle displays behind each label.
Slice Label Position—Defines the position of slice labels.
Internal—Places the label in the slice.
External—Places the label outside the slice.
External Aligned—Places the label outside the slice and lined-up on each side of the pie.
Dimensions Tab
X Center—The x-axis coordinate for the center of the pie.
Y Center—The y-axis coordinate for the center of the pie.
Shade Displacement—Specifies the percentage of displacement for the center of the drop shadow displayed behind the pie chart. The direction of the displacement is 315°.
Colors Tab
Background Color—Brings up a color tool for selecting the background color of the pie chart.
Foreground Color—Brings up a color tool for selecting the foreground color of the pie chart.
Label Border Color—If Show Label Border (in the Labels tab) is selected, brings up a color tool for selecting the color of the filled rectangle that displays behind each label.
Slices Tab
Slices—Sets the slice you want to work with while using the parameters in the Slices tab.
Slice Color—Brings up a color tool for selecting the color for the selected slice.
Slice Label Color—Brings up a color tool for selecting the color of the text in the label for the selected slice.
Percent Explode for Slice—Defines the percentage to explode the selected slice from the center of the pie.