TAChart: Do not display empty slice labels

git-svn-id: trunk@28555 -
This commit is contained in:
ask 2010-11-29 10:59:26 +00:00
parent dcde33b7ef
commit 11acb13b20

View File

@ -948,7 +948,8 @@ begin
prevAngle += FAngle;
end;
if not Marks.IsMarkLabelsVisible then continue;
if not Marks.IsMarkLabelsVisible or (d.FLabels[i].FText = '') then
continue;
ed := LabelExtraDist(sliceCenterAngle, i);
Marks.DrawLabel(
ACanvas,