first attempt at graph

This commit is contained in:
thschleicher 2024-01-25 17:20:56 +01:00
parent 79405f318d
commit ab2ef25615
6 changed files with 250 additions and 36 deletions

View file

@ -1,13 +1,7 @@
import React from 'react';
import { StyleSheet, View, ScrollView } from 'react-native';
import BudgetOverview from '../../../components/stats/BudgetOverview';
import { ScrollView, StyleSheet, View } from 'react-native';
import { Graph } from '../../../components';
import { useTheme } from '../../contexts/ThemeContext';
import Widget from '../../../components/stats/Widget';
import CategoryProgressBarList from '../../../components/stats/CategoryProgressBarList';
import BudgetRemaining from '../../../components/stats/BudgetRemaining';
import DebugMenu from '../../../services/DebugMenu';
import SavingsOverview from '../../../components/stats/SavingsOverview';
import FinancialAdvice from '../../../components/stats/FinancialAdvice';
export default function Page() {
const { colors } = useTheme();
@ -32,7 +26,11 @@ export default function Page() {
return (
<View style={styles.container}>
<ScrollView>
<DebugMenu />
<Graph/>
{/* <DebugMenu />
<Widget title='"Financial" Tips' backgroundColor='orange'>
<FinancialAdvice/>
</Widget>
@ -46,7 +44,7 @@ export default function Page() {
</Widget>
<Widget>
<SavingsOverview/>
</Widget>
</Widget> */}
</ScrollView>
</View>
);