Components
Trend chart
A stat month by month as a line in the team's colour, with the MLB average dotted across it.
Example
How has Kirk done month by month?
Alejandro Kirk (TOR) went from a .529 OPS in June to .946 in August.
Dugout looked up the monthly OPS of Alejandro Kirk (TOR) for the 2026 regular season.
March (14) and April (8) had too few plate appearances to judge.
See the numbers
| Month | OPS | Plate appearances |
|---|---|---|
| March | .547 | 14 |
| April | .625 | 8 |
| May | Didn't play | 0 |
| June | .529 | 47 |
| July | .756 | 67 |
| August | .946 | 102 |
| September | .744 | 75 |
The numbers come from the MLB Stats API.
When it's used
Dugout uses it when the answer is how a stat changed over time.
Rules
- A month the player missed is a gap, never joined across. A month with too few plate appearances is a hollow dot, and the headline never talks about it.
- A second player is a dashed line in his own team's colour.
Tokens
In code: TrendChart in src/ds/components/TrendChart
| Token | What it sets |
|---|---|
--ds-chart-height | The chart's height. |
--ds-chart-dot | The MLB average's dotted line. |
--ds-chart-dash | A second player's dashed line. |
--ds-chart-halo | The light halo under a line on a dark page. |
--ds-dot-size | Each month's dot. |