2019-02-13 06:09 AM
I want to make a graph (let's just use a y = sin(x) function as an example) on my STM32 discovery board. I can make a basic gui from the standard widgets you get when you first run Touchgfx designer and I can add code to make them do stuff as well. I saw no way to add a graph so I googled it and found out you need the graph widget from the repository found here: https://github.com/touchgfx/touchgfx-open-repository
I have downloaded the repository and my question now is how to get the graph widget into TouchGFX designer so I can start coding it to display y = sin(x)? I have a bunch of folders from the repository and the TemplateView.cpp/.hpp files tell you what the individual functions do but not how to get the widget itself into the designer. Apologies if I am missing something obvious here but I could find no clear answers anywhere else.
Solved! Go to Solution.
2019-08-21 12:46 AM
Yes, everything except the "Graph" run. I have 5 screen and wanted to add one more (the Graph).
Guillaume
---------------------------------
Fixed. The CanvasBuffer was too small. Thanks you anyway.
2019-08-21 11:31 PM
Ah, that's great :) Glad you found the issue.
/Martin
2020-04-29 05:59 AM
Hello @Martin KJELDSEN,
Is there a newer version of the GraphApplication project that works with the latest version of TouchGfx 4.13.0?
Thank you in advance
2020-07-02 07:47 AM
I join the question about the availability of the current version of the GRAPH widget for TouchGfx 4.13.0
Thank you.
2020-07-20 01:32 PM
Hi Martin
I use the last Toucggfx version 4.13.0 and i can not load your project.
Could you please update it ?
I am very interresting about this widget
Thank a lot
2020-07-21 01:32 AM
Hi,
The graph widget is also implemented in the UI templates "TouchGFX Demo 1" and "TouchGFX Demo 2". You can have a look at how they are implemented.
/Romain
2020-09-16 10:08 AM
Hello @Martin KJELDSEN , After successful compilation, when I try to run this, it says "No buffer allocated for CanvasWidgetRenderer drawing". Is this similar to @guillaume.1 in which case, how does one change the CanvasBuffer?
----------------------------
Fixed! So it was associated to the CanvasBuffer afterall. I followed the instructions in this link.
2020-09-16 11:11 AM
Fixed! So it was associated to the CanvasBuffer afterall. I followed the instructions in this link.
2020-09-17 12:32 AM
Great :)