Skip to content

Commit

Permalink
Add zero months bin to milestone scores plot
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Nov 22, 2024
1 parent 3b884a0 commit 5b45d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/components/DataDisplay/PlotScoreAge.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ onMount(() => {
],
xAxis: new Axis({
label: `${$_("admin.age")} (m)`,
tickValues: [1, 2, 3, 4, 5, 6, 9, 12, 16, 24, 36, 48, 60, 72],
tickValues: [0, 1, 2, 3, 4, 5, 6, 9, 12, 16, 24, 36, 48, 60, 72],
}),
yAxis: new Axis({ label: `${$_("admin.average-score")} (1-4)` }),
xScale: Scale.scalePow().exponent(0.5),
xDomain: [1, 72],
xDomain: [0, 72],
yDomain: [1, 4],
},
scores,
Expand Down

0 comments on commit 5b45d94

Please sign in to comment.