1. Get started

  2.  Welcome
  3.  Get started
  4.  Run as a Windows service
  5.  Build your first app
  6.  Requirements
  7.  Accessibility support
  8.  Development overview
  9.  About release versions
  10.  What's new
  11.  Frequently asked questions
  12. Working with apps

  13.  Home page
  14.  Create or import an app
  15.  Edit and launch an app
  16.  Choose a theme
  17.  Select a map or scene
  18.  Add widgets
  19.  Widgets overview
  20.  Configure app attributes
  21.  Preview apps on smaller screens
  22.  Export as a template
  23.  Edit or preview template
  24.  Use URL parameters
  25.  Upgrade apps
  26. Configure 2D widgets

  27.  About widget
  28.  Add Data widget
  29.  Analysis widget
  30.  Attribute Table widget
  31.  Batch Attribute Editor widget
  32.  Basemap Gallery widget
  33.  Bookmark widget
  34.  Business Analyst widget
  35.  Chart widget
  36.  Controller widget
  37.  Coordinate widget
  38.  Coordinate Conversion widget
  39.  Cost Analysis widget
  40.  Data Aggregation widget
  41.  Directions widget
  42.  Distance and Direction widget
  43.  District Lookup widget
  44.  Draw widget
  45.  Edit widget
  46.  Emergency Response Guide widget
  47.  Extent Navigate widget
  48.  Filter widget
  49.  Full Screen widget
  50.  Geocoder widget
  51.  GeoLookup widget
  52.  Geoprocessing widget
  53.  Grid Overlay widget
  54.  Gridded Reference Graphic widget
  55.  Group Filter widget
  56.  Image Measurement widget
  57.  Home Button widget
  58.  Incident Analysis widget
  59.  Infographic widget
  60.  Info Summary widget
  61.  Layer List widget
  62.  Legend widget
  63.  Measurement widget
  64.  My Location widget
  65.  Near Me widget
  66.  Network Trace widget
  67.  Oblique Viewer widget
  68.  Overview Map widget
  69.  Parcel Drafter widget
  70.  Print widget
  71.  Public Notification widget
  72.  Query widget
  73.  Related Table Charts widget
  74.  Report Feature widget
  75.  Reviewer Dashboard widget
  76.  Scalebar widget
  77.  Screening widget
  78.  Search widget
  79.  Select widget
  80.  Share widget
  81.  Situation Awareness widget
  82.  Smart Editor widget
  83.  Splash widget
  84.  Stream widget
  85.  Suitability Modeler widget
  86.  Summary widget
  87.  Swipe widget
  88.  Threat Analysis widget
  89.  Time Slider widget
  90.  Visibility widget
  91.  Zoom Slider widget
  92. Configure 3D widgets

  93.  3DFx widget
  94.  About widget
  95.  Basemap Gallery widget
  96.  Compass widget
  97.  Coordinate widget
  98.  Daylight widget
  99.  Full Screen widget
  100.  Home Button widget
  101.  Layer List widget
  102.  Legend widget
  103.  Measurement widget
  104.  My Location widget
  105.  Navigate widget
  106.  Search widget
  107.  Share widget
  108.  Slides widget
  109.  Splash widget
  110.  Zoom Slider widget
  111. Widget development

  112.  Get started
  113.  Naming conventions
  114.  In-panel and off-panel widgets
  115.  Deploy your widget
  116.  Required files
  117.  Widget manifest
  118.  Extend BaseWidget
  119.  Required properties
  120.  Define the template
  121.  Configure the Demo widget
  122.  Add i18n support
  123.  Make widgets user-friendly
  124.  Build your first app
  125.  Communication to app container
  126.  Widget properties
  127.  Make widgets responsive
  128.  Communication between widgets
  129.  Dojo dijit
  130.  Make widgets configurable in builder
  131.  Make widgets backward compatible
  132.  Create a controller widget
  133.  Widget life cycle
  134.  Add help for your widget
  135.  Create a feature action in your widget
  136.  Provide and consume data sources in widgets
  137.  Best practices for unit testing
  138. Theme development

  139.  Theme elements
  140.  Create a theme
  141. 3D development

  142.  3D development guide
  143. Sample code

  144.  Create a custom in-panel widget
  145.  Create a ListView widget
  146.  Create a custom widget using the Report dijit
  147.  Create a new theme
  148.  Create a new style for a theme
  149.  Create a new default layout
  150.  Create a nondefault layout
  151.  Create a new panel
  152.  Create a new layout widget
  153.  Create a controller widget
  154.  Create a feature action in your widget
  155.  Send a layer to the Attribute Table widget
  156.  Open multiple widgets simultaneously
  157.  Use other libraries
  158.  Change the URL of ArcGIS API for JavaScript
  159. Deployment

  160.  Deploy your app
  161.  Use proxy
  162.  Web-tier authentication
  163.  Custom widget and theme deployment
  164.  Upgrade custom widgets and themes
  165. Framework reference

  166.  CSS framework
  167.  FeatureActionManager class
  168.  FilterManager class
  169.  LayerInfo class
  170.  LayerInfos class
  171.  LayerNode class
  172.  LayerStructure class
  173.  PanelManager class
  174.  SelectionManager class
  175.  Utils class
  176.  WidgetManager class
  177. dijit

  178.  FeaturelayerChooserFromMap class
  179.  FeaturelayerServiceBrowser class
  180.  FeatureSetChooserForSingleLayer class
  181.  Filter class
  182.  ImageChooser class
  183.  ItemSelector class
  184.  LayerChooserFromMap class
  185.  RendererChooser class
  186.  Report class
  187.  SnapShot class
  188.  SymbolChooser class
  189. JSON reference

  190.  App configuration
  191.  Map configuration
  192.  Widget configuration
  193.  Widget pool configuration
  194.  Widget on-screen configuration
  195.  Panel configuration
  196.  Group configuration
  197.  DataSource configuration
  198.  About
  199.  Analysis
  200.  Attribute Table
  201.  Basemap Gallery
  202.  Bookmark
  203.  Chart
  204.  Coordinate
  205.  Directions
  206.  Draw
  207.  Edit
  208.  Full Screen
  209.  Geocoder
  210.  Geoprocessing
  211.  Controller
  212.  Home Button
  213.  Image Measurement
  214.  Infographic
  215.  Layer List
  216.  Legend
  217.  Loading Page
  218.  Measurement
  219.  My Location
  220.  Near Me
  221.  Oblique Viewer
  222.  Overview Map
  223.  Print
  224.  Query
  225.  Report Feature
  226.  Reviewer Dashboard
  227.  Scalebar
  228.  Search
  229.  Share
  230.  Splash
  231.  Stream
  232.  Swipe
  233.  Time Slider
  234.  Zoom Slider
  235. What's new archive

  236.  What's new in version 2.23
  237.  What's new in version 2.22
  238.  What's new in version 2.21
  239.  What's new in version 2.20
  240.  What's new in version 2.19
  241.  What's new in version 2.18
  242.  What's new in version 2.17
  243.  What's new in version 2.16
  244.  What's new in version 2.15
  245.  What's new in version 2.14
  246.  What's new in version 2.13
  247.  What's new in version 2.12
  248.  What's new in version 2.11
  249.  What's new in version 2.10
  250.  What's new in version 2.9
  251.  What's new in version 2.8
  252.  What's new in version 2.7
  253.  What's new in version 2.6
  254.  What's new in version 2.5
  255.  What's new in version 2.4
  256.  What's new in version 2.3
  257.  What's new in version 2.2
  258.  What's new in version 2.1
  259.  What's new in version 2.0
  260.  What's new in version 1.3
  261.  What's new in version 1.2
  262.  What's new in version 1.1

