Skip to main content
MNema.1
Associate II
May 27, 2024
Question

TouchGFX static graph. Number of points is higher than graph width in pixels.

  • May 27, 2024
  • 1 reply
  • 756 views

Hello! 
I have a question that was raised before, but didn't get an answer:  
https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/what-if-number-of-data-points-is-greater-than-number-of-pixels/m-p/222692

Basically, my question is the same but concerns static graphs:
I have 1300 data points that I add to a graph that has a width of 720 pixels. The library allows me to add those points, but what do we see on the screen? Will each graph pixel be an average of several data points (how it is done then if it is 1,805(5) data points per pixel) or will some points be thrown away completely?

Thank you.

1 reply

Roger SHIVELY
ST Employee
May 28, 2024

Hello @MNema.1 

 

This post has been escalated to the ST Online Support Team for additional assistance. 

 

We'll contact you directly.

 

Regards,

Roger