Skip to main content
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.

Parameters

Output

The agent populates data.labels and data.datasets[].data from the analytics tool result, then renders inside Ask AI’s chart block.