mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-22 00:12:05 +02:00
TAChart: Make sure that legend does not overlap axes if UseSidebar is false.
git-svn-id: trunk@50201 -
This commit is contained in:
parent
e022bfe9e8
commit
0603d942b9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user