cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Y and X position from datapoint in static graph?

FDigi
Associate III

I need to know X and Y position from some points in static graph widget. Is it possible to getX and getY from the vector datapoint of static graph?

1 REPLY 1
Yoann KLEIN
ST Employee

Hello @FDigi​,

You should be able to access the X and Y coordinates of your StaticGraph points thanks to the xValues and yValues members of the StaticDataGraph class.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX