Skip to content

Commit

Permalink
Fixed spacing and tweaked it to where the number is centered for the …
Browse files Browse the repository at this point in the history
…bar graph. #25
  • Loading branch information
dhuang0212 authored and IanMacDougall committed Dec 13, 2022
1 parent 9f9d398 commit 54f1ca3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ export default function IndividualUseVisualization({
}}
/>
<text
x={xScale(address)}
x={xScale(address) + barWidth / 2}
y={yMax - barHeight}
fill="white"
fontSize={12}
dx={'.4em'}
dx={'-2'}
dy={'-.33em'}
style={{ fontFamily: 'arial' }}
>
Expand Down

0 comments on commit 54f1ca3

Please sign in to comment.