Infographic widget

The Infographic widget provides 16 graphic templates you can use to visualize and monitor attributes and statistical data in the map and from extra data sources.

The visualization graph generated by the Infographic widget is dynamic, refreshing when the map extent or data source changes, and can be interactive with the map. The graphs also respond to the Filter and Select widgets directly, as well as the results from the Geoprocessing and Query widgets. The targets and corresponding indicators for the data are supported in certain templates.

CautionCaution:

Be careful when you enable the Filter by extent option. If your app is shared publicly and might go viral, enabling this option will slow down the performance of the app dramatically due to the scaling of the server. It is strongly recommended that you use other widgets such as Filter and Group Filter to zoom to the features instead.

However, if this option is enabled automatically and can't be turned off, which means the statistic is calculated on the client side, your app would be fine.

The templates and their

values are listed in the following table:

NoteNote:

With the exception of the first four templates listed in the table, the templates are called chart templates in this topic.

The percentage stacked chart (bar, column, and area) is an extension of the stacked chart and compares the percentage that each value contributes.

Template name

Display value

Support custom indicators

Number

  • Feature count
  • Field statistics

Yes

Gauge

  • Feature count
  • Field statistics

Yes

Vertical Gauge

  • Feature count
  • Field statistics

Yes

Horizontal Gauge

  • Feature count
  • Field statistics

