When the enhanced pie label layout engine is enabled with @SMART_PIE_LABELS 1, this macro can be used to fine-tune the treatment of pie labels.
SYNTAX:
@SMART_PIE_SETTINGS iShrinkLabel iTruncateLabel iMovingLabel iShrinkPieRadius iLabelPadding iSliceReorder iLabelInsidePie
PARAMETERS:
iShrinkLabel; -1...8
-1 = Use the Pie Label Placement Default Setting (8)
0 = DO NOT shrink pie label font sizes
1...8 = Number of font sizes to evaluate to achieve the best result.
iTruncateLabelPriority; -1...8
-1 = Use the Pie Label Placement Default Setting (0)
0 = truncate on every font size
1...8 = Start truncating labels after this many font sizes have been evaluated.
iMovingLabel; -1...5
-1 = Use the Pie Label Placement Default Setting (5)
0...5 = How aggressive to be when moving labels
iShrinkPieRadius; -1...0
-1 = Use the Pie Label Placement Default Setting (1)
0 = DO NOT Shrink pie radius before shrinking fonts
1 = Shrink pie radius before shrinking fonts
iLabelPadding; 0...5
-1 = Use the Pie Label Placement Default Setting (3)
0...5 = Amount of label padding
iSliceReorder; -1...0
-1 = Use the Pie Label Placement Default Setting (0)
0 = DO NOT Reorder slices
1 = Reorder slices as needed
iLabelInsidePie; -1...0
-1 = Use the Pie Label Placement Default Setting (1)
0 = DO NOT Force labels inside or outside the pie
1 = Force some labels inside or outside the pie as neededEXAMPLE::
@SMART_PIE_LABELS 1
@SMART_PIE_SETTINGS 4 4 0 0 1 0 0
@SMART_PIE_LABELS 1
@SMART_PIE_SETTINGS -1 -1 -1 -1 -1 -1 -1
PERSISTENT:
NO
REQUIREMENTS:
Crystal Reports 9 or higher
ALSO SEE: