Synchronised charts

Give charts on one page the same syncGroup (any text, such as plant) and they share
their time:
- Hover: pointing at one chart shows the trace line and each pen's value at that time on every chart of the group that shows that time.
- Pinned x-traces: a click pins a trace on every chart; removing it removes it everywhere.
- The range: a box zoom, wheel zoom, pan, a range picked in the time picker, the arrows and zoom out, Back, Reset, Go to now and Live in one chart move them all. The zoom history is shared, so Back on any chart undoes the last move of the group.
Each chart keeps its own pens, axes, plots and options; only time is shared. A chart that cannot show as long a range as the group (its configuration's maximum range) shows the latest part of it, also after Back or Reset and as a live range moves on, while the group keeps the whole range (in what it shares and in the zoom history). Its range says so: "Last 7 days, limited by configuration". The charts may be anywhere on the page, in embedded views too. It all happens in the browser, so hovering costs the gateway nothing; charts on another page or in another tab are not synchronised.
A chart that joins a group later (an embedded view that loads, a chart whose group is set) takes on the group's time and traces. The first chart of a group brings its own.
With a Time Range component. A chart whose range follows a Time Range moves its whole
group whenever that range changes, also when it joins (it takes the traces pinned there). A zoom or pan in the group moves that
chart too, and the chart writes that range back to the Time Range: it then shows the group's
range (a zoom as "27 Nov, 17:00 to 18:46", Live off; Back brings "Last 8 hours" back), and its
from, to, start, end and value follow, so whatever else is bound to it shows the same
time. The next range picked in the Time Range moves them all again. (A chart finds its Time
Range by the source in its value, the Time Range's own id: it writes back to that one only. A
range without it, such as a chart's own {"from": "now-8h", "to": "now"} or a binding that copies
only From and To, or a start and end, is written back to none.) Bind one chart of
the group (or all, to the same Time Range) and leave the others unbound.
Each chart keeps its own entry in the URL, so give each its own urlKey. Dashboard tiles
(display: "clean") can be in a group too: they follow the group's time and show its
hover. The sample project's /sync page shows it: two charts and an embedded tile in the
group plant under a Time Range (the tile's configuration allows 7 days), beside a tile in
another group and one in none.
Copied from the section "Synchronised charts" of the README when the site is built. Source: README.md.