Yes

Pie

  • Field values
  • Categorized statistics
  • Categorized feature counts
  • Field statistics

    If Display values by category or Display feature counts by category is selected, you can define the chart color by Custom color by category.

No

Donut

  • Field values
  • Categorized statistics
  • Categorized feature counts
  • Field statistics

    If Display values by category or Display feature counts by category is selected, you can define the chart color by Custom color by category.

No

Bar

  • Field values
  • Categorized statistics
  • Categorized feature counts
  • Field statistics

No

Stacked Bar

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Percentage Stacked Bar

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Column

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Stacked Column

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Percentage Stacked Column

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Line

  • Field values
  • Categorized statistics
  • Categorized feature counts
  • Field statistics

No

Area

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Stacked Area

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Percentage Stacked Area

  • Field values
  • Categorized statistics
  • Categorized feature counts*
  • Field statistics*

*Although the mode is supported, the stacked effect may not be seen due to one data series.

No

Add data source

The Infographic widget can visualize data from the map or the extra data sources. Before configuring the Infographic widget, decide which data source to use for the widget. It is intuitive to use the layers from the map as a direct data source. Consider the Extra data source option when you want complete control over the Filter by extent option on layers, or you want to visualize data outside the map.

CautionCaution:
Be careful when you enable the Filter by extent option. If your app is shared publicly and might go viral, enabling this option will slow down the performance of the app dramatically due to the scaling of the server.

NoteNote:

When the map data source is used, the features on the map can be loaded by snapshot or on-demand mode. When features are loaded by on-demand mode, they are filtered by the current map extent. When features are loaded by snapshot mode, you can choose whether they're filtered by the current map extent. All the services use on-demand mode by default except the hosted feature service. For the point hosted feature, when the number of features is less than or equal to 4,000, snapshot mode is enabled; when greater than 4,000, on-demand mode is enabled. For the polyline and polygon hosted feature, the threshold is 2,000 features with 250,000 vertices. While the data is added from Extra data source, the features are loaded in a way that is similar to the snapshot mode.

The first step in configuring the Infographic widget is to choose the data source as follows:

  • When Map is chosen as the data source, only feature layers with query capabilities are supported, and the refresh interval for layers activated in the map can be updated on the Map tab.
    CautionCaution:

    If you want to keep the layers in sync with the latest data, setting the interval here does not take effect until the Refresh Interval option is activated for the layer in the map.

    NoteNote:

    A feature layer is a single layer that can be created from a map service or feature service, from ArcGIS Online or ArcGIS Enterprise items, or from an array of client-side graphics. As a result, a feature layer can be added from the following sources:

    • ArcGIS Server service URL from a feature service
    • ArcGIS Server service URL from a sublayer of a map service
      CautionCaution:

      The layer added from a map service as a group is available from the extra data source but not from the map data source.

    • Hosted feature service
    • Feature collection

  • When Extra data source is chosen, you can add the Layer and Statistics types from the extra data source on the Attribute tab, or you can use the resultant output layer from other widgets in the app, such as Geoprocessing and Query. With each type, you have map, portal, and ArcGIS Server service options as well as complete control over Filter by extent. The Map option enables you to have more control over layers in the map; the latter two enable you to add data outside the map. In addition, when data is added as Layer, it can be a feature layer, a table, or an image service vector layer. When data is added as Statistics, it stores the feature count of group data (if specified) and performs server-side calculations on the sum, average, maximum, and minimum values of the group (if specified) based on one or more numeric fields.
    NoteNote:

    The Infographic widget only considers the results of the Query and Geoprocessing widgets.

