Drag to choose the weeks
->rangeSelector(visible: 26) starts with the last 26 weeks. Only the chart above changes; nothing is fetched from the server while you drag.
Note: Try it
Drag across the small chart from left to right: the chart above shows those weeks, and the period is written above the small chart. Drag inside the frame to move it, drag its left or right edge to make it longer or shorter. Double-click the small chart to go back to the last 26 weeks.
The chosen weeks filter other charts
With a name, ->rangeSelector('period') also passes the chosen weeks on. The donut and the number below are ->followRange('period'): they are fetched again for those weeks. Before you drag, all three show every week.
Note: Try it
Drag across a few weeks in the small chart. The donut and the total below change to those weeks and show the period as a badge. Click the × on a badge to go back to every week.