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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Box plot visualization component setup

# Box plot visualization component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 14 minutes to read  
Show the median and lower and upper quartiles of numeric data along with outliers. You can also compare the distribution of different groups of this data. Box plots are a type of Data visualization component.

## Before you begin

Important:  
The box plot visualization is included in the latest Data Visualizations application from the ServiceNow® Store.

This task assumes you have placed the Data visualization on the stage and are ready to configure the Boxplot visualization properties and events. For instructions on accessing and using the UI Builder toolbox, see [Customize UI pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.") .

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

## Procedure

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

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

   {#boxplot-component-setup__choices_c3r_5dn_pnb}  
   The configuration options appear in the panel on the right.
3. Select the Box plot Data Visualization Type.  
   The available data sources and properties change depending on the selected chart type.
4. Click Add data source to select a data source to base a visualization on.
5. Add filters to the data as needed.
6. Click Add this source to add your selected data source.
7. Enter static input in the input fields by typing in the content or selecting it from a drop-down list.  
   See the sections on each Data visualization type to see configurations options available based on the selected data source.
{#boxplot-component-setup__steps_b3r_5dn_pnb}

## Box plot visualization component properties {#ariaid-title2}

Configure the data and presentation of bar visualizations with these properties.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

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

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

{#boxplot-config-properties__id_rmw_jbq_frb} {#boxplot-config-properties__table_c3v_mxv_yqb__entry__2}{#boxplot-config-properties__ph_bubble-chart-table-source}

| Field \[property\] | Description |
|-|-|
| Define data manually \[showDataPassthrough\] | Option to pass data/values directly to the chart using JSON instead of using standard data sources.{#boxplot-config-properties__ph_define-data-manually} |
| Data \[dataPassthrough\] | JSON field for manually passing data. Replaces the Data sources property when Define data manually is toggled on.{#boxplot-config-properties__ph_data} You can also bind a local data instance to this field. The local data resource instance must be based on one of the data resources of the Data visualization core application. Use a different local data resource instance for each type of data visualization on your page. Configure each local data resource instance to fit the visualization type. The data binding must end in `.output.result`. For more information, see [Dynamically expose data in UI Builder pages (advanced feature)](https://www.servicenow.com/docs/jK4m_e9LAH9Aa9zlfZXNWg "Sync data between ServiceNow tables and data with the pages you build with UI Builder. Pages display synced data in real time and update data/tables when a user inputs information.") and [Use a local data instance with a data visualization](https://www.servicenow.com/docs/access?context=dv-local-data-instance&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). |
| Data sources \[dataSources\] | This data visualization supports only Table data sources. Tables contain the current state of your data, as it is stored in an underlying database table. You can define conditions to filter the table entries or select from sets of predefined conditions on the table. These predefined conditions are also called [Report sources](https://www.servicenow.com/docs/access?context=c_ReportSources&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). |
[Table 2. Data source]

{#boxplot-config-properties__table_c3v_mxv_yqb}

After selecting the data source, configure the Table data properties.
{#boxplot-config-properties__table_formatting__entry__2}{#boxplot-config-properties__entry_custom-format}{#boxplot-config-properties__entry_decimal-precision}{#boxplot-config-properties__entry_rounding}{#boxplot-config-properties__entry_1000s-separator}{#boxplot-config-properties__entry-enable-abbreviation}{#boxplot-config-properties__entry_example}{#boxplot-config-properties__entry_show-orig-number-tooltip}

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

{#boxplot-config-properties__table_formatting} {#boxplot-config-properties__table_qff_hb2_grb__entry__2}{#boxplot-config-properties__entry_axis-title}{#boxplot-config-properties__entry_axis-range-from}{#boxplot-config-properties__entry_axis-range-to}{#boxplot-config-properties__entry_primary-axis-position}{#boxplot-config-properties__entry_show-grid}{#boxplot-config-properties__entry_axis-style}{#boxplot-config-properties__entry_x-axis-title}{#boxplot-config-properties__entry_wrap-x-labels}{#boxplot-config-properties__entry_max-x-label-size}{#boxplot-config-properties__set-color-type}{#boxplot-config-properties__entry_single-color}

| Field \[property\] | Description |
|-|-|
| Display settings ||
| Y axis ||
| Hide axis \[yAxisHidden\] | Hide the vertical axis. |
| Axis title \[yAxisTitle\] | Title to display on the vertical axis of the visualization. |
| Axis range - from \[yAxisFrom\] | Starting point for the range of values for the vertical axis of the visualization. This property applies only to vertical bar charts. |
| Axis range - to \[yAxisTo\] | End point for the range of values for the vertical axis of the visualization. This property applies only to vertical bar charts. |
| Primary axis position \[yAxisPosition\] | Position of the primary axis. Options include: * Left * Right {#boxplot-config-properties__ul_gmm_jqs_2rb} 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 `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. {#boxplot-config-properties__ul_nnr_pqs_2rb} |
| X axis ||
| X axis title \[xAxisTitle\] | Title to display on the horizontal axis of the visualization. |
| Wrap labels \[xAxisWrapLabels\] | Wraps long labels in the horizontal axis. This property applies only to vertical and Pareto bar charts. |
| Max label size, px \[xAxisMaxLabelSize\] | Maximum label size for the horizontal axis, in pixels. This property applies only to vertical and Pareto bar charts. |
| Colors ||
| Set color type \[type\] | 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. * 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. {#boxplot-config-properties__ph_one-color} {#boxplot-config-properties__ul_vr5_rby_drb} |
| Color \[color\] | Single color to apply to the component. Note: Only available when Set color type is Single color. |
[Table 4. Presentation properties]

{#boxplot-config-properties__table_qff_hb2_grb}

### Table data properties {#ariaid-title3}

The following properties apply to Box plot data visualizations that show table data.
{#table-data-properties-box-plot__table_data-props-table__entry__2}{#table-data-properties-box-plot__entry_label}{#table-data-properties-box-plot__entry_metric-field}{#table-data-properties-box-plot__entry_group-by-field}{#table-data-properties-box-plot__entry_max-number-groups}{#table-data-properties-box-plot__entry_show-others}{#table-data-properties-box-plot__entry_sort-by}{#table-data-properties-box-plot__entry_sort-by-order}{#table-data-properties-box-plot__entry_follow-filters}{#table-data-properties-box-plot__entry_show-filter-icon}{#table-data-properties-box-plot__entry_enable-drilldown}{#table-data-properties-box-plot__entry_refresh-after-being-away}{#table-data-properties-box-plot__entry_enable-custom-empty-state}{#table-data-properties-box-plot__entry_empty-state-illustration}{#table-data-properties-box-plot__entry_empty-state-heading}{#table-data-properties-box-plot__entry_empty-state-content}{#table-data-properties-box-plot__entry_empty-state-alignment}

| Field \[property\] | Description |
|-|-|
| Metric for Table data sources ||
| Label \[label\] | Label of the metric. By default it is the same as the name of the data source. Note: If you have multiple metrics on the same data source, consider giving them custom labels. If you are defining group-by fields or breakdowns, this is particularly important. Chart labels in this case show both the metric label and the group-by value, so the metrics need different labels. |
| Field \[aggregateField\] | Field to apply the metric to, for Average, Sum, or Count Distinct aggregations. You may further be able to aggregate on fields from extended tables. The data is shown in a format that matches the field type. For example, if you select an integer field, such as the Priority field, the data is expressed as a number. If you select a duration field, such as Business duration on the Incident table, the aggregated data is expressed in days, hours, and minutes. If function fields were created in Report Designer for the table, they are available in the dropdown list. For more information, see [Report on function fields](https://www.servicenow.com/docs/access?context=function-fields-reporting&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). |
| Format values | Opens the formatting values dialog. See the Formatting Properties table. |
| 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: * 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://www.servicenow.com/docs/access?context=c_ReportRanges&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US). {#table-data-properties-box-plot__ul_nfk_bjy_m2c} |
| 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. |
| Show others \[showOthers\] | If Max number of groups is set and this option is turned on, an aggregate of the groups beyond the maximum number is displayed as the Other group. The Other element is added automatically when the number of elements exceeds the limit in the par_viz.table_data.max_groups system property. |
| 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: * Alternative group-bys support only up to three metrics on one visualization. * Alternative group-by does not support data binding on the data source {#table-data-properties-box-plot__ul_lqc_fws_bdc} |
| 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 |
| Measured by ||
| Field for \[table\] \[groupByField\] | The numeric field from the table for the Y-axis. A viewer cannot substitute this field with an alternative group-by field. |
| 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. * 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. {#table-data-properties-box-plot__ul_aym_njk_grb} 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. {#table-data-properties-box-plot__ul_b35_5g5_bdc} |
| Sort by order \[sortByOrder\] | The direction of the group-by sorting. Options include: * Ascending `asc` * Descending `desc` {#table-data-properties-box-plot__ul_lhw_3kk_grb} |
| Data update ||
| Follow filters \[followFilters\] | Follow filters set for a page. When enabled, the visualization displays on a workspace with the filters set by the page. Toggle off to disable a visualization from accepting any filter input. |
| Show filter icon \[showFilterIcon\] | Option to show the filter icon and the number of filters impacting the visualization. If a filter is not selected to apply to a visualization, the icon does not show. Toggle off to hide the filter icon and number of filters applied. |
| Enable drilldown \[enableDrilldown\] | Option to redirect a user to underlying information when they click a value or section. Destination depends on how event handler is configured or how Chart Interactions are configured on the Visualization Designer or inline dashboard editor. Turn off to prevent redirection. |
| Refresh after being away for X min. \[backgroundRefreshInterval\] | Triggered when you navigate away from the dashboard that contains the data visualization to another page in the same workspace, includingPlatform Analytics experience. Sets how many minutes you will be on another page before the visualization automatically refreshes when you navigate back. Do not confuse this property with the Scheduled repetition setting on inline dashboards. This latter property refreshes the entire dashboard, and applies only while that dashboard is open. |
| Refresh requested \[refreshRequest\] | A string that can be passed down to trigger a data refresh. Refresh will be triggered only if the new value of this property is different than the previous one. |
| Use data cache \[useDataCache\] | If activated, user queries are cached. This cached data is used on page refreshes instead of the database being queried. The load time for the data visualization is thereby shortened. The user can get current data on demand by using the manually refreshing the data visualization with the Refresh button. Turning on Real time update, if that is available for this data visualization, overrides the use of data caching. Setting a value for Refresh after being away for X min or Refresh requested also disables data caching. Default: false |
| Show cache time \[showCacheTime\] | When true, shows an icon that indicates that returned data are from the cache. On hover, the user sees how old the data is. Applies only when useDataCache is true. Default: true (only when useCacheData is true) |
| Cache expiration time (h) \[cacheExpirationTime\] | Number denoting the lifespan of cached data in hours. When the lifespan is exceeded, a page refresh results in the cached data being updated through a database query. A value for Refresh after being away for X min or Refresh requested can result in the data cache being updated before its expiration time. Default: 0 |
| No data message ||
| Set custom message when no data \[enableCustomEmptyState\] | Option to configure a custom message that displays when no data is returned. |
| Illustration \[emptyStateIllustration\] | An illustration to include in the message. |
| Heading \[emptyStateHeading\] | Header text of the message that describes why no data was returned. |
| Content \[emptyStateContent\] | Secondary text of the message that provides additional detail. |
| Alignment \[emptyStateAlignment\] | The alignment of the illustration and text in the message. |
[Table 5. Data properties for Table data sources]

{#table-data-properties-box-plot__table_data-props-table}

## Box plot visualization component events {#ariaid-title4}

Select event handlers to configure the actions (events) provided with the Data visualization component.
Event handlers work with data resources to link the list actions to the data you want to display to your users. Expand the event in the list and add one or more event handlers. For information about event handlers, see [event handlers](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.") .{#boxplot-config-events__table_msr_kpn_pnb__entry__2}

| Event | Description |
|-|-|
| Visualization Clicked | Dispatched when the visualization is clicked. Payload: * [ItemSelectedPayload](https://developer.servicenow.com/dev.do#!/reference/now-experience/tokyo/shared-components/now-vis-bar-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>, value: string, value: string, color: string, cssColor: string}` {#boxplot-config-events__ul_ev3_mlv_15b} |
[ ]

{#boxplot-config-events__table_msr_kpn_pnb}

