Detailed reference for all chart types in Datazone Intelligent Apps
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_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 |
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 |
axis
property to define axes, and set axis_name
and composed_type
for each metric.
axis
property to define multiple axes and assign metrics to them using axis_name
.
affected_filter
attribute under a dimension to allow users to update a filter by clicking a bar.
chart_config.stacked
property to enable stacking:
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 |
affected_filter
attribute under a dimension to allow users to update a filter by clicking a pie slice.
fill_donut: false
in the chart configuration:
data_table
ideal for exploring large datasets interactively within your Intelligent App.
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” |
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 |