TipTip:

As far as the Filter by extent option is concerned, you have the option to enable or disable it with data from Extra data source and data from the map data source when the features are loaded by snapshot mode. The Filter by extent option is always enabled when you choose data from the map data source and the features are loaded by on-demand mode.

When using the Infographic widget, you can use the related table as an external data source. When you do so, the related table is treated as a stand-alone table. There is no interaction between the table, related features, and the charts.

Configure the Number template

This widget can be set to open automatically when an app starts. Hover over the widget and click the Do not open this widget when the app starts button Do not open this widget when the app starts to change the setting to Open this widget automatically when the app starts. (For widgets that you need to add to the app first, you can turn on this option after configuring the widget.)

The following steps describe how to configure a graph with the Number template. The settings of three gauge-related templates are similar to the Number template.

Steps:
  1. Hover over the widget and click the Configure this widget button Configure this widget to open the configuration window.
    NoteNote:

    If you need to add the widget to the app first, click a widget placeholder on the Widget tab. In the Choose Widget window that opens, select the widget and click OK.

  2. Click the thumbnail of the Number template and click OK.
  3. Choose the data source.

    This can be a feature layer in the map, an output layer of the widget, or an extra data source added on the Attribute tab.

  4. Click OK and the settings panel of the template appears.
  5. Click the Change widget button to replace the default icon for this widget with an image of your own.

    A file explorer window appears allowing you to browse to a local image file to use as the widget icon.

  6. Set interaction conditions if the data source is a feature layer from the current map:
    • Use selection—Only use selected features to create the graph. If there is no selection in the source layer, the entire dataset will be used.
    • Filter by extent—Only use features in the current map extent to create the graph.
      • If the data source is a feature layer from the map and is loaded in on-demand mode, the Filter by extent option is checked and can't be turned off.
      • If the data source is a feature layer from the map and is loaded in snapshot mode, the Filter by extent option can be turned on and off.
      NoteNote:

      If a layer is added from the map section in Extra data source, the Filter by extent option can be turned on when you click the Set button under Filter in the Configure data source window and check the Only the features within the current map extent check box under Extent in the Data source filter window. However, once Filter by extent is on, it can't be turned off unless the Only the features within the current map extent check box is not checked.

  7. Modify an element's layout.

    The left panel is not only a preview of the graph but also a flexible layout editor.

    1. The title, description, image, and number are elements that can be added to the template. Click an element thumbnail to hide or show the corresponding element.

      Element thumbnails

    2. Select an element in the preview to highlight it, and drag the upper and lower borders to resize it. Drag the handle in the upper right corner to rearrange it.

      Rearrange handle

    3. Click the Reset button Reset to reset the layouts.
    4. Click Change Template to choose a different template, such as Gauge.

      CautionCaution:

      Changing templates will delete the existing settings and open a new, blank template.

  8. Click each element to set its parameters.

    All changes take effect in the preview synchronously.

    • Text settings—Set the text, font, text size, text color, alignment, and link for the text. Optionally customize the background color of the element.
    • Image settings—Set the image source, alignment, and link. Optionally customize the background color of the element.
    • Number settings—Set the options on the Data, Display, and Indicators tabs.
      • Data—Set the data format of the result number to either Feature count or Field statistics.

        Data format

        NoteNote:
        The Gauge template supports set minimum and maximum values. If you need to set these values based on dynamic statistical data, you should first have statistic based data defined in the Extra data source.

      • Display—Set the number’s unit, decimal places, prefix, and suffix. You can also customize the common text parameters (font, text size, text color, and alignment) and background color of the element.

        Number units

        TipTip:

        The value displayed in the Gauge template can be the number of a feature count or field statistic as well as the proportion of that number in the provided data range. You can customize the gauge's bar's background and front color in the Display section.

      • Indicators—Set the target values and corresponding indicators. There are two optional indicators: the color of the value and the indicator icon. If the target value meets the conditions, the element’s color and icon, if set, change accordingly.

        Add indicator

        CautionCaution:

        The indicators are executed in top-down order. The final appearance is determined by the last condition that the data meets.

        TipTip:

        The Gauge template also supports ratio targets. This means the target is the percentage given the data range.

  9. Click OK to finish the configuration.

