cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX 4.20.0. Vertical Frontline Problem in Dynamic Graph Widget

GS1
Senior III

Hello all,

I am using the Dynamic Graph to display incoming data over time. The frontline moves forward on the x-axis as expected.

Then the user presses the Start Button to record the data, I clear the graph and restart at 0. The vertical frontline also restarts from position x.

BUT: the previous frontline position is not removed in the graphics and stays there as a vertical non-moving line until the current frontline overwrites it.

How can I remove this "old" vertical frontline?

I have tried the following:

graphicVerticalFrontline.setVisible(false);

graphicVerticalFrontline.invalidate();

graphic.clear();

graphic.invalidate();

graphicVerticalFrontline.setVisible(true);

graphicVerticalFrontline.invalidate();

0693W00000QLNnlQAH.png 

Has anybody an idea how to remove the old frontline?

BR GS

12 REPLIES 12

my graph configuration

0693W00000WJL6VQAX.pngThis is the problem my data is not correct in yellow graph in difference with red one!

Hi NSabo,

can you please create a NEW Question? Then others can answer accordingly to your request.

If you post in my thread, I get notifications and emails related to my question, which actually have nothing to do with my original question. Thank you.

BR GS