操作方法

操作方法:如何在 Web 应用程序和 ArcGIS Online Map Viewer 中配置能够同时显示负值和正值的图表

Last Published: July 3, 2025

描述

某些数据同时包含负值和正值。 例如,一家公司的年度盈亏数据、一个四季分明国家的年度气温数据,以及化石中放射性同位素的含量。 通过可视化方式呈现这些数据,有助于受众理解多个变量之间的关系并得出结论。

解决方案或解决方法

选择以下任一方案,在 Web 应用程序和 ArcGIS Online Map Viewer 中配置能够同时显示负值和正值的图表。

ArcGIS Dashboards

在 ArcGIS Dashboards 中,从下拉列表中选择系列图表,同时显示负值和正值。

选择系列图表
Note:
A pie chart is not suitable to display both positive and negative values because the total does not add up to 100%.

ArcGIS Web AppBuilder

在 ArcGIS Web AppBuilder 中,添加并配置图表微件。 在图表类型字段中,选中柱状图条形图折线图复选框,即可在图表上同时可视化负值和正值。

配置“图表”微件
Note:
In ArcGIS Web AppBuilder, a pie chart can be used to display negative values, but not a combination of positive and negative values.

Using pie chart to represent all negative values

ArcGIS Online Map Viewer

在 ArcGIS Online Map Viewer 中,请参阅 ArcGIS 博客:弹出窗口:图表元素要点,如何在弹出窗口中创建图表。 在配置图表窗格中,选择条形图折线图饼图选项,即可在图表上同时显示正值和负值。

ArcGIS Online Map Viewer 中的图表选项
Note:
In ArcGIS Online Map Viewer, using a pie chart to represent both negative values does not display any value on the chart.

Pie chart to display all negative values 

文章 ID: 000020856

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

相关信息

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项