Hi,
I am facing a bug in the UndoneZoom event of the Tee chart.
In the event handler of UndoneZoom when I am trying to access the Minimum and Maximum of the Bottom Axis, it gives me the Minimum and maximum of the Zoomed state. Is that a bug in the TeeChart?
Regards,
Rajesh Dhiman
facing a bug in Undone Zoom Event
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Rajesh,
No, I don't think so. You can do something like this:
No, I don't think so. You can do something like this:
Code: Select all
if (tChart1.Series.Count>0)
{
double min = tChart1[0].MinXValue();
double max = tChart1[0].MaxXValue();
for (int i = 1; i < tChart1.Series.Count; i++)
{
min = Math.Min(min, tChart1[i].MinXValue());
max = Math.Max(max, tChart1[i].MaxXValue());
}
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |