Bar with different layout


How can we change the bar graphic?
What are possibilities like you see in futuristic bike example.
Of course not from squareline but by coding.

What MCU/Processor/Board and compiler are you using?


What LVGL version are you using?


What do you want to achieve?

To be able to change the shape of a progress bar. Lets say that the futuristic demo with the battery section is great. But what is the logic behind in code.