Skip to content
On this page

Progress Bar

A progress bar is a user interface element used to display the progress of a task or the value of a certain parameter. It visually represents the proportion of progress or value.

For more detailed information, you can refer to this link: https://docs.lvgl.io/8.3/widgets/core/bar.html

Properties

A progress bar has several properties to define its behavior and appearance.

  • Range: Defines the minimum and maximum values of the progress bar.
  • Value: Represents the current value of the progress bar.
Progress Bar Properties
Rangelv_bar_set_range
Valuelv_bar_set_value

Styles

The appearance of a progress bar can be defined using styles.

  • MAIN: The main part, including the bottom slider of the progress bar.
  • INDICATOR: The upper slider that represents the current progress or value of the progress bar.

Example

bar_1.png