create_chart_block
Add bar, line, pie, scatter, area, column, funnel, radar, or table chart blocks to a dashboard. Configure source table, axes, and aggregations to visualize data.
Instructions
Create a chart block (bar, line, pie, scatter, area, column, funnel, radar, table) and add it to a dashboard
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_token | Yes | Base app token | |
| dashboard_id | Yes | Dashboard block ID | |
| chart_type | Yes | Type of chart | |
| table_id | Yes | Source table ID | |
| view_id | No | Optional view ID to filter data | |
| x_axis_field | Yes | Field name for X axis | |
| y_axis_fields | Yes | Y axis configuration (can have multiple) | |
| title | No | Chart title | |
| show_legend | No | Show legend | |
| colors | No | Custom colors (hex codes) |