饼图

饼图将类别显示为整体的比例或百分比。使用饼图可显示类别数据的构成,每个段都与其表示的数量成正比。

何时使用它?

当针对某个静止期比较整体的各个部分时,饼图很有效。它们不显示随着时间的推移而发生的变化。

请在下列情况下考虑使用饼图:

  • 一个数据集饼图对于分类和比较一个数据集很有效
  • 正值饼图无法显示零,使用负值时可能造成混乱
  • 七个或更少的类别当使用七个以上的类别时,观察每个段的相对大小会变得越来越困难

示例

标准饼图

您需要确定哪些运输方式在您的公司的运输成本总金额中占最大比例。使用饼图,显示每种方式占总成本的百分比:

圆环图

您需要确定客户类型和利润之间是否存在关系。使用饼图,显示每个类别客户的利润总和,以说明哪些客户类型在您的销售额中最为重要:

数据配置设置

  1. 从平台主页 (www.diligentoneplatform.com) 中,选择结果应用程序以将其打开。

    如果您已经进入 Diligent One,可以使用左侧导航菜单切换到结果应用程序。

  2. Navigate to the appropriate table.
  3. On theConfigurepanel, clickDataand configure the following settings:
设置支持的数据类型描述
Categories displayed
  • character
  • numeric
  • datetime
The field represented by pie chart sections. One section is created for each unique value in the field.
Valuenumeric

The aggregate value that serves as the basis for the chart's values. The total of all values in the field for each category determines the size of the pie chart sections.

Tip

You can control decimals and rounding on numeric data by changing format of this field.

For the Average aggregate option, Format options is available in the Data tab of the Configure Visualization panel. For all other aggregate options, format options set in Table View is applied. For help doing this, see 数据格式化选项.

格式选项

数值

在此域中选择一个选项以将小数位数和取整方式等格式应用于图表中的 Y 轴值。有关执行此操作的帮助,请参阅数据格式化选项

只有对于平均聚合选项,格式选项才是可用的。对于所有其他聚合选项,则应用在表视图中设置的格式选项。

图表显示设置

  1. 从平台主页 (www.diligentoneplatform.com) 中,选择结果应用程序以将其打开。

    如果您已经进入 Diligent One,可以使用左侧导航菜单切换到结果应用程序。

  2. Navigate to the appropriate table.
  3. On theConfigurepanel, clickDisplayand configure the following settings:
设置描述
选项
Show LegendShow or hide the legend at the top of the chart.
Show ValuesShow or hide the data point values.
Show PercentagesShow or hide the percentage that each proportion represents of the whole.
Show Total

显示饼图值的总和。

Boost performance

当图表上的数据点超过 150 个时,通过应用一些折衷来切换到性能模式。要了解更多信息,请参考图表性能提升

DonutDisplay the pie chart as a donut chart rather than a traditional pie chart.
Ratio

控制环形图孔相对于整个环形图的大小。指定一个较大值以增加圆环图孔的大小。

最大值为 0.7。

Other settings
ColorsThe colors assigned to each category.