I wrote a simple app based on the sample Compact Framework application for Windows mobile PC. I enabled panning as follows:
tChart1.Panning.Allow = Steema.TeeChart.ScrollModes.Both;
In a desktop app, this enables the left mouse button drag to pan. How do you pan in the compact environment?
Thanks,
Kent
How to pan the chart in the Compact Framework?
-
- Newbie
- Posts: 34
- Joined: Tue Nov 04, 2008 12:00 am
Hi Kent,
The problem here is that pocketpcs have only one button, so you should set the scroll to be changed with "left button". And also you should disable zooming in order to cause confusion. So you could do as follows:
And if you want to allow zooming, the only thing I can think right now is to add a checkbox to to choose between zoom and scroll.
The problem here is that pocketpcs have only one button, so you should set the scroll to be changed with "left button". And also you should disable zooming in order to cause confusion. So you could do as follows:
Code: Select all
tChart1.Panning.Allow = Steema.TeeChart.ScrollModes.Both;
tChart1.Panning.MouseButton = MouseButtons.Left;
tChart1.Zoom.Allow = false;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |