mirror of
https://github.com/urosran/cally.git
synced 2025-07-10 15:17:17 +00:00
- Changed the upper limit for the todo points charts
This commit is contained in:
@ -66,8 +66,8 @@ const FamilyChart = ({ children }: {
|
|||||||
height={150} // Height of the chart
|
height={150} // Height of the chart
|
||||||
barWidth={20} // Width of each bar
|
barWidth={20} // Width of each bar
|
||||||
noOfSections={5} // Number of horizontal sections (for 0 to 1000 in steps of 200)
|
noOfSections={5} // Number of horizontal sections (for 0 to 1000 in steps of 200)
|
||||||
maxValue={1000} // Max value on the chart
|
maxValue={500} // Max value on the chart
|
||||||
stepValue={200} // Step size for horizontal lines
|
stepValue={100} // Step size for horizontal lines
|
||||||
yAxisThickness={0} // Hide the Y-axis line
|
yAxisThickness={0} // Hide the Y-axis line
|
||||||
// yAxisLabelTexts={["0", "100", "200", "300", "400", "500"]} // Custom Y-axis labels
|
// yAxisLabelTexts={["0", "100", "200", "300", "400", "500"]} // Custom Y-axis labels
|
||||||
hideRules={false} // Show the horizontal lines
|
hideRules={false} // Show the horizontal lines
|
||||||
|
@ -44,8 +44,8 @@ const UserChart = ({ profileData }: {
|
|||||||
height={150} // Height of the chart
|
height={150} // Height of the chart
|
||||||
barWidth={20} // Width of each bar
|
barWidth={20} // Width of each bar
|
||||||
noOfSections={5} // Number of horizontal sections (for 0 to 1000 in steps of 200)
|
noOfSections={5} // Number of horizontal sections (for 0 to 1000 in steps of 200)
|
||||||
maxValue={1000} // Max value on the chart
|
maxValue={500} // Max value on the chart
|
||||||
stepValue={200} // Step size for horizontal lines
|
stepValue={100} // Step size for horizontal lines
|
||||||
yAxisThickness={0} // Hide the Y-axis line
|
yAxisThickness={0} // Hide the Y-axis line
|
||||||
// yAxisLabelTexts={["0", "200", "400", "600", "800", "1000"]} // Custom Y-axis labels
|
// yAxisLabelTexts={["0", "200", "400", "600", "800", "1000"]} // Custom Y-axis labels
|
||||||
hideRules={false} // Show the horizontal lines
|
hideRules={false} // Show the horizontal lines
|
||||||
|
Reference in New Issue
Block a user