2020-12-13 07:21 AM
I am using swipe container with two pages.
Problem 1: We are unable to swipe the pages pointing on top of the graph. I mean, swipe container is working only in the region where graph is not there? I understand that this is because of click event and drag event functions of graph widget, I only need swipe container. How to override this graph drag event function to still continue to use the Swipe container with left and right swipe option.
Problem 2: The graph works well as long as we are in same screen, when we transit to screen2 and come back to screen1 (where graph and swipe container are present) the graph creating hard fault after swiping on graph ? how to resolve this issue ?
2022-01-20 01:40 AM
you should overload the below three function
void handleClickEvent(const ClickEvent& evt);
void handleDragEvent(const DragEvent& evt);
void handleGestureEvent(const GestureEvent& evt);
2022-07-19 12:21 AM
Hi
try this
graph.setTouchable(false);