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=2The 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:
- It is not live. ChartPNG keeps the image for about 5 minutes, and the place where it lands may keep it much longer (see the table below). The time the sheet was read is written under the chart, so a reader can tell how old the numbers are.
- The URL names the sheet. Anyone who sees the image URL can open the sheet. Use a sheet that holds only the data for the chart.
- Only Google Sheets. The chart takes the id of a sheet, never an address to fetch.
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 is | What is known |
|---|---|
| ChartPNG itself | Keeps 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 browser | The browser keeps its copy for a minute, then asks again and gets one that is up to 5 minutes old. |
| A GitHub README | GitHub 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 Gmail | Not 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 Docs | Not measured, and their pages do not say. Assume the image is kept until you see otherwise. |
Related guides
- Google Sheets: Show a chart in a cell with =IMAGE, built from your own rows.
- Airtable: Build a chart URL for each record with a formula field, then open it with a button or keep it as an attachment.
- n8n workflow templates for ChartPNG: Importable workflows, including a weekly KPI report to Slack.
- GitHub README: Put a chart in a README that stays sharp on retina screens.
Sources
Claims about other products, read at their source on 17 Nov 2026.
- GitHub shows README images through its own proxy:
To host your images, GitHub uses the open-source project Camo
docs.github.com - GitHub asks for no-cache on images that change:
returns a Cache-Control of no-cache for images
docs.github.com - QuickChart says Gmail keeps an image after an email is opened:
GMail caches images for about 48 hours on email open
www.quickchart.io