diff --git a/components/pages/todos/family-chores/FamilyChart.tsx b/components/pages/todos/family-chores/FamilyChart.tsx index 63364c0..0dd6460 100644 --- a/components/pages/todos/family-chores/FamilyChart.tsx +++ b/components/pages/todos/family-chores/FamilyChart.tsx @@ -66,8 +66,8 @@ const FamilyChart = ({ children }: { height={150} // Height of the chart barWidth={20} // Width of each bar noOfSections={5} // Number of horizontal sections (for 0 to 1000 in steps of 200) - maxValue={1000} // Max value on the chart - stepValue={200} // Step size for horizontal lines + maxValue={500} // Max value on the chart + stepValue={100} // Step size for horizontal lines yAxisThickness={0} // Hide the Y-axis line // yAxisLabelTexts={["0", "100", "200", "300", "400", "500"]} // Custom Y-axis labels hideRules={false} // Show the horizontal lines diff --git a/components/pages/todos/user-chores/UserChart.tsx b/components/pages/todos/user-chores/UserChart.tsx index b6b80db..af180b4 100644 --- a/components/pages/todos/user-chores/UserChart.tsx +++ b/components/pages/todos/user-chores/UserChart.tsx @@ -44,8 +44,8 @@ const UserChart = ({ profileData }: { height={150} // Height of the chart barWidth={20} // Width of each bar noOfSections={5} // Number of horizontal sections (for 0 to 1000 in steps of 200) - maxValue={1000} // Max value on the chart - stepValue={200} // Step size for horizontal lines + maxValue={500} // Max value on the chart + stepValue={100} // Step size for horizontal lines yAxisThickness={0} // Hide the Y-axis line // yAxisLabelTexts={["0", "200", "400", "600", "800", "1000"]} // Custom Y-axis labels hideRules={false} // Show the horizontal lines