跳转至

Pie Chart(饼图(Pie Chart))

The Pie Chart widget is used to visualize objects data in a pie or donut chart via grouping of objects by a specified property type into proportional slices.

The Pie Chart widget supports exporting of the current chart visualization as a PNG by using either the Download chart as image option or Custom chart export option in View mode. The current chart visualization can also be copied as an image to the clipboard. Export and copy to clipboard options appear on hover of the widget.

Pie chart example

Configuration Options

  • Input object set
  • The input variable which determines the object data that will be displayed within the widget.
  • Group by
  • Select the property type used for grouping the object set where each property type value will be represented by a slice.
  • Enable ontology colors: If toggled on, the widget will use the conditional formatting rules set for that property in the Ontology.
  • Aggregation
  • Select the aggregation method used, options include average, count, min, max, sum, or approximate unique count.
  • Radius
  • The inner radius of the space within the chart can be adjusted to switch chart’s visualization from a pie to a donut chart.
  • Legend
  • Show legend: If toggled on, a legend displaying the values of the property type used for grouping will be shown. The legend can be displayed to the left, right, top, or bottom relative to the chart.
  • Segment display
  • The display for individual segments within the chart can be overridden.
  • Segment value: Enter the label key for the segment you want to override.
  • Legend label: Optionally override the segment’s label text displayed in the legend.
  • Color: Select the color used for the segment.
  • Hide series: If toggled on, the segment will be hidden from the widget’s default view and must be toggled on in the chart legend by the viewer. If toggled off, the segment will be displayed in the widget’s default view.
  • Selection as filter
  • Select an object set filter variable to be applied to the widget’s inputted object set.

中文翻译

饼图(Pie Chart)

饼图微件(Widget)用于将对象(Object)按指定的属性类型(Property type)分组为成比例的扇区,从而以饼图或环形图的形式可视化对象数据。

饼图微件支持在查看模式下,通过下载图表为图像自定义图表导出选项,将当前图表导出为 PNG 图像。当前图表还可以直接作为图像复制到剪贴板。当鼠标悬停在微件上时,会显示导出和复制到剪贴板选项。

饼图示例

配置选项

  • 输入对象集(Object set)
  • 决定微件内显示的对象数据的输入变量。
  • 分组依据(Group by)
  • 选择用于对对象集进行分组的属性类型,每个属性类型值将由一个扇区表示。
  • 启用本体(Ontology)颜色: 开启后,微件将使用在本体中为该属性设置的条件格式规则。
  • 聚合(Aggregation)
  • 选择所使用的聚合方法,选项包括平均值、计数、最小值、最大值、总和或近似唯一计数。
  • 半径(Radius)
  • 可以调整图表内部空间的半径,将图表的可视化形式从饼图切换为环形图。
  • 图例(Legend)
  • 显示图例:开启后,将显示包含用于分组的属性类型值的图例。图例可以显示在图表的左侧、右侧、顶部或底部。
  • 扇区显示(Segment display)
  • 可以覆盖图表中各个扇区的显示设置。
  • 扇区值: 输入要覆盖的扇区的标签键。
  • 图例标签: 可选覆盖图例中显示的扇区标签文本。
  • 颜色: 选择用于该扇区的颜色。
  • 隐藏系列: 开启后,该扇区将从微件的默认视图中隐藏,查看者必须在图表图例中手动开启。关闭时,该扇区将显示在微件的默认视图中。
  • 选择作为筛选器(Selection as filter)
  • 选择一个对象集筛选变量,将其应用于微件输入的对象集。