Can I get a transparent PNG?
Not today. background only accepts a six-digit hex colour, and the chart is rendered onto it, so every PNG has a solid backdrop. Matching the background to your page is the closest equivalent.
Some destinations only take a raster image. Add format=png to any PlotLark request and the same configuration comes back as a PNG, rasterised on the server at precisely the width and height you asked for.
https://www.plotlark.com/api/chart?type=donut&title=Storage+by+workspace&labels=Design%2CEngineering%2CSupport%2CSales&values=42%2C96%2C18%2C27&width=900&height=520&color=%2370c9b0&background=%23fffdf8&grid=true&valuesOn=true&format=pngcurl "https://www.plotlark.com/api/chart?type=donut&title=Storage+by+workspace&labels=Design%2CEngineering%2CSupport%2CSales&values=42%2C96%2C18%2C27&width=900&height=520&color=%2370c9b0&background=%23fffdf8&grid=true&valuesOn=true&format=png" --output chart.png<img src="https://www.plotlark.com/api/chart?type=donut&title=Storage+by+workspace&labels=Design%2CEngineering%2CSupport%2CSales&values=42%2C96%2C18%2C27&width=900&height=520&color=%2370c9b0&background=%23fffdf8&grid=true&valuesOn=true&format=png" alt="Storage by workspace" width="900" height="520" />No account and no key needed for these requests. Swap /api/chart for / to reopen the same configuration in the studio.
The two formats come from one drawing, so they always show the same chart. Pick by where the image is going.
| Destination | Best format | Why |
|---|---|---|
| Email and chat | PNG | The widest client support for inline images, with no vector rendering differences. |
| Documents and PDFs | SVG | Text and shapes stay sharp when the page is zoomed or printed. |
| Slides and screenshots | PNG | Drops straight into tools that only accept a bitmap. |
| Web pages and READMEs | Either | SVG is smaller and sharper; PNG avoids sanitisers that strip inline SVG. |
These limits apply before you start, so nothing on this page promises more than the renderer delivers.
Not today. background only accepts a six-digit hex colour, and the chart is rendered onto it, so every PNG has a solid backdrop. Matching the background to your page is the closest equivalent.
Up to 1600 × 1200 pixels. Larger presets and retina multipliers are deliberately deferred until rendering cost has been measured.
Yes. Both formats come from one drawing pass, so the PNG is a rasterisation of the same chart rather than a separate layout.