Progress Circle

A visual indication of progress based on a percentage value. It can show or hide the current value.

Properties

Available properties for Progress Circle with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.

NameTypeDescriptionvaluenumber

The current value.

hiddenboolean

Whether the component is visible.

hideOutputboolean

Whether to hide the caption displayed with the current value.

horizontalAlign'left' | 'center' | 'right'

The horizontal alignment of the contents.

indeterminateboolean

Whether to show a loading state with unknown progress.

maintainSpaceWhenHiddenboolean

Whether the component takes up space on the canvas if hidden is true.

marginstring

The amount of margin to render outside of the component.

showInEditorboolean

Whether the component remains visible in the editor if hidden is true.

tooltipTextstring

The text to display in a tooltip on hover or focus.

Methods

Methods for interacting with Progress Circle. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.

NameDescriptionsetValue(value: string | number)

Set the current value.

clearValue()

Clear the current value.

scrollIntoView(options: any)

Scrolls the canvas or parent container so that the selected component appears in the visible area.

setHidden(hidden: boolean)

Set the hidden value to toggle whether the component is visible. Defaults to true without a parameter.

resetValue()

Reset value to the default value.

Related components