2019-06-14 02:30 AM
i want graph by attached data, in touchgfx there is no option to create list and store it
2019-06-14 04:02 AM
Hi,
This text file of yours contains values. What about time? What kind of graph are you looking for? We've done graphs for ECG before, but you may have different needs. There's no official graph widget in the designer, but we have examples and demos that show how to do it.
/Martin
2019-06-14 04:11 AM
Try checking out "TouchGFX demo 1" - It uses graphs in the Home Automation screen (And you have all the source code in the application)
2019-06-14 04:43 AM
i had already tried touchgfx demo 1 in touchgfx demo there is random values but i want for x (time) tickcounter , for y values these values are require. i just want how to make list to put these values . Is any ECG examples can you please send me (rajeeemiracles@gmail.com)
2019-06-16 12:03 PM
Hi @BPeda,
We don't have any official ECG examples, sorry. ECG or not, you have some Y-values and you could just simulate time by hooking into Model::tick() (happens every 16ms or so on your hardware) to get started.
/Martin
2019-06-17 10:44 PM
Thanks martin sir,
iam new to touchgfx, please can you create a graph application through this values by model:tick().
2019-06-17 11:44 PM
2019-06-17 11:52 PM
yeah, i don't know how to apply these y values to graph. in touchgfx there is no list syntax to apply all these y values. iam confusing here only
2019-06-18 12:06 AM
No, there's no "list" per se. But C++ has lists :) Take a look at the code and see if you can make sense of it - The code has comments.
/Martin
2019-06-18 12:06 AM
I may be writing an example that can apply a set of values to a graph for another purpose. I will include your data set as well as an example.
/Martin