Guide

Build & reuse a custom theme

Match your brand once, then reference the theme by name from the editor and the API.

1. Design it in the Theme Editor

Open Theme Editor, set your series colours, fonts, and backgrounds, and save it with a name.

2. Use it

Select the theme in the Chart Editor, or pass it to the API as options.theme:

curl -o chart.png \
  "https://yakcharts.com/api/chart.png?apiKey=YOUR_API_KEY&type=bar&data=[[\"Q1\",10],[\"Q2\",15]]&options={\"theme\":\"my-brand\"}"

3. Iterate

Edits to a saved theme apply everywhere it's referenced, so you can re-brand all your charts at once.