Skip to main content
YSN
Associate III
December 13, 2020
Question

Touchgfx Graph widget on top of Swipe Container is hard fault

  • December 13, 2020
  • 11 replies
  • 2800 views

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 ?

This topic has been closed for replies.

11 replies

Natali
Associate III
July 19, 2022

Hi

try this

graph.setTouchable(false);