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: Fri, Oct 15, 2021 (09:55:45 AM)

On This Page

FEEDBACK