line-chart

Line chart OG image template

A real area chart drawn from a list of values, running to the edges of the frame, with the latest value called out.

Line chart Open Graph image template rendered by Shareglint
Line chart template at square size (1080×1080)
Line chart template at portrait size (1080×1350)
Line chart template at story size (1080×1920)
Line chart template at pinterest size (1000×1500)
Line chart template at youtube size (1280×720)

These are real renders from the API with the example values in the table below. Switch the size above: the same template lays itself out for all 6 sizes — send size or sizes with the request.

Send the series as text — Jan:120, Feb:180, Mar:240 — and the card draws up to 24 points with a filled area, scaled to the data, so a price or an MRR line moves as it should. One point becomes a flat level, parts without a number are skipped. Wide frames show the latest value and its change in the header; square and vertical frames hang it in a callout over the last point, above it after a rise and below it after a fall.

Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

Field Type Description Example
title text Headline above the chart. default: Chart title Monthly recurring revenue keeps climbing
series text Points as label:number pairs separated by commas, semicolons or new lines, e.g. Jan:120, Feb:180, Mar:240. At most 24. default: Jan:12, Feb:18, Mar:25 Jan:21.4, Feb:23.0, Mar:22.1, Apr:26.8, May:29.5, Jun:28.7, Jul:33.9, Aug:37.2, Sep:41.6, Oct:48.2
highlight text Change next to the latest value, e.g. +38% since June. A leading minus turns it red with a down arrow. +38% since June
unit text What the numbers are, shown above the title, e.g. MRR, $ thousands. MRR, $ thousands
period text Time range in the pill, e.g. Jan – Oct 2026. Jan – Oct 2026
source text Data source under the chart. Source: Stripe dashboard
site text Site or brand under the chart. northwind.dev/open
logo image URL Logo next to the unit. https://example.com/images/logo-northwind.png
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #22d3ee #22d3ee
theme dark | light Colour scheme: dark or light. —

Render it with one request

Use the slug as template. The response holds the URL of the finished PNG; ?wait=true keeps the connection open until it is ready.

curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "line-chart",
    "modifications": {
        "title": "Monthly recurring revenue keeps climbing",
        "series": "Jan:21.4, Feb:23.0, Mar:22.1, Apr:26.8, May:29.5, Jun:28.7, Jul:33.9, Aug:37.2, Sep:41.6, Oct:48.2",
        "highlight": "+38% since June",
        "unit": "MRR, $ thousands",
        "period": "Jan – Oct 2026",
        "source": "Source: Stripe dashboard",
        "site": "northwind.dev/open",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'

Or paste a signed URL into og:image

For static sites, Webflow, Shopify and no-code tools: put the fields in the query string and sign it with your signing secret. The first request renders the image, every later one is a redirect to the cached file. How to compute the signature.

<meta property="og:image" content="https://shareglint.com/i/acc_YOUR_ACCOUNT_ID/line-chart.png?highlight=%2B38%25%20since%20June&period=Jan%20%E2%80%93%20Oct%202026&series=Jan%3A21.4%2C%20Feb%3A23.0%2C%20Mar%3A22.1%2C%20Apr%3A26.8%2C%20May%3A29.5%2C%20Jun%3A28.7%2C%20Jul%3A33.9%2C%20Aug%3A37.2%2C%20Sep%3A41.6%2C%20Oct%3A48.2&site=northwind.dev%2Fopen&source=Source%3A%20Stripe%20dashboard&title=Monthly%20recurring%20revenue%20keeps%20climbing&unit=MRR%2C%20%24%20thousands&s=YOUR_SIGNATURE">

Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

curl -X POST "https://shareglint.com/v1/templates/library/line-chart/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More Data, charts & milestones templates

All 14 Data, charts & milestones templates →  ·  All templates →