zenno/doc/race: add missing chart controls

Fixes #21.
This commit is contained in:
2026-06-16 13:40:16 -04:00
parent ad58edbfe1
commit 1d65a0ec14
+2 -2
View File
@@ -252,7 +252,7 @@
<Sec h={3} id="hp">HP</Sec>
<p>Max HP, i.e. starting HP.</p>
{@render statChart(race.Stat.Stamina, hp, 'HP', [1000, 5000])}
{@render statChart(race.Stat.Stamina, hp, 'HP', [1000, 5000], {len: true})}
<Sec h={2} id="power">Power</Sec>
@@ -270,7 +270,7 @@
<Sec h={3} id="acceleration">Acceleration</Sec>
<p>Acceleration.</p>
{@render statChart(race.Stat.Power, accel, 'Acceleration (m/s²)', [0.1, 0.5])}
{@render statChart(race.Stat.Power, accel, 'Acceleration (m/s²)', [0.1, 0.5], {style: true})}
<Sec h={3} id="lane-change-target-speed">Lane Change Target Speed</Sec>
<p>Horizontal (rather than forward) target speed of changing lanes.</p>