Show the longest gap in the timing charts
The bar gains a faded stretch from the typical gap out to the longest one of the window, behind the solid shortest-to-typical part. Where the solid ends is the median, so the boundary marks "typical" without another mark on the track. Extending the linear axis to reach it does not work. Gaps are heavily skewed — one long overnight gap a night against daytime gaps a tenth its length — and on a linear scale the everyday range collapsed into the first tenth of the track, to the point that four different "since" values rendered as the same picture. So the axis is stretched the way the sleep trend's is above 10h: the typical gap is pinned to the middle, shortest-to-typical takes the left half and typical-to-longest the right. Every row then reads the same way, left of centre sooner than usual and right of centre longer, however extreme that row's tail is. A note in the panel says as much, since a stretched axis is not something to leave to inference. The right edge now being the longest gap retires the old cap at twice the typical: the marker's chevron means "past the longest gap yet" rather than past an arbitrary cutoff.
This commit is contained in:
@@ -191,6 +191,9 @@
|
||||
<p class="muted-note timing-note" id="timing-note-eat" hidden></p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- The axis is stretched (see drawTimingChart), so say what the middle
|
||||
of a bar means rather than leave it to be inferred. -->
|
||||
<p class="muted-note">The middle of every bar is that type's typical gap: left of it is sooner than usual, right of it is longer, and the faded stretch runs out to the longest gap of the week.</p>
|
||||
<p class="muted-note timing-hint" id="timing-hint"></p>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user