Chart interactions in a data visualization

  • Release version: Washingtondc
  • Updated March 25, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Chart interactions in a data visualization

    This guide details how to configure chart interactions in data visualizations within the ServiceNow platform. Users can determine what actions occur when interacting with a chart, such as selecting a bar or segment. Options include navigating to a URL, opening another visualization, or filtering other visualizations on the dashboard.

    Show full answer Show less

    Key Features

    • On-click Behavior: Set actions for user interactions with chart segments, including disabling interactions.
    • Enable Drilldowns: Toggle to activate or deactivate chart interactions, with configuration of on-click events required for custom actions.
    • Available Actions:
      • Go to data view: Opens a data view relevant to the data type, default for all supported data sources except User Experience Analytics.
      • Go to URL: Navigates to a specified URL, either internal or external, which can include tooltips.
      • Apply as filter: Filters all visualizations on the dashboard by the selected value, applicable only to specific chart types.
      • Drill down to chart: Opens a filtered visualization based on selected data, available only for table data sources and configured via the Visualization Designer.

    Key Outcomes

    By effectively configuring chart interactions, ServiceNow customers can enhance user engagement with visualizations, allowing for more dynamic data exploration. Understanding the limitations and requirements for each interaction type ensures optimized functionality and a better user experience across dashboards.

    You can set what occurs when a user interacts with a chart, such as by selecting a bar column. Possibilities include navigating to a URL, opening another data visualization, and filtering all visualizations on the dashboard by the selected value.

    The configuration panel of a data visualization includes a section labeled Chart interaction. In this section, you set what is called "on-click behavior." This term refers to what happens when a user interacts with a segment of the chart that represents a value. Examples include selecting a point on a time series or a segment of a pie or donut. You can also disable chart interactions for the visualization.

    Important:
    You cannot configure chart interactions for data visualizations on technical dashboards or other UI Builder pages. You can turn chart interactions on or off with the Enable drilldowns toggle, but you cannot otherwise change them. Instead, you have to configure handlers for on-click events. For information about configuring drilldowns from data visualizations on a technical dashboard, see Add a drilldown event to a data visualization in a technical dashboard.

    The following actions are available for a chart interaction:

    Go to data view
    Opens a view of the data appropriate to the data type. For information about the views for each data source, see Data views for different data sources.
    Note:
    Go to data view is the default interaction for all supported data sources. Usage Insights data is not supported.
    Go to URL
    Opens the URL you specify. This URL can be on the instance or external to it. Where relevant, you can specify the name of the page that is opened in a tooltip. Go to URL is the default interaction for Usage Insights data sources.
    Apply as filter
    Filters all applicable data visualizations on the dashboard by the value of the selected segment. Does not apply when the Group by field is a time duration. Available only for Horizontal and Vertical Bar and Pie/Donut visualizations, and only for table and indicator data sources. Not available on UI Builder. For more information, see Make a data visualization act as a filter.
    Drill down to chart
    Opens a different data visualization that is filtered by the selected data. You can add a drill-down visualization for each metric on the parent visualization. You configure this new drill-down visualization seamlessly as part of the process of configuring the chart interaction.
    Note:
    Drill down to chart has the following limitations:
    • You cannot configure Drill down to chart in the in-line dashboard editor, only in the Visualization Designer.
    • Drill down to chart is available only for table data sources.
    • You cannot set drill down to chart from the Calendar, Geomap, Indicator scorecard, or List visualizations. However, you can drill down from supported visualizations to any visualization that can display table data.

    Drill down to chart is available with the Platform Analytics 4.1 application from the ServiceNow® Store.

    Different chart interactions support different data sources and data visualization types. The following table shows the matrix of support.
    Table 1. Chart interaction support
    Action Supported data visualizations Supported data sources
    Go to data view All All that the visualization supports except Usage Insights
    Go to URL All except Geomap and Indicator Scorecard All that the visualization supports
    Apply as filter (Available only in inline dashboard editor)
    • Horizontal and Vertical Bar
    • Pie and Donut
    Table and indicator
    Drill down to chart (Available only in Visualization Designer) All except Calendar, Indicator scorecard, List, and Geomap Table