Axes no longer being updated with SetMinMax method

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
BradleyA
Newbie
Newbie
Posts: 3
Joined: Wed Aug 05, 2009 12:00 am

Axes no longer being updated with SetMinMax method

Post by BradleyA » Thu Aug 06, 2009 3:53 pm

I just updated my TeeChart from v2.0 to v4.0xxx, I was able to solve all other minor issues except this one. I do my own "zoom" by setting the Axes Min and Max. With the new version when I set the min and max, the data is redrawn correctly, but the Axes values are not updated to match... they stay at the original values from when the data was loaded. Is there something new I need to do to force the Axes to redraw correctly?

Thanks,
Bradley

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Axes no longer being updated with SetMinMax method

Post by Yeray » Fri Aug 07, 2009 9:52 am

Hi Bradley,

Could you please try to arrange and attach here a simple example project we can run as-is to reproduce the problem here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

BradleyA
Newbie
Newbie
Posts: 3
Joined: Wed Aug 05, 2009 12:00 am

Re: Axes no longer being updated with SetMinMax method

Post by BradleyA » Fri Aug 07, 2009 3:43 pm

Hi Yeray,

I created a sample program to show the problem, but there was no problem... it worked as it should. So I discovered that in the AfterDraw event where I do addition drawing on the chart, I set a clip region just around the chart area itself. This used to be fine in v2.0, but with the new version something has changed internally and now requires me to "UnClip" the region. Once I did that before leaving the AfterDraw event, everything works as it should.

Thanks for the help,
Bradley

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Axes no longer being updated with SetMinMax method

Post by Yeray » Fri Aug 07, 2009 3:59 pm

Hi Bradley,

I'm pleased to try to help, more than really helping at all!
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply