adityamishra90 / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Touching a graph with a finger while another finger is down causes a large jump #191

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a graph with user interaction enabled
2. Place one finger on your screen
3. Place a second finger down on the other side of the screen

What is the expected output? What do you see instead?

I would expect nothing to happen as this should be the start of the pinch 
gesture, but instead it seems to think the second finger is the first one which 
moves across the screen very quickly and hence the large shift

What version of the product are you using? On what operating system?
Sorry how do I find out the version of core-plot?

iPhone - iOS4

Please provide any additional information below.
The fix I have for this so far on iOS4 is as follows:

-(BOOL)plotSpace:(CPPlotSpace *)space
shouldHandlePointingDeviceDraggedEvent:(id)event atPoint:
(CGPoint)point
{
UIEvent *evt = (UIEvent*)event;
if ([[event allTouches] count] > 1) {
    return NO;

}
//your code here
} 

Original issue reported on code.google.com by mark.mac...@gmail.com on 7 Aug 2010 at 12:47

GoogleCodeExporter commented 8 years ago

Original comment by drewmcco...@mac.com on 13 Oct 2010 at 9:58

GoogleCodeExporter commented 8 years ago
Has anyone observed this issue on recent devices and/or iOS versions? I suspect 
it has been fixed by better gesture support in the newer versions of iOS.

Original comment by eskr...@mac.com on 15 Nov 2012 at 12:27

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 3 Jul 2013 at 12:58