操作方法

操作方法:在 Web AppBuilder for ArcGIS 中选择要素时,显示具有动态计数的多个图表

Last Published: July 18, 2023

摘要

Displaying multiple charts with current feature counts when a feature is selected is important to analyze multiple attributes simultaneously from a subset of data. This enables relationship studies between multiple attributes and potentially saves time in the decision-making process. In this example, treatment plants in South Island, New Zealand are selected and feature counts of different levels of treatment plants and the owners of these plants are dynamically displayed.

过程

To create an ArcGIS Web AppBuilder app that displays multiple charts and is updated when features are selected, configure Infographic and Select widgets that reference the same layer.

  1. In ArcGIS Web AppBuilder, select the appropriate theme to display multiple charts. In this example, Dashboard Theme is selected.
  2. Click the Widget tab, and add the Infographic widget The Infographic widget. Configure as follows:
    1. In the Choose a template window, select a chart template and click OK. In this example, Bar is selected.
    2. In the Set data source window, specify the layer of interest and click OK. In this example, Wastewater_Treatment_Plants_South_Island_NZ_ is selected.
    3. Ensure the Use selection option is checked.
Note:
Displaying charts based on feature selection is not available in the Chart widget.
  1. Click the chart area to open the Chart settings section.
  2. On the Data tab of the Chart Settings section, select Display feature counts by category for the Display mode field.
  3. For Category field, select the attribute on which the feature counts are based. In this example, Level of Treatment Plant is selected.
  4. Make changes, if any, to the chart title, axes, and display properties.
  5. Click OK.
Configure the Infographic widget.
  1. Repeat Step 2 to configure more charts.
  2. On the Widget tab, add and configure the Select widget The Select widget.. In the Choose which layers are available to selected field, select the same layer selected in Step 2b. In this example, Wastewater_Treatment_Plants_South_Island_NZ_ is selected.

Selecting certain features on the map updates feature counts on multiple charts dynamically.

Select features.

文章 ID:000022687

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

发现关于本主题的更多内容