Zoom axis error

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jerry
Newbie
Newbie
Posts: 2
Joined: Fri Nov 12, 2010 12:00 am

Zoom axis error

Post by Jerry » Wed Jan 05, 2011 11:29 pm

Zoom does not appear to be working properly in TeeChartPro 2010. When zooming with a left and right axis series on a chart, the min/max zoom axis limits are set to the right axis zoom limits for both the left and right axis. Zooming is critical to our statistical analysis program because we process the OnZoom event and calculate statistics based upon series values within the zoom rect. Without the proper zoom min/max, we cannot calculate statistics. We have been doing this calculation since Delphi3/TeeChartPro 3 and only encountered this problem when porting our code from Delphi2009/TChart8 to DelphiXe/TChart2010. Is there a new function or procedure to get the limits or is this a bug? Are we doing something wrong? We are currently using the following call in the OnZoom to get the limits: d0:= chart.BottomAxis.min, d1:= chart.BottomAxis.max, d2:= chart.LeftAxis.min, d3:= chart.LeftAxis.max, d4:= chart.RightAxis.min, d5:= chart.RightAxis.max. The values d2 = d4 and d3 = d5 and the displayed Left and Right axis limits after zoom are also equal.

If this is a bug, when will a fix be available?

Thanks for your help.

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

Re: Zoom axis error

Post by Narcís » Mon Jan 10, 2011 3:18 pm

Hi Jerry,

Could you please attach a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.
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

Jerry
Newbie
Newbie
Posts: 2
Joined: Fri Nov 12, 2010 12:00 am

Re: Zoom axis error

Post by Jerry » Mon Jan 17, 2011 7:29 pm

Attached is a zip file with two different kinds of data tables that can be used in the sample code. I hope this is enough to show the zoom axis limit problem. I have another question - is this the proper way to submin a potentiel bug problem or is there an email address a customer can use for submitting potentiel bugs?
Attachments
Zoom.zip
(14.82 KiB) Downloaded 231 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Zoom axis error

Post by Sandra » Tue Jan 18, 2011 10:13 am

Hello Jerry,

We have done test here with source code and problem disappears. We will send you an e-mail with test installer of source code, so you can check if it works fine for you.

Thanks,
Best Regards,
Sandra Pazos / 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