cancel
Showing results for 
Search instead for 
Did you mean: 

Why dynamic graph does not react toward swipe gesture?

BParh.1
Senior III

So assume we setup up a swipe container contain:

  1. normal container contain e.g. a box
  2. dynamic graph

When we run, the normal container would be shown first. Upon swipe it would go to dynamic graph. But when we swipe the dynamic graph, it would not go to the normal container. Why so?

If I set the dynamic graph as invisible, then the issue not seen i.e. we can swipe away from the dynamic graph, but this would be meaningless.

1 ACCEPTED SOLUTION

Accepted Solutions
Alexandre RENOUX
Principal

Hello BParh.1,

Because the graph is clickable, the click event is caught by the graph like a button.

Please refer to the enclosed project (done with newest version of TouchGFX 4.17) where a blue button can be clicked and the swipe container will still work.

You can do something very similar with the graph.

/Alexandre

View solution in original post

2 REPLIES 2
Alexandre RENOUX
Principal

Hello BParh.1,

Because the graph is clickable, the click event is caught by the graph like a button.

Please refer to the enclosed project (done with newest version of TouchGFX 4.17) where a blue button can be clicked and the swipe container will still work.

You can do something very similar with the graph.

/Alexandre

BParh.1
Senior III

Thank you @Alexandre RENOUX​ , ok that make sense. And I appreciate you spend time and effort to give the sample, so nice of you ��