Hi,
Recently we have upgraded TeeChart version from 6 to 10 in our application. The application is a C++ MFC application.
After upgrade the everything is fine except the zooming. Nothing is happening when trying to zoom by the mouse. But there was no problem in version 6 and the same implementation codes are there.
The activex is added in a dialog at design time. m_Chart1.GetZoom().SetEnable(TRUE); statement is there.
I tried the sample VC++ project (from the examples) and the zooming is there as expected.
What may be the possible reasons for not working of zooming?
Thanks,
Raj
Zooming problem in TeeChart2010 (MFC Application)
Re: Zooming problem in TeeChart2010 (MFC Application)
Hello Raj,
Can you try to arrange a simple example project we can run as-is to reproduce the problem here. So can try to find a good solution for you.
Thanks,
Can you try to arrange a simple example project we can run as-is to reproduce the problem here. So can try to find a good solution for you.
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: Zooming problem in TeeChart2010 (MFC Application)
Hi,
What should be done to implement zooming of custom axes? Can I get sample codes for this?
Thanks,
Raj
What should be done to implement zooming of custom axes? Can I get sample codes for this?
Thanks,
Raj
Re: Zooming problem in TeeChart2010 (MFC Application)
Hello Raj,
Take a look at the question and the answer here:
http://www.teechart.net/support/viewtop ... 127#p42112
Take a look at the question and the answer here:
http://www.teechart.net/support/viewtop ... 127#p42112
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Zooming problem in TeeChart2010 (MFC Application)
Hi,
Thanks! But my problem is not solved.
what we have done.
1. the TeeChart activex is added in the dialog in design time.
2. the dialog class was inherited from "CExtResizableDialog" of Prof-Uis. I could not add any event handler (showing disabled), now I have replaced "CExtResizableDialog" by CDialog and I can add the event handlers.
3. the custom axes are being added dynamically at run time.
The problem is that the ZOOM event ( OnZoomTchart())is not being fired. What should I do?
Thanks,
Raj
Thanks! But my problem is not solved.
what we have done.
1. the TeeChart activex is added in the dialog in design time.
2. the dialog class was inherited from "CExtResizableDialog" of Prof-Uis. I could not add any event handler (showing disabled), now I have replaced "CExtResizableDialog" by CDialog and I can add the event handlers.
3. the custom axes are being added dynamically at run time.
The problem is that the ZOOM event ( OnZoomTchart())is not being fired. What should I do?
Thanks,
Raj
Re: Zooming problem in TeeChart2010 (MFC Application)
Hello,
I'm afraid you need an event for this, if not the Zoom events, at least OnAfterDraw. But it's always more delicate because you'll probably need to call a chart repaint into this event controlling you are not creating a endless loop.
I'm afraid you need an event for this, if not the Zoom events, at least OnAfterDraw. But it's always more delicate because you'll probably need to call a chart repaint into this event controlling you are not creating a endless loop.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |