Help

Frequently asked questions

Quick answers about generating charts with YakCharts. See the documentation for the full reference, or the guides for walkthroughs.

Charts & data

What chart types are supported?

Line, sparkline, spline, area, bar (vertical, horizontal, stacked, horizontal stacked, percentage), funnel, gauge, waterfall, bullet, scatter, pie, donut, bubble, box & whiskers, candlestick, the polar family, sankey, violin, word cloud, choropleth, and QR. Pass the name as type.

How do I format data?

It's a URL-encoded JSON array. XY charts (line/spline/scatter) take [x, y] pairs; categorical charts (bar/pie/donut) take ["label", value, ...] rows where extra values are extra series. Name series with options.categories. Full examples are in the docs.

How do I style a chart?

Set options.theme to a built-in (default, dark, light, cerulean, icy, sand, NCS, contrast, jetbrains) or a custom theme you build in the Theme Editor — see Build a custom theme.

Embedding & integrations

How do I embed a chart?

The endpoint returns a PNG, so drop the URL straight into an <img> tag, Markdown, an email, or a dashboard. Walkthrough: Embed a chart.

How do I remove the watermark?

Sign the request: pass an hmac — an HMAC-SHA256 of the query string (without the &hmac= part) keyed by your account secret. A valid signature returns an unwatermarked image.

Can I post charts to Slack?

Yes — install the app from the Integrations page and use /yakchart. See Post charts to Slack.

Quotas & errors

How does my quota work?

Each plan includes a monthly chart allowance (Free 1,000 · Basic 100,000 · Advanced 1.5M · Business 5M); one /api/chart.png request counts as one. Repeat identical requests can be answered from cache with 304 Not Modified — those are free and never count against your quota. Manage plans on Account & Billing.

What do errors look like?

Success is 200 with Content-Type: image/png (or image/webp with format=webp). Errors are JSON: 401 (missing key), 402 (invalid key or quota exhausted), 429 (rate limit exceeded — retry after the Retry-After header).