TAChart: Fire OnCustomDrawPie event also when top faces of a pie series are drawn.

git-svn-id: trunk@60757 -
This commit is contained in:
wp 2019-03-24 10:40:31 +00:00
parent 18953aeb37
commit f11f384ce4

View File

@ -645,18 +645,11 @@ begin
end;
ADrawer.SetPen(EdgePen);
for ps in FSlices do begin
if not ps.FVisible then continue;
ADrawer.SetBrushParams(bsSolid, SliceColor(ps.FOrigIndex));
//DrawSlice(ps);
if FInnerRadiusPercent = 0 then
ADrawer.RadialPie(
ps.FBase.X - r.x, ps.FBase.Y - r.y,
ps.FBase.X + r.x, ps.FBase.Y + r.y,
RadToDeg16(ps.FPrevAngle), RadToDeg16(ps.Angle))
else
for ps in FSlices do
if ps.FVisible then begin
ADrawer.SetBrushParams(bsSolid, SliceColor(ps.FOrigIndex));
DrawSlice(ps);
end;
end;
if not Marks.IsMarkLabelsVisible then exit;
for ps in FSlices do begin