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

Use the interactive editor below to test out your code:

Gauge with icon

Open in Github Built: Mon, Nov 15, 2021 (03:03:53 PM)

On This Page

FEEDBACK