---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Gauge visualization component setup

# Gauge visualization component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 22 minutes to read  
The Gauge visualization is a visualization type within the Data visualization component that lets you create gauge visualizations. A gauge can be a useful alternative to a Single score visualization if you have a fixed maximum value that you want to indicate progress towards.

## Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: For UI Builder: admin or ui_builder_admin. For
Visualization Designer in runtime: any internal role

## Procedure

1. Define a label for your Data visualization that differentiates it from other components in the content tree.  
   A descriptive label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .

   ![Data Visualization component with label displayed in the content tree]()  
2. Select the Data visualization, using one of these methods:
   * Click anywhere within the component.
   * Select the data visualization label you created for your component in the content tree.

   {#gauge-component-uib-setup__choices_c3r_5dn_pnb}  
   The configuration options appear in the panel on the right.
3. Select the gauge Data Visualization Type.  
   The available data sources and properties change depending on the selected chart type.
4. Click Add data source to select a table or indicator data source to base a visualization on.
5. Add filters to the data as needed.
6. Click Add this source to add your selected data source.
{#gauge-component-uib-setup__steps_b3r_5dn_pnb}

## Gauge visualization component properties {#ariaid-title2}

Configure the behavior of a Gauge visualization with these properties.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Creates dynamic property values from multiple sources. Sources include state variables (@state), URL variables (@context), or data resource payloads (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#gauge-config-properties__choices_4jq_bp0_csl}
{#gauge-config-properties__id_rmw_jbq_frb__entry__2}{#gauge-config-properties__entry_show-header}{#gauge-config-properties__entry_show-header-separator}{#gauge-config-properties__entry_chart-title}{#gauge-config-properties__entry_description}{#gauge-config-properties__entry_wrap-title}{#gauge-config-properties__entry_show-border}{#gauge-config-properties__entry_show-refresh-option}{#gauge-config-properties__entry_bare}

| Field \[property\] | Description |
|-|-|
| Show header \[showHeader\] | The visualization header, including title and icons. |
| Show header separator \[showHeaderSeparator\] | Option to display a line separating the header from the rest of the component. |
| Chart title \[headerTitle\] | Title of the visualization. |
| Description \[description\] | A short overview about the visualization that the end user sees. Descriptions help users find the visualization. |
| Wrap title \[wrapTitle\] | Option to wrap long titles onto a second line. If false, displays an ellipsis to truncate long titles. |
| Show border \[showBorder\] | Option to display a line around the component. |
| Show refresh option | Option to show or hide the refresh option from data visualizations. If cache is enabled on a dashboard, the Refresh option is hidden. |
| Bare \[bareBorder\] | Option to remove padding around data visualization to provide more compact positioning on the page. Only available when Show border is turned off. |
[Table 1. Header and border section properties]

{#gauge-config-properties__id_rmw_jbq_frb} {#gauge-config-properties__table_om5_qxv_yqb__entry__2}

| Field \[property\] | Description |
|-|-|
| Define data manually \[showDataPassthrough\] | Option to pass data/values directly to the chart using JSON instead of using standard data sources.{#gauge-config-properties__ph_define-data-manually} |
| Data \[dataPassthrough\] | JSON field for manually passing data. Replaces the Data sources property when Define data manually is toggled on.{#gauge-config-properties__ph_data} You can also bind a local data instance to this field. The local data resource instance must be based on one of the data resources of the Data visualization core application. Use a different local data resource instance for each type of data visualization on your page. Configure each local data resource instance to fit the visualization type. The data binding must end in `.output.result`. For more information, see [Dynamically expose data in UI Builder pages (advanced feature)](https://www.servicenow.com/docs/jK4m_e9LAH9Aa9zlfZXNWg "Sync data between ServiceNow tables and data with the pages you build with UI Builder. Pages display synced data in real time and update data/tables when a user inputs information.") and [Use a local data instance with a data visualization](https://www.servicenow.com/docs/access?context=dv-local-data-instance&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). |
| Data sources \[dataSources\] | The data source that the visualization is based on. Select from the following: * Table: The current state of your data, as it is stored in an underlying database table. You can define conditions to filter the table entries or select from sets of predefined conditions on the table. These predefined conditions are also called [Report sources](https://www.servicenow.com/docs/access?context=c_ReportSources&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). If you define custom conditions, you can use questions or service catalog variables that are defined for the table.{#gauge-config-properties__ph_table-data-source} * Indicator: Key performance indicators (KPIs) for tracking changes in your data over time. Use an indicator data source to show trends and help forecast future events. For more information, see [Performance Analytics indicators](https://www.servicenow.com/docs/access?context=c_Indicators&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). Data visualizations do not support benchmarking indicators (Benchmarking indicator = true). You can select breakdowns and breakdown elements to filter the indicators. The operators "is one of" and "is (dynamic)" are available if the indicator and breakdown support multi-element aggregation. For more information, see [Conditional filters and operators for indicators and breakdowns](https://www.servicenow.com/docs/access?context=condition-operators-ind-bkdowns&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US#section_breakdown-operators). The ability to create data visualizations of indicators can be role-restricted on your instance in the par_vis_config.data_source.can_select_indicator property. {#gauge-config-properties__ph_indicator-data-source} * Usage Insights: Usage metrics of your Next Experience web applications and others. For more information, see [Usage Insights](https://www.servicenow.com/docs/access?context=user-exp-analytics-landing&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). To include Usage Insights data sources in your visualizations, install the Usage Insights in PAR Integration application from the ServiceNow store. The available metrics depend on the visualization type. For more information about using these data sources, see [Usage Insights data sources for visualizations](https://www.servicenow.com/docs/access?context=uxa-data-sources&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). * Health Log Analytics: Analysis of log data from multiple sources to identify potential issues. Plugins for the application include dashboards and data visualizations, and the data visualizations are available in the library for reuse. For more information, see [Health Log Analytics](https://www.servicenow.com/docs/access?context=hla-landing-page&version=brazil&pubname=brazil-it-operations-management&ft:locale=en-US). Data visualizations for Health Log Analytics can be created or edited only in the UI Builder. {#gauge-config-properties__ul_hh3_gxr_j5b} |
[Table 2. Data source]

{#gauge-config-properties__table_om5_qxv_yqb}  
After selecting the data source, configure the appropriate data properties:

* Table data properties
* Indicator data properties
* Usage Insights data properties
* Health Log Analytics data properties
{#gauge-config-properties__ul_p3x_5f5_5zb}

To find the tables for each of these properties, search for each table title on this page in your browser search function.
{#gauge-config-properties__table_rx2_1cw_yqb__entry__2}{#gauge-config-properties__entry_gauge-arc-angle}{#gauge-config-properties__entry_value-label-size}{#gauge-config-properties__entry_dial-inner-radius}{#gauge-config-properties__entry_show-data-table}{#gauge-config-properties__entry_height}{#gauge-config-properties__entry_dial-min-value}{#gauge-config-properties__entry_dial-max-value}{#gauge-config-properties__entry_show-legend}{#gauge-config-properties__entry_legend-position}{#gauge-config-properties__entry_legend-orientation}{#gauge-config-properties__entry_legend-horizontal-position}{#gauge-config-properties__entry_max-legend-width}

| Field \[property\] | Description |
|-|-|
| Display settings ||
| Gauge arc angle \[gaugeArcAngle\] | Choice of sizes for the gauge, in degrees. |
| Value label size \[value\] | Characters that represent dynamic sizes: small (S), medium (M), or large (L). The actual size of the type changes in proportion to the size of the chart. |
| Inner radius \[innerRadius\] | Decimal number to set the ratio of inner radius to outer radius of the dial chart. Allowed value from 0.7 to 0.95. |
| Show data table \[showDataTable\] | Shows a table with chart and graph data for easier screen reader access. Data includes the percentage of the total for each value, when appropriate. |
| Height \[height\] | The height of the chart. |
| Ranges ||
| Min value \[minValue\] | Start value of the dial or gauge scale. If not specified, it is set automatically. |
| Max value \[maxValue\] | End value of the dial or gauge scale. If not specified, it is set automatically. |
| Configure ranges \[ranges={numberOfRanges:{id, label}, rangeColorScheme:{id, label}, data:{range_1...range_n}}\] | Specifics for a number of ranges to divide the gauge into, default 3. You select the number of ranges, the start and end values of each range, the labels, and the color spectrum. |
| Legend ||
| Show legend \[showRegister\] | Option to display the legend. Activated automatically at 400% zoom. |
| Legend position \[registerPosition\] | Legend location relative to the chart: Above, Below, Right, or Left |
| Legend orientation \[registerOrientation\] | Options for how to display the register. * Horizontal `horizontal`: Option to display the legend horizontally. * Vertical `vertical`: Option to display the legend vertically up to five lines. {#gauge-config-properties__ul_yyv_stt_2rb} This property applies only when Legend position is Below. |
| Horizontal alignment \[legendHorizontalAlignment\] | Horizontal alignment of elements in the legend: Start, Center, or End |
| Max legend item width, px \[legendMaxItemWidth\] | Number of pixels after which the item in the legend is truncated. |
| Labels ||
| Score label \[scoreLabel\] | The label of the score in the center of the gauge: * No label (None) * The same label as the visualization metric (Metric label) * The label that you set for the range that the score falls into, in Configure ranges (Range label) {#gauge-config-properties__ul_mnr_2dv_fvb} Labels are disabled and replaced by legends at 400% zoom. |
| Show range limit \[showRangeLimit\] | When true, the limits that you configured for the ranges are shown. If you did not configure any ranges, the default min and max values are shown. |
| Show range labels \[showRangeLabels\] | When true, any labels you configured for ranges are shown. This property is available only if you configured ranges and specified labels for them. |
[Table 3. Presentation section properties]

{#gauge-config-properties__table_rx2_1cw_yqb}

### Table data properties for Gauge visualizations {#ariaid-title3}

The following properties apply to Gauge data visualizations that show table data.
{#table-data-properties-gauge__table_data-props-table__entry__2}{#table-data-properties-gauge__entry_label}{#table-data-properties-gauge__entry_select-aggregate}{#table-data-properties-gauge__entry_metric-field}{#table-data-properties-gauge__entry_show-0}{#table-data-properties-gauge__entry_follow-filters}{#table-data-properties-gauge__entry_show-filter-icon}{#table-data-properties-gauge__entry_enable-drilldown}{#table-data-properties-gauge__entry_refresh-after-being-away}{#table-data-properties-gauge__entry_real-time-update}{#table-data-properties-gauge__entry_enable-custom-empty-state}{#table-data-properties-gauge__entry_empty-state-illustration}{#table-data-properties-gauge__entry_empty-state-heading}{#table-data-properties-gauge__entry_empty-state-content}{#table-data-properties-gauge__entry_empty-state-alignment}

| Field \[property\] | Description |
|-|-|
| Metric for Table data sources ||
| Label \[label\] | Label of the metric. By default it is the same as the name of the data source. Note: If you have multiple metrics on the same data source, consider giving them custom labels. If you are defining group-by fields or breakdowns, this is particularly important. Chart labels in this case show both the metric label and the group-by value, so the metrics need different labels. |
| Select an aggregation \[aggregateFunction\] | Computational method for aggregating data. The default is Count, which displays the number of records selected. Note: If you select Count Distinct, only unique records are counted. For example, you want to generate a report with a distinct number of users who have one or more of the roles in a given list of roles. Users with more than one role would be counted twice unless you use Count Distinct. |
| Field \[aggregateField\] | Field to apply the metric to, for Average, Sum, or Count Distinct aggregations. You may further be able to aggregate on fields from extended tables. The data is shown in a format that matches the field type. For example, if you select an integer field, such as the Priority field, the data is expressed as a number. If you select a duration field, such as Business duration on the Incident table, the aggregated data is expressed in days, hours, and minutes. If function fields were created in Report Designer for the table, they are available in the dropdown list. For more information, see [Report on function fields](https://www.servicenow.com/docs/access?context=function-fields-reporting&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). |
| Format values | Opens the formatting values dialog. See the Formatting properties table. |
| Additional settings for Table data sources ||
| Show 0 when no data is available \[showZero\] | When toggled on, shows empty (NULL) values as zero (0). True by default. When true, you can't set a custom message when there is no data. |
| Data update ||
| Follow filters \[followFilters\] | Follow filters set for a page. When enabled, the visualization displays on a workspace with the filters set by the page. Toggle off to disable a visualization from accepting any filter input. |
| Show filter icon \[showFilterIcon\] | Option to show the filter icon and the number of filters impacting the visualization. If a filter is not selected to apply to a visualization, the icon does not show. Toggle off to hide the filter icon and number of filters applied. |
| Enable drilldown \[enableDrilldown\] | Option to redirect a user to underlying information when they click a value or section. Destination depends on how event handler is configured or how Chart Interactions are configured on the Visualization Designer or inline dashboard editor. Turn off to prevent redirection. |
| Refresh after being away for X min. \[backgroundRefreshInterval\] | Triggered when you navigate away from the dashboard that contains the data visualization to another page in the same workspace, includingPlatform Analytics experience. Sets how many minutes you will be on another page before the visualization automatically refreshes when you navigate back. Do not confuse this property with the Scheduled repetition setting on inline dashboards. This latter property refreshes the entire dashboard, and applies only while that dashboard is open. |
| Refresh requested \[refreshRequest\] | A string that can be passed down to trigger a data refresh. Refresh will be triggered only if the new value of this property is different than the previous one. |
| Real time update \[enableRealTimeUpdate\] | Option to update score in real time. If you enable both real-time update and data caching, real-time update overrides data caching. Note: * When a condition is dot-walked to another table, high traffic on the table suspends real-time data updates. * For tables, real-time updating supports only COUNT data aggregations. * Real-time updating is not supported on single score, dial, and gauge visualizations based on remote tables or Workflow Data Fabric tables. {#table-data-properties-gauge__ul_rh5_2rn_ldc} |
| Use data cache \[useDataCache\] | If activated, user queries are cached. This cached data is used on page refreshes instead of the database being queried. The load time for the data visualization is thereby shortened. The user can get current data on demand by using the manually refreshing the data visualization with the Refresh button. Turning on Real time update, if that is available for this data visualization, overrides the use of data caching. Setting a value for Refresh after being away for X min or Refresh requested also disables data caching. Default: false |
| Show cache time \[showCacheTime\] | When true, shows an icon that indicates that returned data are from the cache. On hover, the user sees how old the data is. Applies only when useDataCache is true. Default: true (only when useCacheData is true) |
| Cache expiration time (h) \[cacheExpirationTime\] | Number denoting the lifespan of cached data in hours. When the lifespan is exceeded, a page refresh results in the cached data being updated through a database query. A value for Refresh after being away for X min or Refresh requested can result in the data cache being updated before its expiration time. Default: 0 |
| No data message This section is available only when Show zero is false. Otherwise, the no data message is 0. ||
| Set custom message when no data \[enableCustomEmptyState\] | Option to configure a custom message that displays when no data is returned. |
| Illustration \[emptyStateIllustration\] | An illustration to include in the message. |
| Heading \[emptyStateHeading\] | Header text of the message that describes why no data was returned. |
| Content \[emptyStateContent\] | Secondary text of the message that provides additional detail. |
| Alignment \[emptyStateAlignment\] | The alignment of the illustration and text in the message. |
[Table 4. Data properties for Table data sources]

{#table-data-properties-gauge__table_data-props-table}

### Indicator data properties {#ariaid-title4}

The following properties apply to Gauge data visualizations that show indicator data.
{#indicator-data-properties-gauge__table_data-props-indicator__entry__2}{#indicator-data-properties-gauge__entry_label}{#indicator-data-properties-gauge__entry_metric-time-aggregation}{#indicator-data-properties-gauge__entry_apply-date-range}{#indicator-data-properties-gauge__entry_show-data-period-as}{#indicator-data-properties-gauge__entry_set-abs-period}{#indicator-data-properties-gauge__entry_period-start}{#indicator-data-properties-gauge__entry_period-end}{#indicator-data-properties-gauge__entry_number-periods}{#indicator-data-properties-gauge__entry_period-interval}{#indicator-data-properties-gauge__entry_follow-filters}{#indicator-data-properties-gauge__entry_show-filter-icon}{#indicator-data-properties-gauge__entry_enable-drilldown}{#indicator-data-properties-gauge__entry_refresh-after-being-away}{#indicator-data-properties-gauge__entry_real-time-update-ind}{#indicator-data-properties-gauge__entry_enable-custom-empty-state}{#indicator-data-properties-gauge__entry_empty-state-illustration}{#indicator-data-properties-gauge__entry_empty-state-heading}{#indicator-data-properties-gauge__entry_empty-state-content}{#indicator-data-properties-gauge__entry_empty-state-alignment}

| Field \[property\] | Description |
|-|-|
| Metric for Indicator data sources ||
| Label \[label\] | Label of the metric. By default it is the same as the name of the data source. Note: If you have multiple metrics on the same data source, consider giving them custom labels. If you are defining group-by fields or breakdowns, this is particularly important. Chart labels in this case show both the metric label and the group-by value, so the metrics need different labels. |
| Time aggregation \[aggregateIndicator\] | Time aggregation to apply to the metric, such as 7-day running SUM or By-month AVG. Default is the same as the indicator period. For more information, see [Applying time series aggregations](https://www.servicenow.com/docs/access?context=applying-time-series-aggregations&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). |
| Format values | Opens the formatting values dialog. See the Formatting properties table. |
| Date range options ||
| Apply date range \[applyDateRange\] | When turned on, this option allows date filters on the dashboard or UIB page to apply to this visualization. The date range can also be configured in the visualization, but date filters override visualization settings. |
| Show data for selected period as \[scoreType\] | Available when Apply date range is selected. The indicator aggregation logic for how scores from the selected period are shown, such as Latest score, Sum, or Average. |
| Set absolute period \[showAbsolutePeriod\] | Option to set absolute start and end date. Available when Apply date range is selected. |
| Period start \[startTime\] | Start date for the absolute period. This property applies only when Set absolute period is true. |
| Period end \[endTime\] | End date for the absolute period. This property applies only when Set absolute period is true. Select Use current date for period end to automatically update the end date to the current date. (Not available if the start date is in the future.) |
| Number of periods \[numberOfPeriods\] | Number of date periods to display. This property applies only when Set absolute period is true. |
| Period \[period\] | Time interval for each date period. * Days `D` * Weeks `W` * Months `M` * Quarters `Q` * Years `Y` {#indicator-data-properties-gauge__ul_zv5_31y_drb} The available periods depend on the time aggregation. A period can't be shorter than the time aggregation unit. If you change the time aggregation to a longer unit than the selected period, the period changes to the shortest period that is still available. This property applies only when Set absolute period is false. |
| Data update ||
| Follow filters \[followFilters\] | Follow filters set for a page. When enabled, the visualization displays on a workspace with the filters set by the page. Toggle off to disable a visualization from accepting any filter input. |
| Show filter icon \[showFilterIcon\] | Option to show the filter icon and the number of filters impacting the visualization. If a filter is not selected to apply to a visualization, the icon does not show. Toggle off to hide the filter icon and number of filters applied. |
| Enable drilldown \[enableDrilldown\] | Option to redirect a user to underlying information when they click a value or section. Destination depends on how event handler is configured or how Chart Interactions are configured on the Visualization Designer or inline dashboard editor. Turn off to prevent redirection. |
| Refresh after being away for X min. \[backgroundRefreshInterval\] | Triggered when you navigate away from the dashboard that contains the data visualization to another page in the same workspace, includingPlatform Analytics experience. Sets how many minutes you will be on another page before the visualization automatically refreshes when you navigate back. Do not confuse this property with the Scheduled repetition setting on inline dashboards. This latter property refreshes the entire dashboard, and applies only while that dashboard is open. |
| Refresh requested \[refreshRequest\] | A string that can be passed down to trigger a data refresh. Refresh will be triggered only if the new value of this property is different than the previous one. |
| Real time update \[enableRealTimeUpdate\] | Option to update score in real time. Note: * This setting is available for automated, non-scripted indicators with a non-scripted breakdown mapping. * Real-time score updating does not support MIN, MAX, or COUNT DISTINCT aggregations. {#indicator-data-properties-gauge__ul_elq_gf4_jxb} |
| Use data cache \[useDataCache\] | If activated, user queries are cached. This cached data is used on page refreshes instead of the database being queried. The load time for the data visualization is thereby shortened. The user can get current data on demand by using the manually refreshing the data visualization with the Refresh button. Turning on Real time update, if that is available for this data visualization, overrides the use of data caching. Setting a value for Refresh after being away for X min or Refresh requested also disables data caching. Default: false |
| Show cache time \[showCacheTime\] | When true, shows an icon that indicates that returned data are from the cache. On hover, the user sees how old the data is. Applies only when useDataCache is true. Default: true (only when useCacheData is true) |
| Cache expiration time (h) \[cacheExpirationTime\] | Number denoting the lifespan of cached data in hours. When the lifespan is exceeded, a page refresh results in the cached data being updated through a database query. A value for Refresh after being away for X min or Refresh requested can result in the data cache being updated before its expiration time. Default: 0 |
| No data message ||
| Set custom message when no data \[enableCustomEmptyState\] | Option to configure a custom message that displays when no data is returned. |
| Illustration \[emptyStateIllustration\] | An illustration to include in the message. |
| Heading \[emptyStateHeading\] | Header text of the message that describes why no data was returned. |
| Content \[emptyStateContent\] | Secondary text of the message that provides additional detail. |
| Alignment \[emptyStateAlignment\] | The alignment of the illustration and text in the message. |
[Table 5. Data properties for Indicator data source]

{#indicator-data-properties-gauge__table_data-props-indicator}

### User Experience Analytics data properties {#ariaid-title5}

The following properties apply to Gauge data visualizations that show Usage Insights data.
{#uxa-data-properties-gauge__table_it1_rtn_k5b__entry__2}{#uxa-data-properties-gauge__entry_label}{#uxa-data-properties-gauge__entry_follow-filters}{#uxa-data-properties-gauge__entry_show-filter-icon}{#uxa-data-properties-gauge__entry_enable-drilldown}{#uxa-data-properties-gauge__entry_refresh-after-being-away}{#uxa-data-properties-gauge__entry_enable-custom-empty-state}{#uxa-data-properties-gauge__entry_empty-state-illustration}{#uxa-data-properties-gauge__entry_empty-state-heading}{#uxa-data-properties-gauge__entry_empty-state-content}{#uxa-data-properties-gauge__entry_empty-state-alignment}

| Field \[property\] | Description |
|-|-|
| Metric properties for Usage Insights data sources ||
| Label \[label\] | Label of the metric. By default it is the same as the name of the data source. Note: If you have multiple metrics on the same data source, consider giving them custom labels. If you are defining group-by fields or breakdowns, this is particularly important. Chart labels in this case show both the metric label and the group-by value, so the metrics need different labels. |
| Format values | Opens the formatting values dialog. See the Formatting properties table. |
| Data update options---Usage Insights data sources ||
| Follow filters \[followFilters\] | Follow filters set for a page. When enabled, the visualization displays on a workspace with the filters set by the page. Toggle off to disable a visualization from accepting any filter input. |
| Show filter icon \[showFilterIcon\] | Option to show the filter icon and the number of filters impacting the visualization. If a filter is not selected to apply to a visualization, the icon does not show. Toggle off to hide the filter icon and number of filters applied. |
| Enable drilldown \[enableDrilldown\] | Option to redirect a user to underlying information when they click a value or section. Destination depends on how event handler is configured or how Chart Interactions are configured on the Visualization Designer or inline dashboard editor. Turn off to prevent redirection. |
| Refresh after being away for X min. \[backgroundRefreshInterval\] | Triggered when you navigate away from the dashboard that contains the data visualization to another page in the same workspace, includingPlatform Analytics experience. Sets how many minutes you will be on another page before the visualization automatically refreshes when you navigate back. Do not confuse this property with the Scheduled repetition setting on inline dashboards. This latter property refreshes the entire dashboard, and applies only while that dashboard is open. |
| Refresh requested \[refreshRequest\] | A string that can be passed down to trigger a data refresh. Refresh will be triggered only if the new value of this property is different than the previous one. |
| No data message ||
| Set custom message when no data \[enableCustomEmptyState\] | Option to configure a custom message that displays when no data is returned. |
| Illustration \[emptyStateIllustration\] | An illustration to include in the message. |
| Heading \[emptyStateHeading\] | Header text of the message that describes why no data was returned. |
| Content \[emptyStateContent\] | Secondary text of the message that provides additional detail. |
| Alignment \[emptyStateAlignment\] | The alignment of the illustration and text in the message. |
[Table 6. Data properties for Usage Insights data sources]

{#uxa-data-properties-gauge__table_it1_rtn_k5b}

### Health Log Analytics data properties {#ariaid-title6}

These properties configure how Health Log Analytics data is presented on gauge visualizations.
{#hla-data-properties-gauge__table_data-props-indicator__entry__2}{#hla-data-properties-gauge__entry_label}{#hla-data-properties-gauge__entry_set-abs-period}{#hla-data-properties-gauge__entry_period-start}{#hla-data-properties-gauge__entry_period-end}{#hla-data-properties-gauge__entry_number-periods}{#hla-data-properties-gauge__entry_period-interval}{#hla-data-properties-gauge__entry_follow-filters}{#hla-data-properties-gauge__entry_show-filter-icon}{#hla-data-properties-gauge__entry_refresh-after-being-away}

| Field \[property\] | Description |
|-|-|
| Metric for Indicator data sources ||
| Label \[label\] | Label of the metric. By default it is the same as the name of the data source. Note: If you have multiple metrics on the same data source, consider giving them custom labels. If you are defining group-by fields or breakdowns, this is particularly important. Chart labels in this case show both the metric label and the group-by value, so the metrics need different labels. |
| Format values | Opens the formatting values dialog. See the Formatting Properties table. |
| Date range ||
| Set absolute period \[showAbsolutePeriod\] | Option to set absolute start and end date. Available when Apply date range is selected. |
| Period start \[startTime\] | Start date for the absolute period. This property applies only when Set absolute period is true. |
| Period end \[endTime\] | End date for the absolute period. This property applies only when Set absolute period is true. Select Use current date for period end to automatically update the end date to the current date. (Not available if the start date is in the future.) |
| Number of periods \[numberOfPeriods\] | Number of date periods to display. This property applies only when Set absolute period is true. |
| Period \[period\] | Time interval for each date period. * Days `D` * Weeks `W` * Months `M` * Quarters `Q` * Years `Y` {#hla-data-properties-gauge__ul_zv5_31y_drb} The available periods depend on the time aggregation. A period can't be shorter than the time aggregation unit. If you change the time aggregation to a longer unit than the selected period, the period changes to the shortest period that is still available. This property applies only when Set absolute period is false. |
| Data update ||
| Follow filters \[followFilters\] | Follow filters set for a page. When enabled, the visualization displays on a workspace with the filters set by the page. Toggle off to disable a visualization from accepting any filter input. |
| Show filter icon \[showFilterIcon\] | Option to show the filter icon and the number of filters impacting the visualization. If a filter is not selected to apply to a visualization, the icon does not show. Toggle off to hide the filter icon and number of filters applied. |
| Enable drilldown \[enableDrilldown\] | Enables the viewer to open the Health Log Analytics log viewer by interacting with the chart, such as by clicking on a value. |
| Refresh after being away for X min. \[backgroundRefreshInterval\] | Triggered when you navigate away from the dashboard that contains the data visualization to another page in the same workspace, includingPlatform Analytics experience. Sets how many minutes you will be on another page before the visualization automatically refreshes when you navigate back. Do not confuse this property with the Scheduled repetition setting on inline dashboards. This latter property refreshes the entire dashboard, and applies only while that dashboard is open. |
| Refresh requested \[refreshRequest\] | A string that can be passed down to trigger a data refresh. Refresh will be triggered only if the new value of this property is different than the previous one. |
[Table 7. Data properties for Health Log Analytics data source]

{#hla-data-properties-gauge__table_data-props-indicator}

### Formatting properties {#ariaid-title7}

The following properties are available for formatting all Gauge visualizations. Access them from the Format values link under Metric.
{#formatting-properties-gauge__table_formatting__entry__2}{#formatting-properties-gauge__entry_custom-format}{#formatting-properties-gauge__entry_decimal-precision}{#formatting-properties-gauge__entry_rounding}{#formatting-properties-gauge__entry_1000s-separator}{#formatting-properties-gauge__entry-enable-abbreviation}{#formatting-properties-gauge__entry_example}

| Field \[property\] | Description |
|-|-|
| Use custom formatting \[customFormat\] | Option to use custom formatting on the component. |
| Decimal precision \[decimalPrecision\] | Number of decimal places to show in the metric. Note: Only available when Use custom formatting is true |
| Rounding \[rounding\] | Type of rounding to use to reach the number of decimals in the Decimal precision field. Options include: * Up `UP` * Down `DOWN` * Ceiling `CEILING` * Floor `FLOOR` * Half up `HALF_UP` * Half down `HALF_DOWN` * Half even `HALF_EVEN` {#formatting-properties-gauge__ul_l4g_3tk_grb} Note: Only available when Use custom formatting is true. |
| Use the thousands group separator \[thousandSeparatorEnabled\] | Option to use a comma to separate groups of thousands. Note: Only available when Use custom formatting is true. |
| Enable abbreviation \[abbreviationEnabled\] | Option to use an alphabetical abbreviation. For example, M to represent million. Note: Only available when Use custom formatting is true. |
| Example | Example of the final value to show in the component. Note: Only available when Use custom formatting is true |
[Table 8. Formatting values]

{#formatting-properties-gauge__table_formatting}

## Gauge visualization component events {#ariaid-title8}

Select event handlers to configure the actions (events) provided with the Gauge visualization component.
The Events tab shows the events used by the Gauge visualization component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event
handlers.

### Event handlers {#gauge-config-events__section__1gs_urb_wlz}

Event handlers work with data resources to link the Gauge visualization actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.

For instructions on adding event handlers to an event, see [Configure an event handler](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").

### Event descriptions {#gauge-config-events__section_ucf_kr3_twb}

{#gauge-config-events__table_msr_kpn_pnb__entry__2}

| Event | Description |
|-|-|
| Visualization Clicked | Dispatched when the visualization is clicked. Payload: * [ItemSelectedPayload](https://developer.servicenow.com/dev.do#!/reference/now-experience/tokyo/shared-components/now-vis-score-wrapper/uib-config%23typedefs-ClickEventPayload) -- Payload of the action dispatched when the visualization is clicked. Payload type: `{title: string, type: string, params: PayloadParams, data: PayloadData}` * PayloadBreakdown - Breakdowns represented as a json object. Payload type: `{sysId: string, elements: Array.<string>}` * PayloadParams -- Parameters of the clicked visualization.Payload type: `{table: string, query: string, indicatorSysid: string, breakdowns: Array.<PayloadBreakdown>, domain: string, aggregate: string, scoreDate: string}` * PayloadData - Payload from the data point (timestamp, element name, value, color, cssColor) is dispatched when clicking a visualization. For example, clicking on a data point in a timeseries chart passes the timestamp and value in the payload. Payload type: `{elements: Array.<string>, value: string, color: string, cssColor: string}` {#gauge-config-events__ul_hp5_l1k_gqb} |
[ ]

{#gauge-config-events__table_msr_kpn_pnb}

