Charts
Detailed reference for all chart types in Datazone Intelligent Apps
Common Properties
All chart types share these properties:
Property | Type | Description |
---|---|---|
type | string | Chart type: number , line , bar , pie , radial , table , data_table , or composed |
name | string | Unique identifier for the chart |
title | string | Display title |
description | string | Optional description |
query | string | SQL query that provides chart data |
chart_config | object | (Optional) Chart configuration options |
Chart Configuration
The chart_config
object allows you to customize chart appearance:
Property | Type | Description |
---|---|---|
fill_donut | boolean | (Optional) Whether to fill the donut chart (for pie charts) |
show_labels | boolean | (Optional) Whether to show labels on the chart |
show_legend | boolean | (Optional) Whether to show the chart legend |
Number Charts
Number charts display a single metric value, often used for KPIs.

You can add an icon next to the number using any Lucide icon, and control its color with icon_variant
.
Required properties for number metrics:
Property | Type | Description |
---|---|---|
icon | string | (Optional) Lucide icon name (e.g., check , star ) |
icon_variant | string | (Optional) One of: default , neutral , success , warning , error |
For detailed information, check the YAML reference.
Composed Charts
Composed charts allow you to combine line and bar series in a single chart, each mapped to a specific axis. Use the axis
property to define axes, and set axis_name
and composed_type
for each metric.

Line Charts
Line charts visualize trends over time or continuous data. You can use the axis
property to define multiple axes and assign metrics to them using axis_name
.
Bar Charts
Bar charts compare values across categories. You can use the affected_filter
attribute under a dimension to allow users to update a filter by clicking a bar.
Standard Bar Charts
Stacked Bar Charts
Stacked bar charts allow you to show multiple metrics stacked on top of each other for each category. Use the chart_config.stacked
property to enable stacking:

Chart Configuration for Bar Charts
Property | Type | Description |
---|---|---|
stacked | boolean | (Optional) Whether to stack bars on top of each other |
show_legend | boolean | (Optional) Whether to show the legend for multi-series charts |
show_labels | boolean | (Optional) Whether to show labels on the bars |
Pie Charts
Pie charts show part-to-whole relationships. You can use the affected_filter
attribute under a dimension to allow users to update a filter by clicking a pie slice.
Donut Charts
You can create donut charts by setting fill_donut: false
in the chart configuration:
Radial Charts
Radial charts display progress or completion metrics in a circular format. They require exactly two metrics: the first metric represents the current value (displayed with a label), and the second metric represents the total or maximum value.

Table Charts
Table charts display raw data in tabular format.

Data Table Charts
Data Table charts provide advanced tabular display with custom formatting and alignment for each column.
- Sorting: Users can click on column headers to sort the table by any dimension or metric, ascending or descending.
- Pagination: Large result sets are automatically split into pages, allowing users to navigate through data efficiently.
This makes data_table
ideal for exploring large datasets interactively within your Intelligent App.

Formatting
Use the format
attribute under each metric to control how numbers are displayed:
Format | Example | Result |
---|---|---|
"0,0" | 1234 | ”1,234” |
"$0,0.00" | 1234.5 | ”$1,234.50” |
"0.0%" | 0.123 | ”12.3%“ |
"0.00a" | 1234 | ”1.23k” |
Dimensions
Property | Type | Description |
---|---|---|
name | string | Unique identifier for the dimension |
label | string | Display label for the dimension |
number_format | string | (Optional) Number format for this dimension |
table_align | string | (Optional) Table alignment: left or right |
Advanced Features
Multi-Series Charts
For line and bar charts, you can include multiple metrics: