Returns a populated Chart.js v4 config skeleton for a given chart type. Saves the agent from reinventing the config shape — which is where most malformed-chart errors come from.Documentation Index
Fetch the complete documentation index at: https://docs.cometly.com/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chart_type | string | Yes | line, bar, pie, doughnut, radar, or stacked_bar. |
Output
data.labels and data.datasets[].data from the analytics tool result, then renders inside Ask AI’s chart block.