Select a data range on line chart to zoom

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
McMClark
Newbie
Newbie
Posts: 50
Joined: Thu Apr 15, 2004 4:00 am

Select a data range on line chart to zoom

Post by McMClark » Thu Oct 12, 2006 2:22 pm

I am using the lastest tee chart with Delphi 2006 VCL. I have a dbChart with numbers on the y-axis and dates on the x-axis. I have a ChartPage Navigator that allows 10 points per page. I want to use the mouse to select some points on the chart and zoom into that date range. Can you help me?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 13, 2006 10:58 am

Hi McMClark,

Haven't you tried TeeChart default zooming feature? Maybe setting the zoom direction to horizontal will be better for what you are trying to get. You'll find examples about that at in the features demo. All Features\Welcome!\Miscellaneous\Zoom and Scroll You'll find the new features demo at TeeChart's program group.

Another option would be that you used axes SetMinMax method to set their minimum and maximum values.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply