?
generateChart
Create a chart image using QuickChart (Chart.js) and return the URL.
mindstudio.generateChart({ chart }) → Result
Renders a chart as an image via QuickChart (Chart.js) and returns its URL — hand it a Chart.js config and get back a PNG. Good for charts in emails, PDFs, and other places you cannot run JS.
Parameters
chart
object
RequiredChart configuration including type, data, and rendering options
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.generateChart({ chart: /* ... */ });