Skip to content

Commit

Permalink
chore: rename chart titles (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn authored Dec 22, 2024
1 parent e7359d7 commit 017d896
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/ui/components/WorkoutChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const data = computed(() => {
borderWidth: 1,
backgroundColor: '#4f46e5',
data: intensity,
label: 'Energy',
label: 'Weight Lifted',
tension: 0.4,
pointRadius: 0,
fill: true,
Expand Down
2 changes: 1 addition & 1 deletion web/src/ui/exercises/ViewExercise.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const downSample = (data: Set[], sampleSize: number): Set[] => {

<template>
<div v-if="sets.length" class="mb-8">
<h6>Historically</h6>
<h6>Trend</h6>
<AppCard class="p-2">
<ExerciseChart :sets="downSample(sets, 50)" />
</AppCard>
Expand Down
2 changes: 1 addition & 1 deletion web/src/ui/users/UserView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const followed = computed(() => user.value.followed)

<template>
<div v-if="sets.length">
<h6>Historically</h6>
<h6>Trend</h6>
<AppCard class="p-2">
<WorkoutChart :sets="sets" />
</AppCard>
Expand Down

0 comments on commit 017d896

Please sign in to comment.