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
Thechart_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.
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 |
Datazone currently uses Lucide version 0.515.0. If you try to use an icon introduced in a newer version, it may cause an error or not display correctly. See the Lucide icon gallery for available icons in 0.515.0.
Composed Charts
Composed charts allow you to combine line and bar series in a single chart, each mapped to a specific axis. Use theaxis 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 theaxis property to define multiple axes and assign metrics to them using axis_name. Use fill_area to control whether the area under the line is filled.
Line Chart Configuration
| Property | Type | Description |
|---|---|---|
fill_area | boolean | (Optional) Whether to fill the area under the line (default: true) |
Bar Charts
Bar charts compare values across categories. You can use theaffected_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 thechart_config.stacked property to enable stacking:

Chart Configuration for Bar Charts
| Property | Type | Description |
|---|---|---|
is_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 |
Vertical Layout Bar Charts
You can create vertical layout bar charts by settinglayout: vertical in the chart configuration:
Pie Charts
Pie charts show part-to-whole relationships. You can use theaffected_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 settingfill_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.
data_table ideal for exploring large datasets interactively within your Intelligent App.

Chart Config
Chart configuration options allow you to customize the appearance and behavior of your charts. Common properties include:page_size: (Fordata_table) Number of rows per page
Formatting
Use theformat 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 |
Heatmap Charts
Heatmap charts visualize data where individual values are represented as colors. They require exactly two dimensions and one metric. Heatmaps are ideal for showing relationships between two categorical dimensions with a numeric value determining the color intensity.
Advanced Features
Multi-Series Charts
For line and bar charts, you can include multiple metrics:Text (Markdown)
Render rich text using Markdown in your Intelligent App.