Configure the Column template

Compared to the Chart widget, the chart templates are enhanced with the following features:

  • Use the layer's symbol color as the chart color when applicable.
    NoteNote:

    The Use layer's symbol option is on the Display tab. Whether the option is available depends on the type of layer renderer in the map and the display mode you choose on the Data tab. For example, when the layer is rendered by unique values without a symbol, and Display values feature by feature is chosen, you have the option to use the layer's symbol color as the chart color.

  • Predefine custom colors for value fields when applicable.
  • When the date field is chosen as Category field in display mode, parse the minimum period into one of selected units, including year, quarter, month, day, hour, minute, and second.
  • Sort the chart by the value or label.
  • Set the maximum categories for performance.
  • Set the text size for both horizontal and vertical axes.
  • Turn on the option to display integer scale only.
  • Use the extra data source.
  • Set a modern look and feel.

Steps:
  1. Click the thumbnail of the Column template and click OK.
  2. Repeat steps 3 through 7 in the Configure the Number template section.
  3. Click each element to set its parameters.

    All changes take effect in the preview synchronously.

    • Text settings—Set the text, font, text size, text color, alignment, and link for the text. Optionally customize the background color of the element.
    • Chart settings—Click the Data tab. Set a display mode and associated parameters. Generally, there are four display modes, as follows:
      • Display values feature by feature—Display values of one or multiple fields for each feature in the layer and display values feature by feature. For example, in a cities layer, you may want to display the population for each city as a bar or column. You may also want to display the male and female population as clustered bars and columns per city.
      • Display values by category—Display statistical values of one or multiple fields for each category of features in the layer. For example, in a cities layer, if you specify the state field as the category, you can display the total population for cities per state.
      • Display feature counts by category—Display total feature counts for each category of features in the layer. For example, in a cities layer, you can specify the population class field as the category, and calculate the counts of cities in each population class.
      • Display attribute values as charts—Display the statistical value for a specified field or fields in the layer. For example, in a cities layer, you can display the total population as a bar for all cities in the year 2000, and the other bar for a total population of all cities in the year 2010.
        NoteNote:

        Choose more than one value field for stacked charts.

    • Display tab—Set display parameters. Optionally change the default display range to show all results in the chart. Users can still adjust the display range to show a subset of results by moving a slider in the widget. You can set the chart color to use a layer's symbol color or custom colors defined for selected value fields and include a legend. You can also set the title and label and configure a range of values for the horizontal and vertical axes.
    • Marks tab—You can add line or area marks to your chart. These marks can visually present specific criteria for the chart.
  4. Click OK to finish the configuration.

Use the Infographic widget

Open the Infographic widget in the app by clicking the widget icon.

Open Infographic widget

Keep the following in mind when you use the widget:

  • If the Use selection option was checked during configuration, the number changes when features from the source layer are selected.
  • If the Filter by extent option was checked during configuration, the number changes when the map is panned or zoomed.
  • If indicators were set during configuration, the color and icon change with the number.
  • The graph is updated when the data is refreshed.

You can also do the following with the chart templates:

  • Hover over individual pieces in the chart. The category and field values display, and the corresponding feature is highlighted on the map.
  • Move the slider or drag its ends to adjust the display range so the chart shows all or a subset of records.
  • Click the Settings button Settings to turn the legend, data labels, and axis on or off.