How to make a triangle needle in gauge with littlevgl?

Now,the needle of the gauge is always a line,How can we make a triangle needle? Do you have any suggest?

1 Like

Unfortunately, it’s not supported right now.

In v6.0 (will be released in a few weeks) there is an image rotate feature. With this, you can create a custom gauge by using only the gauge’s background and manually rotate a needle image on it.

The current documentation of v6.0 is available here:

The latest development version is in the dev-6.0 branch.

1 Like

I will try it.

So to rotate the needle in v6 it needs a canvas and v7 does it directly?

It’s true for the images. I started to work on a feature to use an image as a needle in dev-7.0.
It should be available next week.