Guides

Keeping a chart up to date

A chart you pasted does not change when its numbers do. Here are four ways to make it follow them, and what each place does with the image.

Why a chart does not change

A ChartPNG chart is a URL, and the numbers are part of it. Change 15 to 20 and you have another URL. The one you pasted in a document, a chat or a README keeps drawing 15, for as long as it is there. Nothing is wrong: the image is a picture of the numbers at the moment you made it.

1. Let the chart read a Google Sheet

Put the numbers in a Google Sheet shared with Anyone with the link and give the chart the sheet's id instead of the numbers. The image is then drawn from the sheet each time someone asks for it.

https://chartpng.dev/chart?sheet=SHEET_ID&range=A1:C12&type=line&w=800&h=450&dpr=2

The fastest way to get that URL is to paste the sheet's link into the table editor. The docs list the parameters. Three things to know before you rely on it:

2. Build the URL inside the sheet

If the chart only has to be right inside Google Sheets, a formula can build the chart URL from your cells and show it with=IMAGE. When a cell changes, the formula makes a new URL. Charts in Google Sheets has the formulas.

3. Send a new chart on a schedule

An email that was sent and a chat message that was posted are finished: what keeps a team up to date there is the next message, not a change to the last one. A workflow that reads the numbers every Monday and posts a new chart does that. The n8n templates read from Stripe, Google Sheets or Postgres and post to Slack, Telegram or email.

4. Correct one chart by hand

For a chart made once and wrong by one number, paste its image URL into the table editor. The table it was made from comes back; change the number, copy the new URL and replace the old one where you used it. A short URL cannot be read back, because it does not carry the chart: paste the table again instead.

What each place does with the image

A chart that reads a sheet changes only when the place showing it asks for the image again. We have not measured these places ourselves yet, so this table has what their own pages say and nothing more.

Where the image isWhat is known
ChartPNG itselfKeeps a chart that reads a sheet for 5 minutes, then reads the sheet again. Every other chart never changes.
A page you open in a browserThe browser keeps its copy for a minute, then asks again and gets one that is up to 5 minutes old.
A GitHub READMEGitHub serves the image through its own proxy and tells image hosts to answer no-cache for images that change. How long it keeps an image otherwise is not documented.
An email in GmailNot measured by us. QuickChart's documentation says Gmail keeps an image for about 48 hours once the email is opened. Treat an email as a picture of the day it was sent.
Slack, Notion, Google DocsNot measured, and their pages do not say. Assume the image is kept until you see otherwise.

Sources

Claims about other products, read at their source on 17 Nov 2026.