Stretch the Sleep trend y-axis above 10h
The interesting detail sits near the goal, in the upper teens of hours, so the scale is piecewise: 0–10h shares a compressed 26% of the height with 2h gridlines, and everything above gets the rest with 1h gridlines. Falls back to linear while the axis is too short to split. The caption notes the stretched axis.
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@
|
||||
<span class="lg trend-avg" id="legend-trend-avg"><span class="sw"></span><span id="legend-trend-avg-text">7-day avg</span></span>
|
||||
<span class="lg trend-goal" id="legend-trend-goal" hidden><span class="sw"></span><span id="legend-trend-goal-text">Goal</span></span>
|
||||
</div>
|
||||
<p class="muted-note">Hours slept so far at each point of the day, against yesterday and the average over the picked chart window. The dashed tail continues today's line the way the average day usually plays out.</p>
|
||||
<p class="muted-note">Hours slept so far at each point of the day, against yesterday and the average over the picked chart window. The dashed tail continues today's line the way the average day usually plays out. The axis is stretched above 10h to give the hours around the goal more room.</p>
|
||||
</section>
|
||||
|
||||
<section class="patterns" data-panel="hour-heatmap">
|
||||
|
||||
Reference in New Issue
Block a user