mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 04:38:37 +02:00
TAChart: Do not display empty slice labels
git-svn-id: trunk@28555 -
This commit is contained in:
parent
dcde33b7ef
commit
11acb13b20
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user