Gauge Icon

Function

a!gaugeIcon( icon, altText, color )

Displays an icon for use within the gauge field primaryText parameter.

See also: Gauge design guidance

Parameters

Name Keyword Types Description

Icon

icon

Text

Icon to display. See the list of available icons.

Icon Alternative Text

altText

Text

Equivalent alternate text to display in the hover tooltip and for use by screen readers.

Icon Color

color

Text

Determines the icon color. Access the percentage using fv!percentage. Valid values: Any valid hex color or "ACCENT", "POSITIVE", "NEGATIVE". Defaults to the gauge field color.

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:

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

On This Page

FEEDBACK