ogmake

← All templates

Ledger

Horizontal bars scaled to their own maximum, the largest bleeding off the right edge.

Ledger template preview

Try it

POST /v1/images, Bearer-authenticated, with this template id and params — see the quickstart for how to get a key, and for a signed-URL example that links straight to a cacheable, cache-forever image URL without a server round trip.

curl https://ogmake.com/v1/images \
  -H "Authorization: Bearer og_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "template": "ledger",
  "params": {
    "title": "Cached render time",
    "rows": [
      "Cold=640",
      "Edge cache=210",
      "ogmake=57"
    ],
    "unit": "ms",
    "note": "Lower is better"
  }
}'

This template requires an array field (rows) — over a GET route (Public URLs, Signing) it's carried as bracket-indexed query keys instead of a JSON array; see the reference's "Array fields on GET routes". A working public-URL example (mint a real key in the dashboard to replace k_yourkeyid):

GET https://ogmake.com/p/k_yourkeyid/ledger?title=Cached+render+time&rows%5B0%5D=Cold%3D640&rows%5B1%5D=Edge+cache%3D210&rows%5B2%5D=ogmake%3D57&unit=ms&note=Lower+is+better

More templates.