How to draw progress bar

Description

i want to draw progress bar.But i can’t find object for progress bar.Would you give some giodance?

There’s a widget called bar. See the lvgl widgets tutorial, specifically the lv_bar examples. You could use an event handler to update the values and show progress.

https://docs.lvgl.io/latest/en/html/widgets/bar.html

Thanks a lot.

image
i want to draw this .would you give some guidance?

It’s probably best to use an image and optionally rotate it if you want it to spin.

How to rotate it if used an image?

https://docs.lvgl.io/v7/en/html/widgets/img.html

and search for ‘rotate’

You will find the following functions:
lv_img_set_pivot
lv_img_set_angle

Thanks a lot

i want to implement signature function by Touchpad.would you give some guidance?

lv_obj_t* title = lv_label_create(lv_scr_act(), NULL);
lv_label_set_text(title, “TEST”);
lv_obj_set_size(title, 320, 10);
lv_obj_align(title, NULL, LV_ALIGN_IN_TOP_MID, 0, 30);
lv_obj_set_style_local_bg_color(title, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_ORANGE);
lv_obj_set_style_local_bg_opa(title, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_COVER);


i want color area(320*10),maybe any setting missed.would you give some guidance?