TAChart: Make sure that legend does not overlap axes if UseSidebar is false.

git-svn-id: trunk@50201 -
This commit is contained in:
wp 2015-11-01 15:28:46 +00:00
parent e022bfe9e8
commit 0603d942b9

View File

@ -836,6 +836,8 @@ begin
try
PrepareAxis(ADrawer);
if Legend.Visible and not Legend.UseSidebar then
Legend.Prepare(ldd, FClipRect);
if (FPrevLogicalExtent <> FLogicalExtent) and Assigned(OnExtentChanging) then
OnExtentChanging(Self);
ADrawer.DrawingBegin(ARect);