Skip to content

Commit

Permalink
Refactor BarGraph component to remove commented out code and adjust a…
Browse files Browse the repository at this point in the history
…nimation durations
  • Loading branch information
KamogeloMoeketse committed Oct 24, 2024
1 parent eaf9a44 commit 9aa0a00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/occupi-mobile4/components/BarGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ const BarGraph = ({data,tab}) => {
maxValue={1500}
noOfSections={5}
// hideRules
// animateOnDataChange={true}
// animateOnDataChange={true}
animationDuration={500}
// onDataChangeAnimationDuration={100}
// onDataChangeAnimationDuration={100}
endSpacing={0}
yAxisTextStyle={{color: labels}}
xAxisLabelTextStyle={{color: labels}}
Expand All @@ -53,8 +53,8 @@ const BarGraph = ({data,tab}) => {
hideRules
frontColor={currentTheme === 'dark' ? "lightgray" : "darkgrey"}
gradientColor={accentColour}
// barBorderTopLeftRadius={5}
// barBorderTopRightRadius={5}
// barBorderTopLeftRadius={5}
// barBorderTopRightRadius={5}
spacing={12}
backgroundColor={currentTheme === 'dark' ? "transparent" : "white"}
// showVerticalLines
Expand Down

0 comments on commit 9aa0a00

Please sign in to comment.