Gauge Fraction

Function

a!gaugeFraction( denominator )

Displays text in a fractional format for use within the gauge field primaryText parameter.

See also: Gauge design guidance

Parameters

Name Keyword Types Description

Denominator

denominator

Number (Integer)

Value to display as the bottom portion of the fraction. Value cannot be negative. Default: 100. Numerator is calculated automatically based on denominator and fill percentage.

This component captures the percentage value from its parent gauge and automatically calculates the numerator based on the provided denominator, rounding to an integer.

Examples

Copy and paste an example into the INTERFACE DEFINITION in EXPRESSION MODE to see it displayed.

Use the interactive editor below to test out your code:

The following patterns include usage of the Gauge Fraction.

Open in Github Built: Wed, Aug 16, 2023 (04:37:39 PM)

On This Page

FEEDBACK