Skip to content

URL state

The chart (pens, range or live span, view options, x-traces, notes) is encoded after #pcu= as <version>.<base64url JSON>. Several charts on one page each need their own urlKey: when two have the same, only the first keeps that entry and the other stays out of the URL (its state is not kept in links or over a reload, and opening or saving a chart in it leaves the address as it is; its links open a saved chart as saved). The Designer shows a warning on that chart; the sample's /twocharts page shows what happens. The version keeps old links opening after an upgrade; a link from a newer version says so instead of guessing. A live chart stores its span, so the link opens on the present.


Copied from the section "URL state" of the README when the site is built. Source: README.md.