Skip to content

Vertical Bar Chart

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

PropertyTypeDescriptionExample
categoryColumnTextColumn name for categories (X-axis)."productName"
valueColumnTextColumn name for values (Y-axis)."sales"
aggregationMethodEnumCount, Sum, Avg, etc.Sum
chartTitleTextTitle above the chart."Sales by Product"
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 to the field names. Use AggregationMethod as needed.
  • Model-Driven: Add the control where a data set is available; set the columns and aggregation.

Bind Items to a collection or table. The chart aggregates by category according to aggregationMethod and displays vertical bars.