BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TChart zoom out

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Scott H
Guest





PostPosted: Mon Apr 05, 2004 3:03 pm    Post subject: TChart zoom out Reply with quote




After you "Zoom In" on a TChart ...

When you "Zoom Out" (by dragging bottom right to top left) the chart always
zoom all the way out. Is there any way to make it zoom only part of the way
out
so that it doesnt "snap" all the way back to where it was ?

Scott H


Back to top
hu zhenghui
Guest





PostPosted: Mon Sep 20, 2004 9:30 am    Post subject: Re: TChart zoom out Reply with quote



The code below works.

procedure TForm1.Chart1UndoZoom(Sender: TObject);
begin
Chart1.ZoomRect( Rect( -5,-5,Chart1.Width+5,Chart1.Height+5 ) );
end;


--
I am looking For Delphi Jobs now.
I have four IBM Certificates, and I am author of eight computer books.
mailto:webmaster (AT) huzhenghui (DOT) 51.net http://huzhenghui.51.net
"Scott H" <not_my_real_email_address (AT) nowhere (DOT) com> дÈëÏûÏ¢
news:4071760e$1 (AT) newsgroups (DOT) borland.com...
Quote:

After you "Zoom In" on a TChart ...

When you "Zoom Out" (by dragging bottom right to top left) the chart
always
zoom all the way out. Is there any way to make it zoom only part of the
way
out
so that it doesnt "snap" all the way back to where it was ?

Scott H





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.