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
Axes no longer being updated with SetMinMax method
Re: Axes no longer being updated with SetMinMax method
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?
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Axes no longer being updated with SetMinMax method
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
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
Re: Axes no longer being updated with SetMinMax method
Hi Bradley,
I'm pleased to try to help, more than really helping at all!
I'm pleased to try to help, more than really helping at all!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |