Skip to content

Pie Chart

The Pie Chart component displays data as a pie or donut chart. It supports a data source, category and value columns, and aggregation (Count, Sum, Avg, etc.).

PropertyTypeDescriptionExample
categoryColumnTextColumn name for slice categories."category"
valueColumnTextColumn name for slice values."amount"
aggregationMethodEnumCount, Sum, Avg, etc.Sum
chartTitleTextTitle above the chart."Share by Category"
showLabelsBooleanShow labels on slices.true
showLegendBooleanShow legend.true
showTooltipBooleanShow tooltips on hover.true
colorModeEnumDefault, Theme, or Custom.Theme
customColorsTextJSON map of category to hex color (when colorMode is Custom).{}
  • Canvas: Set Items to your data source. Set CategoryColumn and ValueColumn. Use AggregationMethod as needed.
  • Model-Driven: Add the control where a data set is available; configure columns and aggregation.

Bind Items to a collection or table. The chart aggregates by category and displays pie slices.