Timeseries visualization component setup
The Timeseries visualization is a visualization type within the Data visualization component that lets you create time series visualizations, such as scatter, spline, and area charts.
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.
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
-
Define a label for your Data visualization component that differentiates it from other components in the content tree.
A 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.
[Omitted image "data-vis-content-tree.png"] Alt text: Data Visualization component with label displayed in the content tree
-
Select the Data visualization component, using one of these methods:
- Click anywhere within the component.
- Select the data visualization label you created for your component in the content tree. The property fields appear in the Config tab in the setup panel on the right.
-
Select one of Time series Data Visualization Types: Area, Column, Line, Scatter, Spline, or Step.
The available data sources and properties change depending on the selected chart type.
-
Click Add data source to select a table, indicator, or MetricBase data source to base a visualization on. MetricBase is only available with time series visualizations.
-
Add filters to the data as needed.
-
Click Add this source to add your selected data source.
Parent Topic:UIB Setup Information
Timeseries visualization component properties
Configure the behavior of Timeseries 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.
- Scripting: Creates a scripted property value. For details on scripted values, see Create and bind a client state parameter to a component.
|
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. |
|
Field [property] |
Description |
|---|---|
|
Define data manually [showDataPassthrough] |
Option to pass data/values directly to the chart using JSON instead of using standard data sources. |
|
Data [dataPassthrough] |
JSON field for manually passing data. Replaces the Data sources property when Define data manually is toggled on. 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 [Omitted image "data-viz-data-source-binding.png"] Alt text: Local data binding instance bound to data visualization. For more information, see Dynamically expose data in UI Builder pages (advanced feature) and Use a local data instance with a data visualization. |
|
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.
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. 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.
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.
Data visualizations for Health Log Analytics can be created or edited only in the UI Builder. |
After selecting the data source, configure the appropriate data properties:
- Table data properties
- Indicator data properties
- Usage Insights data properties
- MetricBase data properties
- Health Log Analytics data properties
To find the tables for each of these properties, search for each table title on this page in your browser search function.
|
Field [property] |
Description |
|---|---|
|
Display settings Not all chart types support all display properties. | |
|
Line stroke width [lineStrokeWidth] |
Sets the line stroke width for the items on the chart in pixels. |
|
Chart variation [chartVariation] |
Select whether to display the group-by values in stacked columns or side-by-side. |
|
Disable tooltip [disableTooltip] |
Option to remove tooltips on hover.Default: false |
|
Show only one data point in tooltip [showClosestSeriesOnHover] |
When turned on, the tooltip shows only the data point being hovered over. When turned off, the tooltip shows all data points.Default: Off, except when zoom is 400%, which automatically turns it on. |
|
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. |
|
Show markers [showMarkers] |
Display a symbol at each data point on the chart to simplify identifying specific values. Available for line, spline, area, and step charts. |
|
Show 0 when no data available [showZero] |
Choose whether to show 0 when there is no value in the selected dataset or for the configuration. |
|
Show continuous line [showContinuousLine] |
When selected and there is no data for a specific time, there is no gap in the chart, which then shows a continuous line. Overridden by Show 0 when no data available. |
|
Y axis | |
|
Hide primary axis [hideYAxis0] |
Option to hide the vertical axis. This property applies only when the chart has a single Y axis. |
|
Primary axis title [yAxis0Title] |
Title to display on the vertical axis of the visualization.This property applies only when Hide primary axis is false. If there is more than one Y-axis, you have additional axis titles, representing the properties yAxis1Title, yAxis2Title, etc. Add a Y-axis scale for a metric in the More options menu for the metric. |
|
Primary axis range - from [yAxis0From] |
Starting point for the range of values for the vertical axis of the visualization.If there is more than one Y-axis, you have additional axis ranges, representing the properties yAxis1From, yAxis2From, etc. |
|
Primary axis range - to [yAxis0To] |
Ending point for the range of values for the vertical axis of the visualization.If there is more than one Y-axis, you have additional axis ranges, representing the properties yAxis1To, yAxis2To, etc. |
|
Primary axis position [yAxisPosition] |
Position of the primary axis. Options include:- Left
This property applies only when Hide axis is false. If there is more than one Y-axis, you have additional axis positions, representing the properties yAxis1Position, yAxis2Position, etc. |
|
Show grid [bar: showYGrid] [time series: yAxisShowGrid] |
Adds grid lines to the chart. |
|
Axis style [yAxisStyle] |
Style of the Y axis. - Clean
|
|
X axis | |
|
X axis title [xAxisTitle] |
Title to display on the horizontal axis of the visualization. |
|
Legend | |
|
Show legend [showRegister] |
Option to display the legend. Activated automatically at 400% zoom. |
|
Show legend value [showRegisterValue] |
Option to display the value corresponding to the area of the chart you hover on. The value displays as a tooltip and in the chart legend. |
|
Legend position [registerPosition] |
Legend location relative to the chart: Above, Below, Right, or Left |
|
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. |
|
Expand legend vertically [legendExpandToFit] |
When turned on, the legend contents take as much space as needed to fit the legend without scrolling, instead of the maximum 2 lines. |
|
Data label | |
|
Show data labels [showDataLabels] |
Option to display the score for each data point. |
|
Colors | |
|
Set color type [type] |
Type of color scheme to apply to the component. Options include: - Default
If the visualization has more than one metric, you see the Colors per metric option instead. This option lets you select a single color [singleColor] for each metric.
Note: Single color is only available when no Group by is selected. |
|
Palette [palette] |
Color palette to apply to the component. Note: Only available when Set color type is Color palette. |
These properties configure how table data is presented on time series visualizations.
|
Field [property] |
Description |
|---|---|
|
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon. [Omitted image "ts-chart-choice-multi-metrics.png"] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu. Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric. [Omitted image "ts-metric-multi-addaxis.png"] Alt text: Adding Y-axis charts for each metric. Lastly, you can set dashboard filters to apply only to specific metrics. For more information, see Options for time series data visualizations with multiple metrics. | |
|
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. |
|
Format values |
Opens the formatting values dialog. See the Formatting properties table. |
|
Group by | |
|
Field for <table> [groupByField] |
The field to group by. You can group by any field in the table including list fields.For example, in a visualization of incident data grouped by Assignment group, all incidents that belong to Software, Service Desk, and Network are placed in separate groups. If the table contains variables or question fields, you have the option to group by one of them at the end of the list of fields. Note:
|
|
Add alternative group by [additionalGroupByConfig] |
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.Important:
|
|
Selector visible by default [showAdditionalGroupBySelector] |
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added. Default: false |
|
Sorting | |
|
Sort by [sortBy] |
Sorting options of the main and alternative groups set in Group by. Options include:- Name: Sorts the values alphabetically by field or element name.
Note:
|
|
Sort by order [sortByOrder] |
The direction of the group-by sorting. Options include:- Ascending
|
|
Trend by | |
|
Aggregation period [trendByFrequency] |
The period by which values are aggregated to calculate the trend. Options come from the standard calendar and any business calendars that are defined on the instance, such as the Gregorian. Select Auto to have the application infer the aggregation level based on the selected date range. Automatic aggregation respects business calendars and shift schedules. |
|
Interval in minutes [trendByMinuteInterval] |
Number of minutes in each aggregation period. This property applies only when Aggregation period is Minute. |
|
Date field for <table> [trendByFields] |
The date field on the table to aggregate by. You can only select fields of the following data types:- Date
|
|
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. |
|
Follow filter per metric [filterPerMetric] |
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see Following filters per metric. |
|
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. |
|
Drill down label [drilldownLabel] |
Text visible at the tooltip to help user understand what will happen on click. |
|
Show selected data point [enableClickAndStay] |
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter. |
|
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. |
|
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. |
These properties configure how indicator data is presented on time series visualizations.
|
Field [property] |
Description |
|---|---|
|
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon. [Omitted image "ts-chart-choice-multi-metrics.png"] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu. Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric. [Omitted image "ts-metric-multi-addaxis.png"] Alt text: Adding Y-axis charts for each metric. Lastly, you can set dashboard filters to apply only to specific metrics. For more information, see Options for time series data visualizations with multiple metrics. | |
|
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. |
|
Format values |
Opens the formatting values dialog. See the Formatting properties table. |
|
Group by | |
|
Breakdown [breakdown] |
Group indicator scores by a breakdown.Important:
|
|
Add alternative group by [additionalGroupByConfig] |
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.Important:
|
|
Selector visible by default [showAdditionalGroupBySelector] |
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added. Default: false |
|
Sorting | |
|
Sort by [sortBy] |
Sorting options of the main and alternative groups set in Group by. Options include:- Name: Sorts the values alphabetically by field or element name.
Note:
|
|
Sort by order [sortByOrder] |
The direction of the group-by sorting. Options include:- Ascending
|
|
Date range | |
|
Show maximum range [showMaximumRange] |
Option to show the maximum range of available dates. |
|
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
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. |
|
Allow change date range [allowChangeDateRange] |
When turned on, the viewer has a date range selector control with a set of predefined options. Not available when Compare period over period is turned on. |
|
Show range picker by default [showDateRangeByDefault] |
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu. Default: off (false) |
|
Additional settings | |
|
Show target [showTarget] |
Option to display the target value.Not available when Compare period over period is turned on. |
|
Show forecast [showForecast] |
Option to display forecast data in the chart based on current trend data.Note: If there is not enough historical data to generate a forecast, no forecast or error is displayed. Not available when Compare period over period is turned on. |
|
Configure forecast [forecastConfig] |
Opens a dialog where you set the following array of JSON properties: - forecastMethod: The forecast method to use
For more information, see Configure a forecast in a time series data visualization. |
|
Show forecast range [showForecastRange] |
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on. |
|
Show trend [showTrend] |
Option to display the direction that the indicator is moving, or how values have changed over time.Not available when Compare period over period is turned on. |
|
Show confidence band [showConfidenceBand] |
Option to display the bandwidth between which indicator scores are moving.Not available when Compare period over period is turned on. |
|
Show threshold [showThreshold] |
Option to display an active threshold set for the selected indicator, such as an all-time high or low. Thresholds appear only if they have been defined for the selected indicator. |
|
Show comment [showComment] |
Option to display comments added to data points.Not available when Compare period over period is turned on. |
|
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. |
|
Follow filter per metric [filterPerMetric] |
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see Following filters per metric. |
|
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. |
|
Show filter as separate series [showFilterAsSeparateSeries] |
When toggled on, if there is a filter applying multiple elements, these elements are shown as separate lines in the chart. The filter can be a component added to a dashboard or UI Builder page, or it can be an "is one of" filter condition on the data visualization itself. This feature supports only one breakdown at a time. Other breakdown filters have no effect on the chart. Filter precedence works as follows:
Default: off. A single aggregate line is shown for all elements. Requires the latest Data Visualization application from the ServiceNow Store. Note: Available only when no Group by is defined. Not available when Compare period over period is turned on. |
|
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. |
|
Drill down label [drilldownLabel] |
Text visible at the tooltip to help user understand what will happen on click. |
|
Show selected data point [enableClickAndStay] |
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter. |
|
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. |
|
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. |
These properties configure how Usage Insights data is presented on time series visualizations.
|
Field [property] |
Description |
|---|---|
|
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon. [Omitted image "ts-chart-choice-multi-metrics.png"] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu. Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric. [Omitted image "ts-metric-multi-addaxis.png"] Alt text: Adding Y-axis charts for each metric. Lastly, you can set dashboard filters to apply only to specific metrics. For more information, see Options for time series data visualizations with multiple metrics. | |
|
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. |
|
Group by - Events only | |
|
Event property [eventPropertyValue] |
List of properties to choose from for Usage Insights Event sources that have properties. This option applies only to Events metrics. |
|
Add alternative group by [additionalGroupByConfig] |
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.Important:
|
|
Selector visible by default [showAdditionalGroupBySelector] |
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added. Default: false |
|
Trend by | |
|
Aggregation period [trendByFrequency] |
The period by which values are aggregated to calculate the trend. Options come from the standard calendar and any business calendars that are defined on the instance, such as the Gregorian. Select Auto to have the application infer the aggregation level based on the selected date range. Automatic aggregation respects business calendars and shift schedules. |
|
Date range | |
|
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. |
|
Show maximum range [showMaximumRange] |
Option to show the maximum range of available dates. |
|
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
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. |
|
Allow change date range [allowChangeDateRange] |
When turned on, the viewer has a date range selector control with a set of predefined options. Not available when Compare period over period is turned on. |
|
Show range picker by default [showDateRangeByDefault] |
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu. Default: off (false) |
|
Additional settings | |
|
Show forecast [showForecast] |
Option to display forecast data in the chart based on current trend data. Requires licensed Performance Analytics.Note: If there is not enough historical data to generate a forecast, no forecast or error is displayed. |
|
Configure forecast [forecastConfig] |
Opens a dialog where you set the following array of JSON properties: - forecastMethod: The forecast method to use
For more information, see Configure a forecast in a time series data visualization. |
|
Show forecast range [showForecastRange] |
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on. |
|
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. |
|
Follow filter per metric [filterPerMetric] |
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see Following filters per metric. |
|
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. |
|
Drill down label [drilldownLabel] |
Text visible at the tooltip to help user understand what will happen on click. |
|
Show selected data point [enableClickAndStay] |
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter. |
|
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. |
These properties configure how MetricBase data is presented on time series visualizations.
|
Field [property] |
Description |
|---|---|
|
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon. [Omitted image "ts-chart-choice-multi-metrics.png"] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu. Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric. [Omitted image "ts-metric-multi-addaxis.png"] Alt text: Adding Y-axis charts for each metric. Lastly, you can set dashboard filters to apply only to specific metrics. For more information, see Options for time series data visualizations with multiple metrics. | |
|
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. |
|
Metric [metric] |
Metrics determined in your MetricBase database. |
|
Transform [transform] |
Option to apply a transform to the data. For example, you can select Envelope to show the minimum and maximum (envelope) value within the dataset. For more information, see MetricBase transforms. |
|
Dynamic period based on time range [isDynamicPeriod] |
When enabled, the aggregation period is set according to the time range. Time range < 4 hours: minute aggregation. Time range 4 hours - 3 days: hourly aggregation. Time range > 3 days: daily aggregation. Applies only when the Transform is Resample. |
|
Label [label] |
Label to apply to the transform. This property applies only when Transform is Label. |
|
Model [model] |
Prediction model to use to transform the data. If a model does not already exist, you can create one. To learn more, see Detect anomalies in MetricBase data using predictive models.This property applies only when Transform is Predict. |
|
Count [count] |
Specified number of values to show in the metric dataset.This property applies only when Transform is Top or Bottom. |
|
Summand [summand] |
Specified value to add to the data points in the dataset.This property applies only when Transform is Add. |
|
Subtrahend [subtrahend] |
Specified value to subtract from the data points in the dataset.This property applies only when Transform is Subtract. |
|
Factor [factor] |
Value to multiply the data points in the dataset by. This property applies only when Transform is Multiply. |
|
Divisor [divisor] |
Value to divide the data points in the dataset by. This property applies only when Transform is Divide. |
|
Duration [duration] |
Specified duration of new data points used to calculate an outcome.This property applies only when Transform is Interpolate. |
|
Fractions [fractions] |
Percentiles of the underlying data to create a dataset.This property applies only when Transform is Fractiles. |
|
Function [function] |
Aggregation function used to calculate a new dataset. This property applies only when Transform is Resample, Filter, or Partition. |
|
Period [period] |
New time period to apply to the dataset.This property applies only when Transform is Resample. |
|
Window [window] |
Sliding time window of the given duration to create the new dataset. This property applies only when Transform is Filter or Partition. |
|
Base [base] |
A timestamp to align the partition window.This property applies only when Transform is Partition. |
|
Format values |
Opens the formatting values dialog. In this dialog you have three sets of formatting you can select:
|
|
Group by | |
|
Field for <data source> [groupByField] |
The field on the MetricBase data source to group by. For example, for a visualization of the Monitorable Item data source, you can group by Created by, Name, Primary, Tags, Type, or Updated by. |
|
Add alternative group by [additionalGroupByConfig] |
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.Important:
|
|
Selector visible by default [showAdditionalGroupBySelector] |
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added. Default: false |
|
Date range | |
|
Show maximum range [showMaximumRange] |
Option to show the maximum range of available dates. |
|
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. - Hours
This property applies only when Set absolute period is false. |
|
Date format [dateFormat] |
Defines the date format for the X axis. - Default
|
|
Allow change date range [allowChangeDateRange] |
When turned on, the viewer has a date range selector control with a set of predefined options. Not available when Compare period over period is turned on. |
|
Show range picker by default [showDateRangeByDefault] |
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu. Default: off (false) |
|
Additional settings | |
|
Show forecast [showForecast] |
Option to display forecast data in the chart based on current trend data. Requires licensed Performance Analytics.Note: If there is not enough historical data to generate a forecast, no forecast or error is displayed. |
|
Configure forecast [forecastConfig] |
Opens a dialog where you set the following array of JSON properties: - forecastMethod: The forecast method to use
For more information, see Configure a forecast in a time series data visualization. |
|
Show forecast range [showForecastRange] |
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on. |
|
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. |
|
Follow filter per metric [filterPerMetric] |
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see Following filters per metric. |
|
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. |
|
Drill down label [drilldownLabel] |
Text visible at the tooltip to help user understand what will happen on click. |
|
Show selected data point [enableClickAndStay] |
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter. |
|
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. |
These properties configure how Health Log Analytics data is presented on time series visualizations.
|
Field [property] |
Description |
|---|---|
|
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon. [Omitted image "ts-chart-choice-multi-metrics.png"] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu. Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric. [Omitted image "ts-metric-multi-addaxis.png"] Alt text: Adding Y-axis charts for each metric. Lastly, you can set dashboard filters to apply only to specific metrics. For more information, see Options for time series data visualizations with multiple metrics. | |
|
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. |
|
Group by | |
|
Field for grouping [groupByField] |
A selection of Health Log Analytics fields you can group the data by. |
|
Max number of groups [maxNumberOfGroups] |
Select the maximum number of groups to display. Groups in excess of this number, determined by sorting, are aggregated into the Other group. You can show that aggregate with the Show others option.By default, you can't show more than 50 groups. If you have the admin role, you can change this limit in the par_viz.table_data.max_groups system property. |
|
Date range | |
|
Show maximum range [showMaximumRange] |
Option to show the maximum range of available dates. |
|
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
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. |
|
Allow change date range [allowChangeDateRange] |
When turned on, the viewer has a date range selector control with a set of predefined options. Not available when Compare period over period is turned on. |
|
Show range picker by default [showDateRangeByDefault] |
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu. Default: off (false) |
|
Additional settings | |
|
Show forecast [showForecast] |
Option to display forecast data in the chart based on current trend data.Note: If there is not enough historical data to generate a forecast, no forecast or error is displayed. Not available when Compare period over period is turned on. |
|
Configure forecast [forecastConfig] |
Opens a dialog where you set the following array of JSON properties: - forecastMethod: The forecast method to use
For more information, see Configure a forecast in a time series data visualization. |
|
Show forecast range [showForecastRange] |
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on. |
|
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. |
|
Follow filter per metric [filterPerMetric] |
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see Following filters per metric. |
|
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. |
|
Drill down label [drilldownLabel] |
Text visible at the tooltip to help user understand what will happen on click. |
|
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 formatting values apply to time series visualizations for all data sources. Duration formatting values apply only to MetricBase data sources. Access these properties through the Format values link under Metrics.
|
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
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 |
|
Show original number in tooltips [numberInTooltipsEnabled] |
Option to include a tooltip to show the unformatted number when pointed to. Note: Only available when Use custom formatting and Enable abbreviation are true. |
|
Field [property] |
Description |
|---|---|
|
Unit format [unitFormat] |
Option to show units in short (single letter) or long (written out) form |
|
Maximum duration unit [maxDurationUnit] |
Largest time unit in which duration is expressed. |
|
Minimum duration unit [minDurationUnit] |
Smallest time unit in which duration is expressed. For example, if you select Hour, the minutes and seconds do not show and the hours are rounded off. |
|
Hide seconds when duration is greater than one minute [hideSeconds] |
Option to hide seconds after the duration exceeds one minute |
|
Show original value in tooltips [showOriginalValueInTooltip] |
Option to include a tooltip to show the unformatted number on point to. |
Select event handlers to configure the actions (events) provided with the Data visualization component.
The Events tab shows the events used by the Data 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
Event handlers work with data resources to link the Data 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.
|
Event |
Description |
|---|---|
|
Visualization Clicked |
Dispatched when the visualization is clicked.Payload:
Payload type:
Payload type:
Payload type:
Payload type: |
---
title: Timeseries visualization component setup
description: The Timeseries visualization is a visualization type within the Data visualization component that lets you create time series visualizations, such as scatter, spline, and area charts.Configure the behavior of Timeseries visualization with these properties.These properties configure how table data is presented on time series visualizations.These properties configure how indicator data is presented on time series visualizations.These properties configure how Usage Insights data is presented on time series visualizations.These properties configure how MetricBase data is presented on time series visualizations.These properties configure how Health Log Analytics data is presented on time series visualizations.Table formatting values apply to time series visualizations for all data sources. Duration formatting values apply only to MetricBase data sources. Access these properties through the Format values link under Metrics.Select event handlers to configure the actions \(events\) provided with the Data visualization component.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/application-development/ui-builder/timeseries-component-uib-setup.html
release: brazil
product: UI Builder
classification: ui-builder
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 52
breadcrumb: [UIB Setup Information, UI Builder, Builder library, Developing your application, Classic app development, Building applications]
---
# Timeseries visualization component setup
The Timeseries visualization is a visualization type within the Data visualization component that lets you create time series visualizations, such as scatter, spline, and area charts.
## 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-components.md).
**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 component that differentiates it from other components in the content tree.
A 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-pages.md).
\[Omitted image "data-vis-content-tree.png"\] Alt text: Data Visualization component with label displayed in the content tree
2. Select the Data visualization component, using one of these methods:
- Click anywhere within the component.
- Select the data visualization label you created for your component in the content tree.
The property fields appear in the **Config** tab in the setup panel on the right.
3. Select one of Time series **Data Visualization Types**: Area, Column, Line, Scatter, Spline, or Step.
The available data sources and properties change depending on the selected chart type.
4. Click **Add data source** to select a table, indicator, or MetricBase data source to base a visualization on. MetricBase is only available with time series visualizations.
5. Add filters to the data as needed.
6. Click **Add this source** to add your selected data source.
**Parent Topic:**[UIB Setup Information](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/uib-setup-information.md)
## Timeseries visualization component properties
Configure the behavior of Timeseries 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/add-data-resources.md).
- **Scripting**: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/state-parameters.md).
<table id="id_rmw_jbq_frb"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Show header \[showHeader\]
</td><td id="entry_show-header">
The visualization header, including title and icons.
</td></tr><tr><td>
Show header separator \[showHeaderSeparator\]
</td><td id="entry_show-header-separator">
Option to display a line separating the header from the rest of the component.
</td></tr><tr><td>
Chart title \[headerTitle\]
</td><td id="entry_chart-title">
Title of the visualization.
</td></tr><tr><td>
Description \[description\]
</td><td id="entry_description">
A short overview about the visualization that the end user sees. Descriptions help users find the visualization.
</td></tr><tr><td>
Wrap title \[wrapTitle\]
</td><td id="entry_wrap-title">
Option to wrap long titles onto a second line. If false, displays an ellipsis to truncate long titles.
</td></tr><tr><td>
Show border \[showBorder\]
</td><td id="entry_show-border">
Option to display a line around the component.
</td></tr><tr><td>
Show refresh option
</td><td id="entry_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.
</td></tr><tr><td>
Bare \[bareBorder\]
</td><td id="entry_bare">
Option to remove padding around data visualization to provide more compact positioning on the page. Only available when **Show border** is turned off.
</td></tr></tbody>
</table><table id="table_nj2_vvv_yqb"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Define data manually \[showDataPassthrough\]
</td><td>
Option to pass data/values directly to the chart using JSON instead of using standard data sources.
</td></tr><tr><td>
Data \[dataPassthrough\]
</td><td>
JSON field for manually passing data. Replaces the **Data sources** property when **Define data manually** is toggled on.
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`.
\[Omitted image "data-viz-data-source-binding.png"\] Alt text: Local data binding instance bound to data visualization.
For more information, see [Dynamically expose data in UI Builder pages \(advanced feature\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/data-resources.md) and [Use a local data instance with a data visualization](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/dv-local-data-instance.md).
</td></tr><tr><td>
Data sources \[dataSources\]
</td><td>
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/c_ReportSources.md).
- 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/c_Indicators.md).
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/condition-operators-ind-bkdowns.md#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.
- MetricBase: Time series of data sampled at regular intervals. Use with applications that monitor or act on large amounts of machine-generated data. When you select a MetricBase data source, you can construct a custom filter using conditions and related list conditions. This works the same as with Table data sources. For more information, see [MetricBase](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/metricbase.md).
- Usage Insights: Usage metrics of your Next Experience web applications and others. For more information, see [Usage Insights](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/user-exp-analytics-landing.md).
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/uxa-data-sources.md).
- 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/hla-landing-page.md).
Data visualizations for Health Log Analytics can be created or edited only in the UI Builder.
</td></tr></tbody>
</table>**Note:** Time series visualizations support multiple data sources, but all must be of the same type, such as indicator.
After selecting the data source, configure the appropriate data properties:
- Table data properties
- Indicator data properties
- Usage Insights data properties
- MetricBase data properties
- Health Log Analytics data properties
To find the tables for each of these properties, search for each table title on this page in your browser search function.
<table id="table_d2h_wxd_grb"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td colspan="2">
**Display settings** Not all chart types support all display properties.
</td></tr><tr><td>
Line stroke width \[lineStrokeWidth\]
</td><td id="entry_line-stroke-width">
Sets the line stroke width for the items on the chart in pixels.
</td></tr><tr><td>
Chart variation \[chartVariation\]
</td><td>
Select whether to display the group-by values in stacked columns or side-by-side.
</td></tr><tr><td>
Disable tooltip \[disableTooltip\]
</td><td id="entry_disable-tooltip">
Option to remove tooltips on hover.Default: false
</td></tr><tr><td>
Show only one data point in tooltip \[showClosestSeriesOnHover\]
</td><td id="entry_show-only-one-tooltip">
When turned on, the tooltip shows only the data point being hovered over. When turned off, the tooltip shows all data points.Default: Off, except when zoom is 400%, which automatically turns it on.
</td></tr><tr><td>
Show data table \[showDataTable\]
</td><td id="entry_show-data-table">
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.
</td></tr><tr><td>
Show markers \[showMarkers\]
</td><td id="entry_show-markers">
Display a symbol at each data point on the chart to simplify identifying specific values. Available for line, spline, area, and step charts.
</td></tr><tr><td>
Show 0 when no data available \[showZero\]
</td><td>
Choose whether to show 0 when there is no value in the selected dataset or for the configuration.
</td></tr><tr><td>
Show continuous line \[showContinuousLine\]
</td><td>
When selected and there is no data for a specific time, there is no gap in the chart, which then shows a continuous line. Overridden by **Show 0 when no data available**.
</td></tr><tr><td class="sub-head" colspan="2">
**Y axis**
</td></tr><tr><td>
Hide primary axis \[hideYAxis0\]
</td><td id="entry_hide-primary-axis">
Option to hide the vertical axis. This property applies only when the chart has a single Y axis.
</td></tr><tr><td>
Primary axis title \[yAxis0Title\]
</td><td id="entry_primary-axis-title">
Title to display on the vertical axis of the visualization.This property applies only when **Hide primary axis** is false.
If there is more than one Y-axis, you have additional axis titles, representing the properties yAxis1Title, yAxis2Title, etc.
Add a Y-axis scale for a metric in the **More options** menu for the metric.
</td></tr><tr><td>
Primary axis range - from \[yAxis0From\]
</td><td id="entry_primary-axis-from">
Starting point for the range of values for the vertical axis of the visualization.If there is more than one Y-axis, you have additional axis ranges, representing the properties yAxis1From, yAxis2From, etc.
</td></tr><tr><td>
Primary axis range - to \[yAxis0To\]
</td><td id="entry_primary-axis-to">
Ending point for the range of values for the vertical axis of the visualization.If there is more than one Y-axis, you have additional axis ranges, representing the properties yAxis1To, yAxis2To, etc.
</td></tr><tr><td>
Primary axis position \[yAxisPosition\]
</td><td id="entry_primary-axis-position">
Position of the primary axis. Options include:- Left
- Right
This property applies only when **Hide axis** is false.
If there is more than one Y-axis, you have additional axis positions, representing the properties yAxis1Position, yAxis2Position, etc.
</td></tr><tr><td>
Show grid \[bar: showYGrid\] \[time series: yAxisShowGrid\]
</td><td id="entry_show-grid">
Adds grid lines to the chart.
</td></tr><tr><td>
Axis style \[yAxisStyle\]
</td><td id="entry_axis-style">
Style of the Y axis. - Clean `clean`: Adds a straight line to the Y axis.
- No tick lines `noTicks`: Option to remove all marks from the Y axis.
- Standard `default`: Adds a line and tick marks to the Y axis.
</td></tr><tr><td class="sub-head" colspan="2">
**X axis**
</td></tr><tr><td>
X axis title \[xAxisTitle\]
</td><td id="entry_x-axis-title">
Title to display on the horizontal axis of the visualization.
</td></tr><tr><td class="sub-head" colspan="2">
**Legend**
</td></tr><tr><td>
Show legend \[showRegister\]
</td><td id="entry_show-legend">
Option to display the legend. Activated automatically at 400% zoom.
</td></tr><tr><td>
Show legend value \[showRegisterValue\]
</td><td id="entry_show-legend-value">
Option to display the value corresponding to the area of the chart you hover on. The value displays as a tooltip and in the chart legend.
</td></tr><tr><td>
Legend position \[registerPosition\]
</td><td id="entry_legend-position">
Legend location relative to the chart: Above, Below, Right, or Left
</td></tr><tr><td>
Horizontal alignment \[legendHorizontalAlignment\]
</td><td id="entry_legend-horizontal-position">
Horizontal alignment of elements in the legend: Start, Center, or End
</td></tr><tr><td>
Max legend item width, px \[legendMaxItemWidth\]
</td><td id="entry_max-legend-width">
Number of pixels after which the item in the legend is truncated.
</td></tr><tr><td>
Expand legend vertically \[legendExpandToFit\]
</td><td id="entry_expand-legend-vert">
When turned on, the legend contents take as much space as needed to fit the legend without scrolling, instead of the maximum 2 lines.
</td></tr><tr><td class="sub-head" colspan="2">
Data label
</td></tr><tr><td>
Show data labels \[showDataLabels\]
</td><td id="entry_show-data-labels">
Option to display the score for each data point.
</td></tr><tr><td class="sub-head" colspan="2">
Colors
</td></tr><tr id="set-color-type"><td>
Set color type \[type\]
</td><td>
Type of color scheme to apply to the component. Options include: - Default `default`: A color from the UX Theme Properties \[sys\_ux\_theme\_property\] table. The specific colors depend on which theme variant in the UX Themes \[sys\_ux\_theme\] table is applied to the instance.
- Color palette `palette`: List of color palettes to select from predefined system palettes in the Chart Color Scheme \[pa\_chart\_color\_schemes\] table. For grouped or stacked data, the colors apply in order from highest value to lowest. For multiple data sources, palette colors apply in the order of data sources. For example, the first color of a palette applies to the first data source, and the second palette color applies to the second source. All visualizations that use the same color palette show the same colors, regardless of what data they display.
- Single color/Colors per metric `singleColor`: Select a single color in the **Set value color** field. You can select the color from a set of icons, from a list of colors including their icons, or by searching for the color name or hexadecimal value. The colors are taken from the Color Definition \[sys\_report\_color\] table.
If the visualization has more than one metric, you see the Colors per metric option instead. This option lets you select a single color \[singleColor\] for each metric.
- Fixed element color `chartColor`: Use a specific color from the Chart Colors table \[sys\_report\_chart\_color\] for each element. All data visualizations that use fixed element colors show the same element, such as critical incidents in the Global scope, in the same color. This option is available if a maximum of one data source or metric is added, and a Group by is defined.
**Note:** Single color is only available when no **Group by** is selected.
</td></tr><tr><td>
Palette \[palette\]
</td><td id="entry_palette">
Color palette to apply to the component. **Note:** Only available when **Set color type** is **Color palette**.
</td></tr></tbody>
</table>### Table data properties
These properties configure how table data is presented on time series visualizations.
<table id="table_data-props-table"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td class="sub-head" colspan="2">
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon.
\[Omitted image "ts-chart-choice-multi-metrics.png"\] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu.
Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric.
\[Omitted image "ts-metric-multi-addaxis.png"\] Alt text: Adding Y-axis charts for each metric.
Lastly, you can set dashboard filters to apply only to specific metrics.
For more information, see [Options for time series data visualizations with multiple metrics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-multi-metrics.md).
</td></tr><tr><td>
Label \[label\]
</td><td id="entry_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.
</td></tr><tr><td>
Select an aggregation \[aggregateFunction\]
</td><td id="entry_select-aggregate">
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**.
</td></tr><tr><td>
Field \[aggregateField\]
</td><td id="entry_metric-field">
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/function-fields-reporting.md).
</td></tr><tr><td>
Format values
</td><td>
Opens the formatting values dialog. See the Formatting properties table.
</td></tr><tr><td class="sub-head" colspan="2">
Group by
</td></tr><tr><td>
Field for <table> \[groupByField\]
</td><td id="entry_group-by-field">
The field to group by. You can group by any field in the table including list fields.For example, in a visualization of incident data grouped by **Assignment group**, all incidents that belong to Software, Service Desk, and Network are placed in separate groups. If the table contains variables or question fields, you have the option to group by one of them at the end of the list of fields.
**Note:**
- It is not possible to group or stack data by the **Tags** field, or by certain field types, such as MEDIUMTEXT.
- If there are multiple metrics, the metric label is appended to the beginning of the group-by field values in the chart labels.
- Fields with continuous values, such as date or integer, are automatically grouped according to any report ranges defined for the data. For more information, see [Report ranges](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/c_ReportRanges.md).
</td></tr><tr><td>
Add alternative group by \[additionalGroupByConfig\]
</td><td>
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.**Important:**
- Alternative group-bys support only up to three metrics on one visualization.
- Alternative group-by does not support data binding on the data source
</td></tr><tr><td>
Selector visible by default \[showAdditionalGroupBySelector\]
</td><td>
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added.
Default: false
</td></tr><tr><td class="sub-head" colspan="2">
Sorting
</td></tr><tr><td>
Sort by \[sortBy\]
</td><td id="entry_sort-by">
Sorting options of the main and alternative groups set in **Group by**. Options include:- Name: Sorts the values alphabetically by field or element name.
- Value: Sorts the values numerically or by count.
- Element order: Sorts the groups according to the value of the Sequence field. Available when grouping by records on the Choice \[sys\_choice\] table, either directly or through a breakdown.
- Group bucket: Sorts the elements by bucket group, when applicable. Only available for indicator data sources and when the breakdown used for the **Group by** is based on a bucket group.
- Report range: Sorts the table field values by range. Only available for table data sources and when the table field used for the **Group by** has a report range associated with it.
**Note:**
- The choices of what to sort by are based on the main, default **Group by**, if one is defined. This sorting applies to any alternative group-bys if possible. If the sorting criterion selected for the main group-by can't apply to an alternative group-by, sorting defaults to Value. For example, sorting by Element order when the alternative group-by is not on the Choice table.
- If no main **Group by** has been set, but alternative group-bys are defined, you can sort only by Name or Value.
- Sorting is not available for Pareto bar visualizations. Pareto charts are always sorted by value in descending order.
</td></tr><tr><td>
Sort by order \[sortByOrder\]
</td><td id="entry_sort-by-order">
The direction of the group-by sorting. Options include:- Ascending `asc`
- Descending `desc`
</td></tr><tr><td class="sub-head" colspan="2">
Trend by
</td></tr><tr><td>
Aggregation period \[trendByFrequency\]
</td><td id="entry_aggregation-period">
The period by which values are aggregated to calculate the trend. Options come from the standard calendar and any business calendars that are defined on the instance, such as the Gregorian. Select **Auto** to have the application infer the aggregation level based on the selected date range. Automatic aggregation respects business calendars and shift schedules.
</td></tr><tr><td>
Interval in minutes \[trendByMinuteInterval\]
</td><td id="entry_interval-minutes">
Number of minutes in each aggregation period. This property applies only when **Aggregation period** is **Minute**.
</td></tr><tr><td>
Date field for <table> \[trendByFields\]
</td><td id="entry_date-field">
The date field on the table to aggregate by. You can only select fields of the following data types:- Date
- Date/Time
- Due Date
- Precise Time
</td></tr><tr><td class="sub-head" colspan="2">
Data update
</td></tr><tr><td>
Follow filters \[followFilters\]
</td><td id="entry_follow-filters">
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.
</td></tr><tr><td>
Follow filter per metric \[filterPerMetric\]
</td><td id="entry_filter-per-metric">
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see [Following filters per metric](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-bars-multi-metrics.md).
</td></tr><tr><td>
Show filter icon \[showFilterIcon\]
</td><td id="entry_show-filter-icon">
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.
</td></tr><tr><td>
Enable drilldown \[enableDrilldown\]
</td><td id="entry_enable-drilldown">
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.
</td></tr><tr><td>
Drill down label \[drilldownLabel\]
</td><td>
Text visible at the tooltip to help user understand what will happen on click.
</td></tr><tr><td>
Show selected data point \[enableClickAndStay\]
</td><td>
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter.
</td></tr><tr><td>
Refresh after being away for X min. \[backgroundRefreshInterval\]
</td><td id="entry_refresh-after-being-away">
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.
</td></tr><tr><td>
Refresh requested \[refreshRequest\]
</td><td>
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.
</td></tr><tr><td>
Use data cache \[useDataCache\]
</td><td>
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
</td></tr><tr><td>
Show cache time \[showCacheTime\]
</td><td>
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\)
</td></tr><tr><td>
Cache expiration time \(h\) \[cacheExpirationTime\]
</td><td>
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
</td></tr><tr><td class="sub-head" colspan="2">
No data message
</td></tr><tr><td>
Set custom message when no data \[enableCustomEmptyState\]
</td><td id="entry_enable-custom-empty-state">
Option to configure a custom message that displays when no data is returned.
</td></tr><tr><td>
Illustration \[emptyStateIllustration\]
</td><td id="entry_empty-state-illustration">
An illustration to include in the message.
</td></tr><tr><td>
Heading \[emptyStateHeading\]
</td><td id="entry_empty-state-heading">
Header text of the message that describes why no data was returned.
</td></tr><tr><td>
Content \[emptyStateContent\]
</td><td id="entry_empty-state-content">
Secondary text of the message that provides additional detail.
</td></tr><tr><td>
Alignment \[emptyStateAlignment\]
</td><td id="entry_empty-state-alignment">
The alignment of the illustration and text in the message.
</td></tr></tbody>
</table>### Indicator data properties
These properties configure how indicator data is presented on time series visualizations.
<table id="table_data-props-indicator"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td class="sub-head" colspan="2">
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon.
\[Omitted image "ts-chart-choice-multi-metrics.png"\] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu.
Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric.
\[Omitted image "ts-metric-multi-addaxis.png"\] Alt text: Adding Y-axis charts for each metric.
Lastly, you can set dashboard filters to apply only to specific metrics.
For more information, see [Options for time series data visualizations with multiple metrics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-multi-metrics.md).
</td></tr><tr><td>
Label \[label\]
</td><td id="entry_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.
</td></tr><tr><td>
Time aggregation \[aggregateIndicator\]
</td><td id="entry_metric-time-aggregation">
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/applying-time-series-aggregations.md).
</td></tr><tr><td>
Format values
</td><td>
Opens the formatting values dialog. See the Formatting properties table.
</td></tr><tr><td class="sub-head" colspan="2">
Group by
</td></tr><tr><td>
Breakdown \[breakdown\]
</td><td id="entry_group-by-breakdown">
Group indicator scores by a breakdown.**Important:**
- Scripted breakdowns are not supported in dashboard filters.
- If there are multiple metrics, the metric label is appended to the beginning of the breakdown element values in the chart labels.
- Only two levels of breakdown are supported in total, including data visualization and dashboard filters. This limitation does not apply if the indicator has Data snapshots enabled. For more information, see [Data snapshots and multiple breakdowns](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/multi-level-breakdowns.md).
</td></tr><tr><td>
Add alternative group by \[additionalGroupByConfig\]
</td><td>
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.**Important:**
- Alternative group-bys support only up to three metrics on one visualization.
- Alternative group-by does not support data binding on the data source
</td></tr><tr><td>
Selector visible by default \[showAdditionalGroupBySelector\]
</td><td>
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added.
Default: false
</td></tr><tr><td class="sub-head" colspan="2">
Sorting
</td></tr><tr><td>
Sort by \[sortBy\]
</td><td id="entry_sort-by">
Sorting options of the main and alternative groups set in **Group by**. Options include:- Name: Sorts the values alphabetically by field or element name.
- Value: Sorts the values numerically or by count.
- Element order: Sorts the groups according to the value of the Sequence field. Available when grouping by records on the Choice \[sys\_choice\] table, either directly or through a breakdown.
- Group bucket: Sorts the elements by bucket group, when applicable. Only available for indicator data sources and when the breakdown used for the **Group by** is based on a bucket group.
- Report range: Sorts the table field values by range. Only available for table data sources and when the table field used for the **Group by** has a report range associated with it.
**Note:**
- The choices of what to sort by are based on the main, default **Group by**, if one is defined. This sorting applies to any alternative group-bys if possible. If the sorting criterion selected for the main group-by can't apply to an alternative group-by, sorting defaults to Value. For example, sorting by Element order when the alternative group-by is not on the Choice table.
- If no main **Group by** has been set, but alternative group-bys are defined, you can sort only by Name or Value.
- Sorting is not available for Pareto bar visualizations. Pareto charts are always sorted by value in descending order.
</td></tr><tr><td>
Sort by order \[sortByOrder\]
</td><td id="entry_sort-by-order">
The direction of the group-by sorting. Options include:- Ascending `asc`
- Descending `desc`
</td></tr><tr><td class="sub-head" colspan="2">
Date range
</td></tr><tr><td>
Show maximum range \[showMaximumRange\]
</td><td id="entry_show-max-range">
Option to show the maximum range of available dates.
</td></tr><tr><td>
Set absolute period \[showAbsolutePeriod\]
</td><td id="entry_set-abs-period">
Option to set absolute start and end date.Available when **Apply date range** is selected.
</td></tr><tr><td>
Period start \[startTime\]
</td><td id="entry_period-start">
Start date for the absolute period.This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period end \[endTime\]
</td><td id="entry_period-end">
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.\)
</td></tr><tr><td>
Number of periods \[numberOfPeriods\]
</td><td id="entry_number-periods">
Number of date periods to display. This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period \[period\]
</td><td id="entry_period-interval">
Time interval for each date period. - Days `D`
- Weeks `W`
- Months `M`
- Quarters `Q`
- Years `Y`
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.
</td></tr><tr><td>
Allow change date range \[allowChangeDateRange\]
</td><td id="entry_date-range-picker">
When turned on, the viewer has a date range selector control with a set of predefined options.
Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Show range picker by default \[showDateRangeByDefault\]
</td><td id="entry_show-date-range-picker">
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu.
Default: off \(false\)
</td></tr><tr><td class="sub-head" colspan="2">
Additional settings
</td></tr><tr><td>
Show target \[showTarget\]
</td><td id="entry_show-target">
Option to display the target value.Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Show forecast \[showForecast\]
</td><td id="entry_show-forecast">
Option to display forecast data in the chart based on current trend data.**Note:** If there is not enough historical data to generate a forecast, no forecast or error is displayed.
Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Configure forecast \[forecastConfig\]
</td><td id="entry_configure-forecast">
Opens a dialog where you set the following array of JSON properties: - **forecastMethod**: The forecast method to use
- **numOfPeriodsToForecast**: Number of periods in the future to forecast. A period refers to the number of data points that represent a pattern.
- **forecastPeriodUnit**: Length of a period. That is, how many data points do you think form a pattern.
- **lowerLimit**: Lower range limit
- **upperLimit**: Upper range limit
- **forecastBasedOnType**Whether to base the forecast on all values in the date range, values from a number of periods, or values after a specific date
- **numOfPreviousPeriodsForecastBasedOn**: If Previous periods is the type, the number of periods in the past that forecasts are based on.
- **startDateForecastBasedOn**: If Start date is the type, the date from which data is used to make forecasts.
For more information, see [Configure a forecast in a time series data visualization](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/configure-forecast-ts-viz.md).
</td></tr><tr><td>
Show forecast range \[showForecastRange\]
</td><td id="entry_show-forecast-range">
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on.
</td></tr><tr><td>
Show trend \[showTrend\]
</td><td id="entry_show-trend">
Option to display the direction that the indicator is moving, or how values have changed over time.Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Show confidence band \[showConfidenceBand\]
</td><td id="entry_show-confidence-band">
Option to display the bandwidth between which indicator scores are moving.Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Show threshold \[showThreshold\]
</td><td id="entry_show-threshold">
Option to display an active threshold set for the selected indicator, such as an all-time high or low. Thresholds appear only if they have been defined for the selected indicator.
</td></tr><tr><td>
Show comment \[showComment\]
</td><td id="entry_show-comment">
Option to display comments added to data points.Not available when **Compare period over period** is turned on.
</td></tr><tr><td class="sub-head" colspan="2">
Data update
</td></tr><tr><td>
Follow filters \[followFilters\]
</td><td id="entry_follow-filters">
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.
</td></tr><tr><td>
Follow filter per metric \[filterPerMetric\]
</td><td id="entry_filter-per-metric">
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see [Following filters per metric](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-bars-multi-metrics.md).
</td></tr><tr><td>
Show filter icon \[showFilterIcon\]
</td><td id="entry_show-filter-icon">
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.
</td></tr><tr><td>
Show filter as separate series \[showFilterAsSeparateSeries\]
</td><td id="entry_show-filters-separately">
When toggled on, if there is a filter applying multiple elements, these elements are shown as separate lines in the chart. The filter can be a component added to a dashboard or UI Builder page, or it can be an "is one of" filter condition on the data visualization itself.
This feature supports only one breakdown at a time. Other breakdown filters have no effect on the chart. Filter precedence works as follows:
- The first "is one of" filter condition on the data visualization overrides all other filter conditions and all single/multiple select filter components.
- If there are no "is one of" filter conditions, the first multiple select filter with a selection overrides all other filters.
- A different multiple select filter can take effect if the first one is cleared.
Default: off. A single aggregate line is shown for all elements.
Requires the latest Data Visualization application from the ServiceNow Store.
**Note:** Available only when no **Group by** is defined.
Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Enable drilldown \[enableDrilldown\]
</td><td id="entry_enable-drilldown">
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.
</td></tr><tr><td>
Drill down label \[drilldownLabel\]
</td><td>
Text visible at the tooltip to help user understand what will happen on click.
</td></tr><tr><td>
Show selected data point \[enableClickAndStay\]
</td><td>
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter.
</td></tr><tr><td>
Refresh after being away for X min. \[backgroundRefreshInterval\]
</td><td id="entry_refresh-after-being-away">
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.
</td></tr><tr><td>
Refresh requested \[refreshRequest\]
</td><td>
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.
</td></tr><tr><td>
Use data cache \[useDataCache\]
</td><td>
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
</td></tr><tr><td>
Show cache time \[showCacheTime\]
</td><td>
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\)
</td></tr><tr><td>
Cache expiration time \(h\) \[cacheExpirationTime\]
</td><td>
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
</td></tr><tr><td class="sub-head" colspan="2">
No data message
</td></tr><tr><td>
Set custom message when no data \[enableCustomEmptyState\]
</td><td id="entry_enable-custom-empty-state">
Option to configure a custom message that displays when no data is returned.
</td></tr><tr><td>
Illustration \[emptyStateIllustration\]
</td><td id="entry_empty-state-illustration">
An illustration to include in the message.
</td></tr><tr><td>
Heading \[emptyStateHeading\]
</td><td id="entry_empty-state-heading">
Header text of the message that describes why no data was returned.
</td></tr><tr><td>
Content \[emptyStateContent\]
</td><td id="entry_empty-state-content">
Secondary text of the message that provides additional detail.
</td></tr><tr><td>
Alignment \[emptyStateAlignment\]
</td><td id="entry_empty-state-alignment">
The alignment of the illustration and text in the message.
</td></tr></tbody>
</table>### User Experience Analytics data properties
These properties configure how Usage Insights data is presented on time series visualizations.
<table id="table_it1_rtn_k5b"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td class="sub-head" colspan="2">
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon.
\[Omitted image "ts-chart-choice-multi-metrics.png"\] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu.
Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric.
\[Omitted image "ts-metric-multi-addaxis.png"\] Alt text: Adding Y-axis charts for each metric.
Lastly, you can set dashboard filters to apply only to specific metrics.
For more information, see [Options for time series data visualizations with multiple metrics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-multi-metrics.md).
</td></tr><tr><td>
Label \[label\]
</td><td id="entry_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.
</td></tr><tr><td>
Format values
</td><td>
Opens the formatting values dialog. See the Formatting properties table.
</td></tr><tr><td class="sub-head" colspan="2">
Group by - Events only
</td></tr><tr><td>
Event property \[eventPropertyValue\]
</td><td>
List of properties to choose from for Usage Insights Event sources that have properties. This option applies only to Events metrics.
</td></tr><tr><td>
Add alternative group by \[additionalGroupByConfig\]
</td><td>
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.**Important:**
- Alternative group-bys support only up to three metrics on one visualization.
- Alternative group-by does not support data binding on the data source
</td></tr><tr><td>
Selector visible by default \[showAdditionalGroupBySelector\]
</td><td>
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added.
Default: false
</td></tr><tr><td class="sub-head" colspan="2">
Trend by
</td></tr><tr><td>
Aggregation period \[trendByFrequency\]
</td><td id="entry_aggregation-period">
The period by which values are aggregated to calculate the trend. Options come from the standard calendar and any business calendars that are defined on the instance, such as the Gregorian. Select **Auto** to have the application infer the aggregation level based on the selected date range. Automatic aggregation respects business calendars and shift schedules.
</td></tr><tr><td class="sub-head" colspan="2">
Date range
</td></tr><tr><td>
Show data for selected period as \[scoreType\]
</td><td id="entry_show-data-period-as">
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.
</td></tr><tr><td>
Show maximum range \[showMaximumRange\]
</td><td id="entry_show-max-range">
Option to show the maximum range of available dates.
</td></tr><tr><td>
Set absolute period \[showAbsolutePeriod\]
</td><td id="entry_set-abs-period">
Option to set absolute start and end date.Available when **Apply date range** is selected.
</td></tr><tr><td>
Period start \[startTime\]
</td><td id="entry_period-start">
Start date for the absolute period.This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period end \[endTime\]
</td><td id="entry_period-end">
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.\)
</td></tr><tr><td>
Number of periods \[numberOfPeriods\]
</td><td id="entry_number-periods">
Number of date periods to display. This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period \[period\]
</td><td id="entry_period-interval">
Time interval for each date period. - Days `D`
- Weeks `W`
- Months `M`
- Quarters `Q`
- Years `Y`
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.
</td></tr><tr><td>
Allow change date range \[allowChangeDateRange\]
</td><td id="entry_date-range-picker">
When turned on, the viewer has a date range selector control with a set of predefined options.
Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Show range picker by default \[showDateRangeByDefault\]
</td><td id="entry_show-date-range-picker">
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu.
Default: off \(false\)
</td></tr><tr><td class="sub-head" colspan="2">
Additional settings
</td></tr><tr><td>
Show forecast \[showForecast\]
</td><td id="entry_show-forecast-not-ind">
Option to display forecast data in the chart based on current trend data. Requires licensed Performance Analytics.**Note:** If there is not enough historical data to generate a forecast, no forecast or error is displayed.
</td></tr><tr><td>
Configure forecast \[forecastConfig\]
</td><td id="entry_configure-forecast">
Opens a dialog where you set the following array of JSON properties: - **forecastMethod**: The forecast method to use
- **numOfPeriodsToForecast**: Number of periods in the future to forecast. A period refers to the number of data points that represent a pattern.
- **forecastPeriodUnit**: Length of a period. That is, how many data points do you think form a pattern.
- **lowerLimit**: Lower range limit
- **upperLimit**: Upper range limit
- **forecastBasedOnType**Whether to base the forecast on all values in the date range, values from a number of periods, or values after a specific date
- **numOfPreviousPeriodsForecastBasedOn**: If Previous periods is the type, the number of periods in the past that forecasts are based on.
- **startDateForecastBasedOn**: If Start date is the type, the date from which data is used to make forecasts.
For more information, see [Configure a forecast in a time series data visualization](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/configure-forecast-ts-viz.md).
</td></tr><tr><td>
Show forecast range \[showForecastRange\]
</td><td id="entry_show-forecast-range">
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on.
</td></tr><tr><td class="sub-head" colspan="2">
Data update
</td></tr><tr><td>
Follow filters \[followFilters\]
</td><td id="entry_follow-filters">
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.
</td></tr><tr><td>
Follow filter per metric \[filterPerMetric\]
</td><td id="entry_filter-per-metric">
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see [Following filters per metric](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-bars-multi-metrics.md).
</td></tr><tr><td>
Show filter icon \[showFilterIcon\]
</td><td id="entry_show-filter-icon">
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.
</td></tr><tr><td>
Enable drilldown \[enableDrilldown\]
</td><td id="entry_enable-drilldown">
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.
</td></tr><tr><td>
Drill down label \[drilldownLabel\]
</td><td>
Text visible at the tooltip to help user understand what will happen on click.
</td></tr><tr><td>
Show selected data point \[enableClickAndStay\]
</td><td>
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter.
</td></tr><tr><td>
Refresh after being away for X min. \[backgroundRefreshInterval\]
</td><td id="entry_refresh-after-being-away">
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.
</td></tr><tr><td>
Refresh requested \[refreshRequest\]
</td><td>
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.
</td></tr><tr><td class="sub-head" colspan="2">
No data message
</td></tr><tr><td>
Set custom message when no data \[enableCustomEmptyState\]
</td><td id="entry_enable-custom-empty-state">
Option to configure a custom message that displays when no data is returned.
</td></tr><tr><td>
Illustration \[emptyStateIllustration\]
</td><td id="entry_empty-state-illustration">
An illustration to include in the message.
</td></tr><tr><td>
Heading \[emptyStateHeading\]
</td><td id="entry_empty-state-heading">
Header text of the message that describes why no data was returned.
</td></tr><tr><td>
Content \[emptyStateContent\]
</td><td id="entry_empty-state-content">
Secondary text of the message that provides additional detail.
</td></tr><tr><td>
Alignment \[emptyStateAlignment\]
</td><td id="entry_empty-state-alignment">
The alignment of the illustration and text in the message.
</td></tr></tbody>
</table>### MetricBase data properties
These properties configure how MetricBase data is presented on time series visualizations.
<table id="table_data-props-metricbase"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td class="sub-head" colspan="2">
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon.
\[Omitted image "ts-chart-choice-multi-metrics.png"\] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu.
Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric.
\[Omitted image "ts-metric-multi-addaxis.png"\] Alt text: Adding Y-axis charts for each metric.
Lastly, you can set dashboard filters to apply only to specific metrics.
For more information, see [Options for time series data visualizations with multiple metrics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-multi-metrics.md).
</td></tr><tr><td>
Label \[label\]
</td><td id="entry_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.
</td></tr><tr><td>
Metric \[metric\]
</td><td>
Metrics determined in your MetricBase database.
</td></tr><tr><td>
Transform \[transform\]
</td><td id="entry_transform">
Option to apply a transform to the data. For example, you can select **Envelope** to show the minimum and maximum \(envelope\) value within the dataset. For more information, see [MetricBase transforms](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/metricbase-transforms.md).
</td></tr><tr><td>
Dynamic period based on time range \[isDynamicPeriod\]
</td><td id="entry_dynamic-time-range">
When enabled, the aggregation period is set according to the time range. Time range < 4 hours: minute aggregation. Time range 4 hours - 3 days: hourly aggregation. Time range > 3 days: daily aggregation.
Applies only when the Transform is Resample.
</td></tr><tr><td>
Label \[label\]
</td><td id="entry_transform-label">
Label to apply to the transform. This property applies only when **Transform** is Label.
</td></tr><tr><td>
Model \[model\]
</td><td id="entry_model">
Prediction model to use to transform the data. If a model does not already exist, you can create one. To learn more, see [Detect anomalies in MetricBase data using predictive models](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/train-a-model.md).This property applies only when **Transform** is Predict.
</td></tr><tr><td>
Count \[count\]
</td><td id="entry_count">
Specified number of values to show in the metric dataset.This property applies only when **Transform** is Top or Bottom.
</td></tr><tr><td>
Summand \[summand\]
</td><td id="entry_summand">
Specified value to add to the data points in the dataset.This property applies only when **Transform** is Add.
</td></tr><tr><td>
Subtrahend \[subtrahend\]
</td><td id="entry_subtrahend">
Specified value to subtract from the data points in the dataset.This property applies only when **Transform** is Subtract.
</td></tr><tr><td>
Factor \[factor\]
</td><td id="entry_factor">
Value to multiply the data points in the dataset by. This property applies only when **Transform** is Multiply.
</td></tr><tr><td>
Divisor \[divisor\]
</td><td id="entry_divisor">
Value to divide the data points in the dataset by. This property applies only when **Transform** is Divide.
</td></tr><tr><td>
Duration \[duration\]
</td><td id="entry_duration">
Specified duration of new data points used to calculate an outcome.This property applies only when **Transform** is Interpolate.
</td></tr><tr><td>
Fractions \[fractions\]
</td><td id="entry_fractions">
Percentiles of the underlying data to create a dataset.This property applies only when **Transform** is Fractiles.
</td></tr><tr><td>
Function \[function\]
</td><td id="entry_function">
Aggregation function used to calculate a new dataset. This property applies only when **Transform** is Resample, Filter, or Partition.
</td></tr><tr><td>
Period \[period\]
</td><td id="entry_period">
New time period to apply to the dataset.This property applies only when **Transform** is Resample.
</td></tr><tr><td>
Window \[window\]
</td><td id="entry_window">
Sliding time window of the given duration to create the new dataset. This property applies only when **Transform** is Filter or Partition.
</td></tr><tr><td>
Base \[base\]
</td><td id="entry_base">
A timestamp to align the partition window.This property applies only when **Transform** is Partition.
</td></tr><tr><td>
Format values
</td><td>
Opens the formatting values dialog. In this dialog you have three sets of formatting you can select:
- Default. No custom formatting. This option is the same as having **Use custom formatting** turned off for any other data source.
- Number formatting. These options are for formatting how numbers are presented. They are available for all data sources and visualization types. The options are listed in [Table formatting values](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/timeseries-component-uib-setup.md).
- Duration formatting. These options control how the duration time of MetricBase measurements are displayed. They are listed in [Duration formatting values](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/timeseries-component-uib-setup.md).
</td></tr><tr><td class="sub-head" colspan="2">
Group by
</td></tr><tr id="group-by-field"><td>
Field for <data source> \[groupByField\]
</td><td id="entry_group-by-field">
The field on the MetricBase data source to group by. For example, for a visualization of the Monitorable Item data source, you can group by Created by, Name, Primary, Tags, Type, or Updated by.
</td></tr><tr><td>
Add alternative group by \[additionalGroupByConfig\]
</td><td>
A JSON array of name/label pairs of items to group by. Item type depends on data source. In runtime, the viewer of the data visualization has the ability to select which of these objects to group by or stack by. The viewer toggles the visibility of the group by item selector in the visualization's More actions menu.**Important:**
- Alternative group-bys support only up to three metrics on one visualization.
- Alternative group-by does not support data binding on the data source
</td></tr><tr><td>
Selector visible by default \[showAdditionalGroupBySelector\]
</td><td>
When turned on, the viewer sees the alternative group by item selector by default. In any case, the viewer toggles the selector visibility in the More actions menu. This property only takes effect if at least one alternative group by item has been added.
Default: false
</td></tr><tr><td class="sub-head" colspan="2">
Date range
</td></tr><tr><td>
Show maximum range \[showMaximumRange\]
</td><td id="entry_show-max-range">
Option to show the maximum range of available dates.
</td></tr><tr><td>
Set absolute period \[showAbsolutePeriod\]
</td><td id="entry_set-abs-period">
Option to set absolute start and end date.Available when **Apply date range** is selected.
</td></tr><tr><td>
Period start \[startTime\]
</td><td id="entry_period-start">
Start date for the absolute period.This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period end \[endTime\]
</td><td id="entry_period-end">
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.\)
</td></tr><tr><td>
Number of periods \[numberOfPeriods\]
</td><td id="entry_number-periods">
Number of date periods to display. This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period \[period\]
</td><td id="entry_period-interval-metricbase">
Time interval for each date period. - Hours
- Days `D`
- Months `M`
- Years `Y`
This property applies only when **Set absolute period** is false.
</td></tr><tr><td>
Date format \[dateFormat\]
</td><td id="entry_date-format-x">
Defines the date format for the X axis. - Default `default`
- Date `date`
- Month `month`
</td></tr><tr><td>
Allow change date range \[allowChangeDateRange\]
</td><td id="entry_date-range-picker">
When turned on, the viewer has a date range selector control with a set of predefined options.
Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Show range picker by default \[showDateRangeByDefault\]
</td><td id="entry_show-date-range-picker">
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu.
Default: off \(false\)
</td></tr><tr><td class="sub-head" colspan="2">
Additional settings
</td></tr><tr><td>
Show forecast \[showForecast\]
</td><td id="entry_show-forecast-not-ind">
Option to display forecast data in the chart based on current trend data. Requires licensed Performance Analytics.**Note:** If there is not enough historical data to generate a forecast, no forecast or error is displayed.
</td></tr><tr><td>
Configure forecast \[forecastConfig\]
</td><td id="entry_configure-forecast">
Opens a dialog where you set the following array of JSON properties: - **forecastMethod**: The forecast method to use
- **numOfPeriodsToForecast**: Number of periods in the future to forecast. A period refers to the number of data points that represent a pattern.
- **forecastPeriodUnit**: Length of a period. That is, how many data points do you think form a pattern.
- **lowerLimit**: Lower range limit
- **upperLimit**: Upper range limit
- **forecastBasedOnType**Whether to base the forecast on all values in the date range, values from a number of periods, or values after a specific date
- **numOfPreviousPeriodsForecastBasedOn**: If Previous periods is the type, the number of periods in the past that forecasts are based on.
- **startDateForecastBasedOn**: If Start date is the type, the date from which data is used to make forecasts.
For more information, see [Configure a forecast in a time series data visualization](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/configure-forecast-ts-viz.md).
</td></tr><tr><td>
Show forecast range \[showForecastRange\]
</td><td id="entry_show-forecast-range">
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on.
</td></tr><tr><td class="sub-head" colspan="2">
Data update
</td></tr><tr><td>
Follow filters \[followFilters\]
</td><td id="entry_follow-filters">
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.
</td></tr><tr><td>
Follow filter per metric \[filterPerMetric\]
</td><td id="entry_filter-per-metric">
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see [Following filters per metric](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-bars-multi-metrics.md).
</td></tr><tr><td>
Show filter icon \[showFilterIcon\]
</td><td id="entry_show-filter-icon">
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.
</td></tr><tr><td>
Enable drilldown \[enableDrilldown\]
</td><td id="entry_enable-drilldown">
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.
</td></tr><tr><td>
Drill down label \[drilldownLabel\]
</td><td>
Text visible at the tooltip to help user understand what will happen on click.
</td></tr><tr><td>
Show selected data point \[enableClickAndStay\]
</td><td>
When enabled, the data point that has been selected is shown visually. Enables configuring an event handler associated with the data point such as acting as filter.
</td></tr><tr><td>
Refresh after being away for X min. \[backgroundRefreshInterval\]
</td><td id="entry_refresh-after-being-away">
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.
</td></tr><tr><td>
Refresh requested \[refreshRequest\]
</td><td>
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.
</td></tr><tr><td class="sub-head" colspan="2">
No data message
</td></tr><tr><td>
Set custom message when no data \[enableCustomEmptyState\]
</td><td id="entry_enable-custom-empty-state">
Option to configure a custom message that displays when no data is returned.
</td></tr><tr><td>
Illustration \[emptyStateIllustration\]
</td><td id="entry_empty-state-illustration">
An illustration to include in the message.
</td></tr><tr><td>
Heading \[emptyStateHeading\]
</td><td id="entry_empty-state-heading">
Header text of the message that describes why no data was returned.
</td></tr><tr><td>
Content \[emptyStateContent\]
</td><td id="entry_empty-state-content">
Secondary text of the message that provides additional detail.
</td></tr><tr><td>
Alignment \[emptyStateAlignment\]
</td><td id="entry_empty-state-alignment">
The alignment of the illustration and text in the message.
</td></tr></tbody>
</table>### Health Log Analytics data properties
These properties configure how Health Log Analytics data is presented on time series visualizations.
<table id="table_data-props-indicator"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td class="sub-head" colspan="2">
MetricYou can add multiple metrics. If there is more than one metric, you can change the time series chart type for that metric by clicking the Change chart type icon.
\[Omitted image "ts-chart-choice-multi-metrics.png"\] Alt text: Metrics tile when there are 2 metrics, showing chart selection menu.
Also if there is more than one metric, you can use the More options list to select a main metric and to add a Y-axis for each metric.
\[Omitted image "ts-metric-multi-addaxis.png"\] Alt text: Adding Y-axis charts for each metric.
Lastly, you can set dashboard filters to apply only to specific metrics.
For more information, see [Options for time series data visualizations with multiple metrics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-multi-metrics.md).
</td></tr><tr><td>
Label \[label\]
</td><td id="entry_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.
</td></tr><tr><td>
Format values
</td><td>
Opens the formatting values dialog. See the Formatting properties table.
</td></tr><tr><td class="sub-head" colspan="2">
Group by
</td></tr><tr><td>
Field for grouping
\[groupByField\]
</td><td>
A selection of Health Log Analytics fields you can group the data by.
</td></tr><tr><td>
Max number of groups \[maxNumberOfGroups\]
</td><td id="entry_max-number-groups">
Select the maximum number of groups to display. Groups in excess of this number, determined by sorting, are aggregated into the **Other** group. You can show that aggregate with the **Show others** option.By default, you can't show more than 50 groups. If you have the admin role, you can change this limit in the **par\_viz.table\_data.max\_groups** system property.
</td></tr><tr><td class="sub-head" colspan="2">
Date range
</td></tr><tr><td>
Show maximum range \[showMaximumRange\]
</td><td id="entry_show-max-range">
Option to show the maximum range of available dates.
</td></tr><tr><td>
Set absolute period \[showAbsolutePeriod\]
</td><td id="entry_set-abs-period">
Option to set absolute start and end date.Available when **Apply date range** is selected.
</td></tr><tr><td>
Period start \[startTime\]
</td><td id="entry_period-start">
Start date for the absolute period.This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period end \[endTime\]
</td><td id="entry_period-end">
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.\)
</td></tr><tr><td>
Number of periods \[numberOfPeriods\]
</td><td id="entry_number-periods">
Number of date periods to display. This property applies only when **Set absolute period** is true.
</td></tr><tr><td>
Period \[period\]
</td><td id="entry_period-interval">
Time interval for each date period. - Days `D`
- Weeks `W`
- Months `M`
- Quarters `Q`
- Years `Y`
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.
</td></tr><tr><td>
Allow change date range \[allowChangeDateRange\]
</td><td id="entry_date-range-picker">
When turned on, the viewer has a date range selector control with a set of predefined options.
Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Show range picker by default \[showDateRangeByDefault\]
</td><td id="entry_show-date-range-picker">
When turned on, the date range selector is shown to the viewer without the viewer needing to open it. When off, the viewer has to open the date range selector in the More options menu.
Default: off \(false\)
</td></tr><tr><td class="sub-head" colspan="2">
Additional settings
</td></tr><tr><td>
Show forecast \[showForecast\]
</td><td id="entry_show-forecast">
Option to display forecast data in the chart based on current trend data.**Note:** If there is not enough historical data to generate a forecast, no forecast or error is displayed.
Not available when **Compare period over period** is turned on.
</td></tr><tr><td>
Configure forecast \[forecastConfig\]
</td><td id="entry_configure-forecast">
Opens a dialog where you set the following array of JSON properties: - **forecastMethod**: The forecast method to use
- **numOfPeriodsToForecast**: Number of periods in the future to forecast. A period refers to the number of data points that represent a pattern.
- **forecastPeriodUnit**: Length of a period. That is, how many data points do you think form a pattern.
- **lowerLimit**: Lower range limit
- **upperLimit**: Upper range limit
- **forecastBasedOnType**Whether to base the forecast on all values in the date range, values from a number of periods, or values after a specific date
- **numOfPreviousPeriodsForecastBasedOn**: If Previous periods is the type, the number of periods in the past that forecasts are based on.
- **startDateForecastBasedOn**: If Start date is the type, the date from which data is used to make forecasts.
For more information, see [Configure a forecast in a time series data visualization](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/configure-forecast-ts-viz.md).
</td></tr><tr><td>
Show forecast range \[showForecastRange\]
</td><td id="entry_show-forecast-range">
Option to display the 95% confidence interval of the forecast. Available only when Show forecast is turned on.
</td></tr><tr><td class="sub-head" colspan="2">
Data update
</td></tr><tr><td>
Follow filters \[followFilters\]
</td><td id="entry_follow-filters">
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.
</td></tr><tr><td>
Follow filter per metric \[filterPerMetric\]
</td><td id="entry_filter-per-metric">
If the visualization shows multiple metrics, toggle filter following on and off for each metric. Default: All metrics follow filters if Follow filters is on. For more information, see [Following filters per metric](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/chart-options-bars-multi-metrics.md).
</td></tr><tr><td>
Show filter icon \[showFilterIcon\]
</td><td id="entry_show-filter-icon">
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.
</td></tr><tr><td>
Enable drilldown\[enableDrilldown\]
</td><td>
Enables the viewer to open the Health Log Analytics log viewer by interacting with the chart, such as by clicking on a value.
</td></tr><tr><td>
Drill down label \[drilldownLabel\]
</td><td>
Text visible at the tooltip to help user understand what will happen on click.
</td></tr><tr><td>
Refresh after being away for X min. \[backgroundRefreshInterval\]
</td><td id="entry_refresh-after-being-away">
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.
</td></tr><tr><td>
Refresh requested \[refreshRequest\]
</td><td>
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.
</td></tr><tr><td class="sub-head" colspan="2">
No data message
</td></tr><tr><td>
Set custom message when no data \[enableCustomEmptyState\]
</td><td id="entry_enable-custom-empty-state">
Option to configure a custom message that displays when no data is returned.
</td></tr><tr><td>
Illustration \[emptyStateIllustration\]
</td><td id="entry_empty-state-illustration">
An illustration to include in the message.
</td></tr><tr><td>
Heading \[emptyStateHeading\]
</td><td id="entry_empty-state-heading">
Header text of the message that describes why no data was returned.
</td></tr><tr><td>
Content \[emptyStateContent\]
</td><td id="entry_empty-state-content">
Secondary text of the message that provides additional detail.
</td></tr><tr><td>
Alignment \[emptyStateAlignment\]
</td><td id="entry_empty-state-alignment">
The alignment of the illustration and text in the message.
</td></tr></tbody>
</table>### Formatting properties
Table formatting values apply to time series visualizations for all data sources. Duration formatting values apply only to MetricBase data sources. Access these properties through the **Format values** link under Metrics.
<table id="table_formatting"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Use custom formatting \[customFormat\]
</td><td id="entry_custom-format">
Option to use custom formatting on the component.
</td></tr><tr><td>
Decimal precision \[decimalPrecision\]
</td><td id="entry_decimal-precision">
Number of decimal places to show in the metric.**Note:** Only available when **Use custom formatting** is true
</td></tr><tr><td>
Rounding \[rounding\]
</td><td id="entry_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`
**Note:** Only available when **Use custom formatting** is true.
</td></tr><tr><td>
Use the thousands group separator \[thousandSeparatorEnabled\]
</td><td id="entry_1000s-separator">
Option to use a comma to separate groups of thousands.**Note:** Only available when **Use custom formatting** is true.
</td></tr><tr><td>
Enable abbreviation \[abbreviationEnabled\]
</td><td id="entry-enable-abbreviation">
Option to use an alphabetical abbreviation. For example, M to represent million. **Note:** Only available when **Use custom formatting** is true.
</td></tr><tr><td>
Example
</td><td id="entry_example">
Example of the final value to show in the component. **Note:** Only available when **Use custom formatting** is true
</td></tr><tr><td>
Show original number in tooltips \[numberInTooltipsEnabled\]
</td><td id="entry_show-orig-number-tooltip">
Option to include a tooltip to show the unformatted number when pointed to. **Note:** Only available when **Use custom formatting** and **Enable abbreviation** are true.
</td></tr></tbody>
</table><table id="table_more-mb-formatting"><thead><tr><th>
Field \[property\]
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Unit format \[unitFormat\]
</td><td id="mb-dur-format-unit-format">
Option to show units in short \(single letter\) or long \(written out\) form
</td></tr><tr><td>
Maximum duration unit \[maxDurationUnit\]
</td><td id="mb-dur-format-max-unit">
Largest time unit in which duration is expressed.
</td></tr><tr><td>
Minimum duration unit \[minDurationUnit\]
</td><td id="mb-dur-format-min-unit">
Smallest time unit in which duration is expressed. For example, if you select Hour, the minutes and seconds do not show and the hours are rounded off.
</td></tr><tr><td>
Hide seconds when duration is greater than one minute \[hideSeconds\]
</td><td id="mb-dur-format-hide-secs">
Option to hide seconds after the duration exceeds one minute
</td></tr><tr><td>
Show original value in tooltips \[showOriginalValueInTooltip\]
</td><td id="mb-dur-format-show-original">
Option to include a tooltip to show the unformatted number on point to.
</td></tr></tbody>
</table>## Timeseries visualization component events
Select event handlers to configure the actions \(events\) provided with the Data visualization component.
The Events tab shows the events used by the Data 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
Event handlers work with data resources to link the Data 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/event-handler.md).
<table id="table_msr_kpn_pnb"><thead><tr><th>
Event
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Visualization Clicked
</td><td>
Dispatched when the visualization is clicked.Payload:
- [ItemSelectedPayload](https://developer.servicenow.com/dev.do#!/reference/now-experience/tokyo/shared-components/now-vis-timeseries-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>, groupBy: Array.<string>, timestamp: string, value: string, color: string, cssColor: string}`
</td></tr></tbody>
</table>| title | Timeseries visualization component setup |
| description | The Timeseries visualization is a visualization type within the Data visualization component that lets you create time series visualizations, such as scatter, spline, and area charts.Configure the behavior of Timeseries visualization with these properties.These properties configure how table data is presented on time series visualizations.These properties configure how indicator data is presented on time series visualizations.These properties configure how Usage Insights data is presented on time series visualizations.These properties configure how MetricBase data is presented on time series visualizations.These properties configure how Health Log Analytics data is presented on time series visualizations.Table formatting values apply to time series visualizations for all data sources. Duration formatting values apply only to MetricBase data sources. Access these properties through the Format values link under Metrics.Select event handlers to configure the actions \(events\) provided with the Data visualization component. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/application-development/ui-builder/timeseries-component-uib-setup.html |
| release | brazil |
| product | UI Builder |
| classification | ui-builder |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 52 |
| breadcrumb | UIB Setup InformationUI BuilderBuilder libraryDeveloping your applicationClassic app developmentBuilding applications |