ProgressIndicator

ProgressIndicator[x]

represents a progress indicator with setting x in the range 0 to 1.

ProgressIndicator[Dynamic[x]]

takes the setting to be the dynamically updated current value of x.

ProgressIndicator[x,{xmin,xmax}]

represents a progress indicator with range xmin to xmax.

ProgressIndicator[x,Indeterminate]

represents a progress indicator with indeterminate range.

Details and Options

  • ProgressIndicator[] displays in a notebook as a progress indicator going from left to right; it does not allow interactive modification.
  • ProgressIndicator[x,Indeterminate] displays as an object that changes whenever x changes. »
  • The following options can be given:
  • AppearanceAutomaticthe overall appearance of the progress indicator
    BaselinePositionAutomaticalignment relative to surrounding text
    BaseStyle{}base style for the progress indicator
    ImageMargins0margins around the image of the progress indicator
    ImageSizeAutomaticthe overall image size of the progress indicator
  • ProgressIndicator[] is equivalent to ProgressIndicator[0].
  • ProgressIndicator[Appearance->val] can create an indeterminate progress indicator that runs constantly. Settings for val that create such indicators include:
  • "Indeterminate"
    "Necklace"{}[[3]]
    "ArcUp"{}[[3]]
    "ArcDown"{}[[3]]
    "ArcUpFill"{}[[3]]
    "Percolate"{}[[3]]
    "Ellipsis"{}[[3]]
  • The settings for BaseStyle are appended to the default style typically given by the "ProgressIndicator" style in the current stylesheet.

Examples

open allclose all

Basic Examples  (1)

Create a progress indicator set at 0.8 in the default range 0 to 1:

Scope  (3)

Use the default range 0 to 1:

Use the fixed range 0 to 10:

Use an unknown range, and indicate change in the progress variable:

Generalizations & Extensions  (1)

Options  (4)

Appearance  (1)

Predefined progress indicator appearances:

BaselinePosition  (1)

Align with surrounding text:

ImageMargins  (1)

Add margins to the indicator:

ImageSize  (1)

Specify the overall image size:

Applications  (3)

Display the progress of a computation:

Use Indeterminate to indicate activity of unknown duration:

Use EvaluationMonitor to track solution activity in numerical functions:

Display activity indefinitely:

Properties & Relations  (2)

The zero-argument case is equivalent to zero progress:

Use PrintTemporary to display a progress indicator while a cell is evaluating:

Wolfram Research (2007), ProgressIndicator, Wolfram Language function, https://reference.wolfram.com/language/ref/ProgressIndicator.html.

Text

Wolfram Research (2007), ProgressIndicator, Wolfram Language function, https://reference.wolfram.com/language/ref/ProgressIndicator.html.

BibTeX

@misc{reference.wolfram_2020_progressindicator, author="Wolfram Research", title="{ProgressIndicator}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ProgressIndicator.html}", note=[Accessed: 02-December-2020 ]}

BibLaTeX

@online{reference.wolfram_2020_progressindicator, organization={Wolfram Research}, title={ProgressIndicator}, year={2007}, url={https://reference.wolfram.com/language/ref/ProgressIndicator.html}, note=[Accessed: 02-December-2020 ]}

CMS

Wolfram Language. 2007. "ProgressIndicator." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ProgressIndicator.html.

APA

Wolfram Language. (2007). ProgressIndicator. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ProgressIndicator.html