|
Scorecard Type
|
scorecardType
|
List to select from scorecard types. Options include:- **List**: Shows the list of indicators and metrics as columns.
- **Pivot**: Shows indicators as rows and breakdown as columns or vice versa.
|
|
Show Header
|
showHeader
|
Toggle to show or hide header.
|
|
Heading level
|
headingLevel
|
HTML heading tag level of the header title \(H1 to H6\)Default: H2
|
|
Show header separator
|
showHeaderSeparator
|
When true, displays a line separating the header from the rest of the componentDefault: false
|
|
Title
|
title
|
Component title.
|
|
Use large font size
|
headingVariant
|
Defines the styles used to render the header title. When true, the non-bold Title-tertiary font is used. Otherwise, the bold Header-secondary font is used.Default: false
|
|
Description
|
description
|
Component description displayed in the info icon during runtime.
|
|
Source definition
|
sourceType
|
List to select from source definition types. Options include:- **Condition based**: Allows you to set a condition to determine which indicators to display.
- **Manually selected**: Allows you to add indicators manually one at a time.
You can set a breakdown and element to filter each indicator that you select manually.
If you select only one indicator, you can set **Show only breakdowns** to show the elements of that indicator without the indicator score.
- **Indicator group**: Sets an indicator group as the source.
|
|
Filter
|
query
|
Encoded query string for filtering which indicators to show. To create a filter statically, use the condition builder that is provided.**Note:** Only available if **Source definition** is Condition based.
|
|
Indicator group
|
indicatorGroup
|
Filters the table based on an indicator group from the list.**Note:** Only available if **Source definition** is Indicator group.
|
|
Breakdown
|
breakdowns
|
A JSON array of the breakdowns and their associated elements that you have selected to display. The objects in the array each have a breakdownId, a breakdownLabel, and a child array of elementIds.
|
|
Show breakdown elements as columns
|
swapBreakdownsAsColumns
|
Displays the breakdown as columns and indicator as rows.**Note:** Only available when **Scorecard Type** is Pivot.
|
|
Show only breakdowns
|
showBreakdownsOnly
|
If set to true, hides indicator total and shows only breakdown elements and the metrics selected. Available only on List scorecards with sourceType=Manually selected and only one indicator selected.Default: false
|
|
Allow change breakdown
|
allowChangeBreakdown
|
When true, the viewer can change the breakdown that is displayed. Available only on List scorecards and only when **Show only breakdowns** is true.Default: false
|
|
Breakdown visibility selector
|
breakdownVisibilitySelector
|
When true, the breakdown selector is visible to viewers of the scorecard. When false, the breakdown selector has to be opened from the More options menu. Only available when **Allow change breakdown** is true.
Default: false
|
|
Max number of groups
|
perPage
|
The maximum number of elements to show for a breakdown. If you do not specify the elements to show in **Filter elements** \[breakdownLabel\], the elements that are shown depend on the breakdown source and the value of **Sort direction** \[sortDir\]. For example, consider the Assignment Group breakdown, which uses string fields from the Group \[sys\_group\] table. If the **Max number of groups** is the default 5, you show either the first 5 elements or the last 5 elements alphabetically, depending on whether the sort direction is ascending or descending. In such cases, consider selecting the elements in the **Filter elements** field.Default: 5
|
|
Filter elements
|
breakdowns:elementId
|
Select the elements to show for the relevant breakdown. If you don’t select any elements, all elements up to the max number of groups are shown.
|
|
Metrics
|
metrics
|
Selects analytics to show in the indicator list. You can drag metrics tiles to reorder them.Default: lastScore, changeAndChangePercent, target, trend
|
|
Time series aggregation
|
aggregateId
|
Time series aggregation to apply to all Indicators selected. To learn more about time series aggregations, see [Applying time series aggregations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/now-intelligence/applying-time-series-aggregations.md).
|
|
Sort by
|
sortBy
|
The column to sort the indicators by. Values: Name, Score, Target, Change, changePercent, indicator\_group
Default: Name
|
|
Sort Direction
|
sortDir
|
The sorting direction for the indicators and/or breakdown elements. The effect on breakdown elements varies depending on the breakdown source. For example, breakdown elements from the Choice \[sys\_choice\] table are sorted according to the value of the Sequence field, whereas breakdown elements from Group \[sys\_group\] are sorted alphabetically according to the Name field.Values: Ascending \(Asc\) or Descending \(Desc\)
Default: Asc
|
|
Follow filters
|
followFilters
|
Enable to filter the scorecards with filters set for the workspace.Default: true
|
|
Show filter icon
|
showFilterIcon
|
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.Default: true
|
|
Enable drilldown
|
enableDrilldown
|
Redirects user to underlying data when they click a data point. Toggle off to prevent this interaction.Default: true
|
|
Show filter element
|
showFilterElement
|
Option to show the applied filter elements next to the indicator name. If a filter cannot apply to a visualization, the elements do not show. Toggle off to hide the filter elements and show only the indicator name.Default: true
|
|
Show bookmark
|
showFavorite
|
Toggle to show or hide a column of bookmarks. When on, users can bookmark indicators and breakdowns for themselves.Default: true
|
|
Show indicator info
|
showIndicatorInfo
|
Toggle to show or hide the indicator information icon. When shown, indicator information includes information about the last collection date, frequency of collection, and direction.Default: true
|
|
Show bookmarked items only
|
showBookmarkedOnly
|
Toggle on to show only bookmarked indicators or breakdown elements.Default: false
|
|
Use data cache Requires the latest Data Visualizations application from the ServiceNow Store
|
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 Requires the latest Data Visualizations application from the ServiceNow Store
|
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\) Requires the latest Data Visualizations application from the ServiceNow Store
|
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
|
|
Max elements per page
|
pageSize
|
The page size as determined by the maximum number of indicators or breakdown elements that the page can show. The increments are 10, 20, 50, and 100 indicators/elements. Default: 10
|
|
Target color scheme
|
colorSchemeId
|
Selects a target color scheme. By default, the value defined in the **Default indicator target color scheme** property on the Performance Analytics Properties page is applied.
|
|
Show alternate row colors
|
showAlternateRowColors
|
Alternates colors of rows.
|
|
Show row lines
|
showRowDividers
|
Displays border row lines to show separate rows.
|
|
Show column lines
|
showColumnDividers
|
Displays border column lines to show separate columns.
|