Open serkanhekimoglu opened 8 years ago
If I understand your question correctly, you'd like to be able to adjust the touch input line's height to match that of the graph's line? That way the touch input line is never higher than the line on the graph?
Is it possible to get the Y position of the line when
handleGestureAction:
is triggered? I've loweredtouchInputLine
's Y position to use the line under the graphic line with the following:But when I try this, I get the below result.
touchInputLine
goes over the line graphic. If I find the correct Y position for touchInputLine (which is current Y position of graphic line),touchInputLine
will never go up of graphic line and always follow it