A dynamic 2D bar chart visualizing categorical data along X and Y axes, with support for multiple Y-value series (grouped/stacked), custom legend mappings, theme palettes, interactive toolbox features (zoom, image export, data view, magic type switch to line chart), and dynamic filter expressions.
- Visualizing categorical data, discrete value distributions, or multi-metric side-by-side performance comparisons.
- Comparing dynamic query metrics across categories (X-axis) against numerical ranges (Y-axis), with support for grouped or stacked bars.
Requires an active Source Query. Select a valid column property for Label (X coordinate) and one or more numerical columns for Value (Y coordinate). Multiple value mappings generate multi-bar comparisons or stacked views.
- Categorical database query datasets containing discrete string labels (X coordinate) and numerical aggregation values (Y coordinate).
- A stacked annual revenue comparison bar chart grouping yearly sales values by product category across a 12x6 dashboard area.
- An operations bar chart showing regional delivery volume (X-axis) against target metrics (Y-axis) with custom legend aliases and toolbox utilities enabled.
- Squeezing bar chart displays into tiny layout boxes (e.g., under 6x6 grid units), allocate at least 6x6 grid units, expanding up to 12x12 for high-density category data.
- Mapping X and Y coordinates with mismatched data types (e.g. mapping string properties to Y value ranges), which prevents mathematical rendering of bars.
- Attempting to display unconstrained query datasets with hundreds of raw rows, use the Data Display Limit configuration to cap categories cleanly.
Configure these in the Application Designer property panel. Group headings mirror the editor where possible. Data Source is where the element gets its rows or field binding (a view/query, a connector operation, or a parent form field). References appear only for view-backed sources and map foreign-key ID columns to readable labels from another view.
- Database view that supplies rows or form data.Default: none
- Selects the query column property used for X-axis categorical labels.Default: none
- Selects one or more numerical query columns for Y-axis bar heights. Adding multiple values generates side-by-side comparison bars or stacked bars.Default: []
- When true, hides numeric value labels on bars.Default: false
- Boolean switch stacking multiple Y-value series vertically on a single bar instead of placing them side-by-side.Default: false
- Label position relative to the input control.Choices
topendbottomstarthidden
Default: none - Controls the layout alignment direction of legend items.Choices
verticalhorizontal
Default: none
- Configuration for sort.Default: none
- Caps the maximum number of category items rendered on the bar chart.Default: none
- Configures axis label step intervals using ‘auto’ or explicit numbers like 100 to control axis tick marks.Example
autoDefault: none
- Selects predefined visual color palettes or unlocks custom color hex picker settings.Default: none
- Custom theme object for background, title, and legend colors when not using a named preset.Default: none
- Toolbox buttons shown on the chart: save as image, restore, data view, area zoom, and magic type (switch to line).Default: none
- Row filter applied when loading data.Example
{ "combinator": "AND", "filters": [] }Default: defaultExpressionValue
Inside dataSource: (dataSource)
- Configuration for columns.Default: {"valueColumnNames":[],"labelColumnName":""}
- Minimum size: 3 × 3 grid cells (width × height).
title— Header title text displayed prominently above the bar chart container.
Renders canvas visual graphics with fallback ARIA chart roles (role='img') and accessible text descriptions. Turning on Data View allows screen reader users to consume underlying metric data in tabular format.
Other parts of your app can read live values from this element in custom expressions:
elements.myBarChart.<property>
loading
boolean
True while data is loading from the server.
elements.myBarChart.loading
When True while the chart is fetching. Use it to hold back a summary figure that would otherwise flash the wrong number.
data
null
Current payload rows or record object.
elements.myBarChart.data
error
string
Error message when the last operation failed.
elements.myBarChart.error
selected
object
Currently selected row(s) in the table.
elements.myBarChart.selected
When The record behind the bar the user clicked. This is how you make a chart drive the rest of the page — point a table or detail panel at it to drill down. Empty until something is clicked.
To use one of these, open the property you want to drive on the other element, switch it to expression mode in the Expression Editor, and enter:
| |
Replace myBarChart with this element’s unique id. Select the element in Application Designer and copy the id chip at the top of the right-hand property panel.
Drag this element into one of these containers:
| |