Gauge Fraction
This SAIL component may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

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:

Feature compatibility

The table below lists this SAIL component's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Incompatible

The following patterns include usage of the Gauge Fraction.

Open in Github Built: Fri, Aug 12, 2022 (09:54:06 AM)

On This Page

FEEDBACK