{"category":"generate","endpoint":"https://setget.net/v1/tools/chart","examples":[{"input":{"labels":["Mon","Tue","Wed","Thu","Fri"],"title":"Orders this week","values":[12,19,7,15,22]},"title":"A bar chart"},{"input":{"labels":["Q1","Q2","Q3","Q4"],"series":[{"name":"2024","values":[31,42,38,51]},{"name":"2025","values":[36,47,52,64]}],"theme":"dark","title":"Revenue by quarter","type":"line"},"title":"Two lines on a dark background"},{"input":{"labels":["Direct","Search","Social","Email"],"title":"Traffic sources","type":"donut","values":[420,310,150,90]},"title":"A donut chart"}],"input_schema":{"additionalProperties":false,"properties":{"colours":{"description":"Your own series colours in order, as hex or basic names. The built-in palette fills any gaps.","maxItems":8,"type":"array"},"height":{"default":420,"description":"Height in pixels.","maximum":2000,"minimum":160,"type":"integer"},"labels":{"description":"One label per value: the categories or points along the axis. Numbered 1, 2, 3 when left out.","examples":[["Mon","Tue","Wed","Thu","Fri"]],"maxItems":200,"type":"array"},"series":{"description":"Several series for bar, hbar, line or area charts: a list of {\"name\": ..., \"values\": [...]}, up to 8.","examples":[[{"name":"2024","values":[3,5,4]},{"name":"2025","values":[4,7,6]}]]},"show_values":{"default":false,"description":"Print each value at the end of its bar (single-series bar charts, when there is room).","type":"boolean"},"theme":{"default":"light","description":"Light or dark colours.","enum":["light","dark"],"type":"string"},"title":{"description":"Heading shown above the chart.","maxLength":120,"type":"string"},"type":{"default":"bar","description":"Chart type. hbar is a horizontal bar chart.","enum":["bar","hbar","line","area","pie","donut"],"type":"string"},"values":{"description":"The numbers for a single series.","examples":[[12,19,7,15,22]],"maxItems":200,"type":"array"},"width":{"default":720,"description":"Width in pixels.","maximum":2000,"minimum":240,"type":"integer"}},"required":[],"type":"object"},"keywords":["chart generator","chart maker","bar chart","line chart","pie chart","donut chart","svg chart","graph maker","area chart"],"related":["sparkline","table-image","progress-bar-image"],"slug":"chart","summary":"Make a clean SVG bar, line, area, pie or donut chart from labels and values, with axes, legend and title.","tier":"inline","title":"Chart generator","url":"https://setget.net/tools/chart"}
