Zoom axis error
Posted: 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.
If this is a bug, when will a fix be available?
Thanks for your help.