← Back to catalog
chart.create
mock data$0.002 / callCreate Chart Image
⚡ ACTION: Generate a chart image (PNG) from data — bar, line, pie, doughnut, radar, scatter. Returns a permanent image URL. Combine with data tools (climate.co2, census.population, finance.exchange_rates) to visualize any dataset. Powered by QuickChart (Chart.js).
Input schema
typerequired
stringChart type: bar, line, pie, doughnut, radar, scatter, horizontalBar
title
stringChart title displayed at top
width
integerImage width in pixels (100-1000, default 500)
height
integerImage height in pixels (100-1000, default 300)
labelsrequired
arrayX-axis labels (e.g. ["Q1", "Q2", "Q3", "Q4"])
datasetsrequired
arrayOne or more datasets to plot
Call via REST
curl -X POST https://unifyapi.pro/api/call/chart.create \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"type":"<type>","title":"<title>","width":0,"height":0,"labels":"<labels>","datasets":"<datasets>"}'