Implement weight graphs

This commit is contained in:
2024-08-09 23:48:26 +02:00
parent 2f161bed79
commit 70ba21d828
7 changed files with 126 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
<script lang="ts">
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
import { dailyWeightStore } from '$lib/store/Weight/dailyWeightStore'
</script>
<template>
<AggregatedWeightTable items="{$dailyWeightStore}" />
</template>

View File

@@ -0,0 +1,8 @@
<script lang="ts">
import { monthlyWeightStore } from '$lib/store/Weight/monthlyWeightStore'
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
</script>
<template>
<AggregatedWeightTable items="{$monthlyWeightStore}" />
</template>

View File

@@ -0,0 +1,8 @@
<script lang="ts">
import { weeklyWeightStore } from '$lib/store/Weight/weeklyWeightStore'
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
</script>
<template>
<AggregatedWeightTable items="{$weeklyWeightStore}" />
</template>

View File

@@ -0,0 +1,8 @@
<script lang="ts">
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
import { yearlyWeightStore } from '$lib/store/Weight/yearlyWeightStore'
</script>
<template>
<AggregatedWeightTable items="{$yearlyWeightStore}" />
</template>