Gauge Icon

Gauge Icon

Function: a!gaugeIcon()

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

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.

Example

1
2
3
4
5
6
=a!gaugeField(
  label: "Evaluations Completed",
  percentage: (25 / 26) * 100,
  primarytext: a!gaugeIcon(icon: "pencil"),
  secondaryText: "25 of 26"
)

Displays the following:

Gauge Icon Example

FEEDBACK