TAChart: Fix animated zoom-out

git-svn-id: trunk@27573 -
This commit is contained in:
ask 2010-10-04 12:04:59 +00:00
parent 91d3bcfd77
commit 151210cde5

View File

@ -778,7 +778,7 @@ begin
FChart.Canvas.Rectangle(FSelectionRect); FChart.Canvas.Rectangle(FSelectionRect);
with FSelectionRect do begin with FSelectionRect do begin
if (Left >= Right) or (Top >= Bottom) then begin if (Left >= Right) or (Top >= Bottom) then begin
DoZoom(FChart.Extent.Extent, true); DoZoom(FChart.GetFullExtent, true);
exit; exit;
end; end;
ext.a := FChart.ImageToGraph(TopLeft); ext.a := FChart.ImageToGraph(TopLeft);