anszom wrote: ↑Nov 28 2021 7:14am
Does you firmware support customization of variable of each field? and are your fields only graph or could they also be numeric?
Not really. I mean, you could customize all you want by changing the source code, but as a user you can't alter the layout.
I haven't seen the Garmin or Fenix devices but I think the xiaomi smartbands have a similar option for customizing the "face" of the watch. It's a nice idea - and now I understand the reason behind the complexity of your code

. The only issue I see is that configuring the layouts on the SW102 device itself would be really impractical - you would need to use a smartphone for this.
I chose a different approach, to (quickly) make something that works well for me. I hope that it can also be useful to others. But it's not going to be anything close to "universal".
The layouts on Garmin are predefined and user can select from a some like 10 or 16 different ones, starting showing only variable up to 10 variables. No mobile app to select the layout.
Even the idea was to have the display to be placed on vertical or horizontal, and have specific layouts for horizontal. Can you imagine your graph to scale up on X and scale down on Y?
That is not my code, that code was developed by other developer and I do not have knowledge to develop such structured / flexible code, still I did learn a lot with it - that developer then moved on and developed this incredible device - Meshtastic: Open Source hiking, pilot, skiing and secure GPS mesh communicator:
https://meshtastic.org/
So knowing your firmware was not developed with this ideas, I will not use my time on the next weeks to try it. Still I am very curious and I want to look at it, to learn and maybe reuse at least the graphs.
If you want to port it to the OpenSource display, your are welcome and I can guide you in anything you may need.