2022-11-16 04:26 AM
Hello,
Coudn't find a Bugtracker, so I posted it here.
I use a static graph in my project, but after some time (adding other stuff) the TouchGFX-Designer (4.20) creates incomplete code:
This happend several times, only fix is to remove and add a new diagram.
This is the generated code:
This is how it should be looking:
Furthermore, the Bar-Offset from Histogram, never appears in the generated Base Class.
2022-11-16 04:39 AM
Hello @PBull ,
What are you adding exactly before noticing those issues in your code ?
If you want to access the bar offset parameter from your code, you can the setBarOffset() or getBarOffset() functions from this class.
/Yoann
2022-11-16 05:08 AM
Hello Yoann,
sorry I'm not sure when this happens, coundn't find a way to reproduce it, but it happend several times.
I have three custom containers, each with a different Histogram, if this bug occur, the code is missing on all three of them. A new code generation doesn't help.
But I'll keep watching!
The setBarOffset() works well, if I add it manually, but it would be better if the Designer would do this for me ;)
2022-11-16 05:30 AM
Alright, please let me know if you figure out the cause of this bug, otherwise it will be hard to reproduce.
/Yoann
2023-03-27 03:11 AM
Hi,
The Histogram Bar Offset do not appear in the generated code for me neither.
I add it manually in my code.
Color, Bar Width, and Baseline code is generated as expect.
TouchGFX 4.21.1