I have a horizontal bar chart, and although I have set the AllowPanning property of the chart to pmNone, it is possible to scroll this chart using the mouse wheel.
Shouldn't turn pmNone the scrolling off completely?
Best regards
Joachim
Mouse wheel scrolls chart although AllowPanning=pmNone
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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 |
Dear Narcis.
1. Setting TeeUseMouseWheel to False does not seem to chnage anything.
2. I would like that only those bar charts cannot be scrolled that fit on one page. But TeeUseMouseWheel seems to be a global variable and would so affect *all* charts.
3. Why did setting the AllowPanning property to pmNone not have the intended behaviour?
Best regards,
Joachim
1. Setting TeeUseMouseWheel to False does not seem to chnage anything.
2. I would like that only those bar charts cannot be scrolled that fit on one page. But TeeUseMouseWheel seems to be a global variable and would so affect *all* charts.
3. Why did setting the AllowPanning property to pmNone not have the intended behaviour?
Best regards,
Joachim
Hi Joachim,
I've test it here. In case you still able to scroll it , please send me a simple app with which I can see the problem here (you can send me it directly to peo@steema.com).
But, what you say is a good feature that we'll consider for the next TeeChart Pro releases (allow to specify to which Chart should affect the TeeUseMouseWheel).
For the moment a workaround would be to lock the Chart axis by using the SetMinMax property.
Setting this global property to False you shouldn't be able to scroll over it.1. Setting TeeUseMouseWheel to False does not seem to chnage anything.
I've test it here. In case you still able to scroll it , please send me a simple app with which I can see the problem here (you can send me it directly to peo@steema.com).
Yes, you're correct, as wheel mouses appear later than the first TeeChart Pro version, they are not controlled setting the AllowPanning property to False.2. I would like that only those bar charts cannot be scrolled that fit on one page. But TeeUseMouseWheel seems to be a global variable and would so affect *all* charts.
But, what you say is a good feature that we'll consider for the next TeeChart Pro releases (allow to specify to which Chart should affect the TeeUseMouseWheel).
For the moment a workaround would be to lock the Chart axis by using the SetMinMax property.
Explained in the previous question.3. Why did setting the AllowPanning property to pmNone not have the intended behaviour?
Pep Jorge
http://support.steema.com
http://support.steema.com