跳到主要内容
版本:v1.x.x

Circular Progress Bar

Circular progress bar widget can be used to show progress in a progress circle.

ToolJet - Widget Reference - Circular progress bar

Properties

信息

Any property having Fx button next to its field can be programmatically configured.

ToolJet - Widget Reference - Circular progress bar
propertiesdescriptionExpected Value
TextWe can set a text inside the progress circle.It expects a String, you can also use js to dynamically update the text as the progress changes.
ProgressIt can be used to set the progress of the widget.Progress should be an integer between 0 and 100.

General

Tooltip

A Tooltip is often used to specify extra information about something when the user hovers the mouse pointer over the widget.

Under the General accordion, you can set the value in the string format. Now hovering over the widget will display the string as the tooltip.

ToolJet - Widget Reference - Circular progress bar

Layout

ToolJet - Widget Reference - Circular progress bar
Layoutdescription
Show on desktopToggle on or off to display the widget in desktop view. You can programmatically determine the value by clicking on Fx to set the value {{true}} or {{false}}.
Show on mobileToggle on or off to display the widget in mobile view. You can programmatically determine the value by clicking on Fx to set the value {{true}} or {{false}}.

Styles

ToolJet - Widget Reference - Circular progress bar
propertiesdescriptionExpected Value
ColorTo define stroke color.HEX color code or choose color from color-picker.
Text colorTo define color of the text inside circular progress bar.HEX color code or choose color from color-picker.
Text sizeTo define the size of the textValue must between 0-100.
Stroke widthTo define the width of strokeValue must between 0-100.
Counter ClockwiseWhether to rotate progress bar in counterclockwise direction.It accepts {{true}} and {{false}}, Default value is false.
Circle ratioTo define ratio of the full circle diameter the progressbar should use.It accepts numerical value and the default is 1.
VisibilityToggle on or off to control the visibility of the widget.You can programmatically change its value by clicking on the Fx button next to it. If {{false}} the widget will not be visible after the app is deployed. By default, it's set to {{true}}.
信息

Circular progress bar widget uses react-circular-progress package. Check the repo for further more details about properties and styles.