Skip to content

Horizontal Bar Chart

The Horizontal Bar Chart component displays categories as horizontal bars. It supports a data source, category and value columns, and aggregation (Count, Sum, Avg, etc.).

PropertyTypeDescriptionExample
categoryColumnTextColumn name for categories."region"
valueColumnTextColumn name for values."revenue"
aggregationMethodEnumCount, Sum, Avg, etc.Sum
chartTitleTextTitle above the chart."Revenue by Region"
showLabelsBooleanShow labels on bars.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 horizontal bars.