I am touch enabling my application and discovered that the default panning and zooming functionality of the XamDataChart is not working as described. Pinching is not zooming at all and the panning ability seems touchy (no pun intended). If I touch and hold then drag the chart moves a tiny bit at first then stops and then shifts a bit again when I stop touching. I have removed all my event handlers to make sure I was not interfering but it made no difference. Is there anything specific I need to do to enable gesture support for the XamDataChart?
Hello Mike,
Thank you for your post. I have been looking into it and I tested the XamDataChart’s Zooming and Panning on Lenovo X1 Carbon with touch screen and everything seems to work ok, so could you please send us the sample, where you have the issues and a video of the results you have, so we could be able to investigate this further for you.
Looking forward for your reply.
Hi Stefan,
I spent some time pulling out all the code I use dynamically build the chart thinking that was where the problem was. As it turns out the problem is that I have the control that creates the graphs inside a ScrollViewer with VerticalOnly PanningMode. I have to turn off panning mode in order for the graph to pan and zoom properly. Do you know of any way around this problem?