SRGraphDisplay::DrawPieLabels

void SRGraphDisplay::DrawPieLabels(void)

Draws labels on pie charts
This draw routine will not allow two labels to overlap. If labels printed in the default positions would overlap, then the rectangle containing the overlapping label is moved away from the center of the pie chart until it is in a clear area.

Defined in: SRGraphDisplay.cpp

Remarks

New option to have wedge labels inside of pie -- pStyle->SetObjectInsideView(TRUE);

New option to specify a size limit. Data values (wedges) smaller than this limit are not labeled. The limit can be an absolute value or a percentage of the total value in the pie. Negative values between 0 and -100 are interpreted as percentages.
pS->SetUseMaxScale(TRUE);
pD->SetMinRangeX(600.); // don't label wedges less than 600
or
pD->SetMinRangeX(-10.); // don't label wedges that are less than 10% of total