Page 1 of 1

Zoom axis error

Posted: Wed Jan 05, 2011 11:29 pm
by 16557843
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.

Re: Zoom axis error

Posted: Mon Jan 10, 2011 3:18 pm
by narcis
Hi Jerry,

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

Thanks in advance.

Re: Zoom axis error

Posted: Mon Jan 17, 2011 7:29 pm
by 16557843
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?

Re: Zoom axis error

Posted: Tue Jan 18, 2011 10:13 am
by 10050769
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,