WebFOCUS Online Help > Creating Charts With Graph Tools > Customizing Graphs With the Graph Editor > Pie Chart Options
Pie chart options are available in the Graph Editor menu when a pie chart is selected in the Graph Type menu.
Pie Chart options enable you to:
Select this field if you want to display pie titles in a pie chart.
Select this field if you want to display slice labels in a pie chart. This is the default value for all pie chart types.
Select this option to display the feeler lines and text labels in a pie chart. This is the default value for all pie chart types.
Select this option if you want to display text labels in the pie chart. Feeler lines will not be drawn.
Select this option if you want to display text labels only on slices in the pie chart.
Select this option to display slice labels in a pie chart.
Select this option to display slice labels and the percent value in a pie chart.
Select this option to display the percent value in a pie chart.
When the Slice Label and Percent Value, or Percent Value of Slice option is selected, use this field to specify the format of text labels that appear: General, 0, 0%, 0.0%, $0, $0.00, and so on. The default value is 0.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Show Slice Labels |
getPieSliceLabel(); |
Labels Only, No Feeler Lines |
setPieFeelerTextDisplay(2); |
Labels On Slices |
setPieFeelerTextDisplay(3); |
Slice Label |
getPieSliceLabel ( int s, int g); |
Slice Label and Percent Value |
setPieLabelDisplay(value); |
Percent Value of Slice |
setPieLabelDisplay(value); value = getPieLabelDisplay(); |
Absolute (true) value of Slice |
setPieLabelDisplay(0); 0 for the absolute (true) value of the slice. |
Tilts a pie chart a specified number of degrees. The default value is 10.
Specifies the depth of the pie crust in a pie chart. The default value is 10.
Rotates a pie chart a specified number of degrees. The default value is zero.
Slides the selected slice out of the pie.
Select a slice in a pie chart, and select this field to delete the slice from the chart. If a multiple pie chart type is selected, all slices for the respective series will be deleted.
When the Delete Selected Slices field has been used to delete one or more slices from a pie chart, this field will restore all of the deleted pie slices.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Pie Tilt |
setPieTilt ( value ); |
Pie Depth |
setPieDepth ( value ); |
Pie Rotation |
setPieRotate ( value); |
Detach Selected Slices |
setPieSliceDetach(); |
Delete Selected Slices |
setPieSliceDelete ( getSeries(#), true | false ); |
Restore All Pie Slices |
void restoreAllSlices ( ); |
This field determines the relative size of the ring (inner circle) in a ring pie. The default value is 55.
This field enables and disables the display of a total value in the center of a pie ring chart. The default value is enabled (ž).
When Show Pie Ring Total is selected (ž), use the field to specify the format of total value: General, 0%, 0.0%, $0, $0.00, and so on. The default value is General.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Pie Ring Hole Size |
setPieRingSize ( value ); |
Show Pie Ring Total |
setDisplay ( getPieRingLabel(), true | false); |
Format |
setTextFormatPreset ( getPieRingLabel(), value ); |
Selections in this dialog add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Pies Per Row |
setPiesPerRow ( value ); |
Select this field if you want to display a legend in a pie chart.
Select this field if you want to display marker shapes in the legend of a pie chart.
Select this field if you want to reverse the order of the legend in a pie chart.
Select this field if you want to display square markers for the legend in a pie chart.
Use the option buttons to enable or disable the display of the text location in a legend.
Displays the text to the right side of the marker.
Displays the text to the left side of the marker.
Displays the text below the marker.
Displays the text above the marker.
Displays the text on top of the marker.
Selections in this dialog add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Show Legend |
setLegendDisplay(), true | false); |
Use Marker Shapes in Legend |
setMarkerShape(), true | false); |
Reverse Order of Legend |
setLegendReverse(), true | false); |
Square Markers |
setSquareMarkers(), true | false); |
Right Side of Marker |
setLegendPosition(2); |
Left Side of Marker |
setLegendPosition(3); |
Below Marker |
setLegendPosition(1); |
Above Marker |
setLegendPosition(4); |
Select to enable or disable the drawing of series in reverse order.
Select to enable or disable the drawing of groups in reverse order.
Selections in this dialog add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Reverse Order of Series |
setReverseSeries(), true | false); |
Reverse Order of Groups |
setReverseGroups(), true | false); |
WebFOCUS |