Skip to content

Commit

Permalink
fix 🐛: adjust interaction scale
Browse files Browse the repository at this point in the history
  • Loading branch information
squiles committed Nov 29, 2024
1 parent 4d791db commit db39b8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/charts/bar/bars-state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ const useBarsState = (
.paddingInner(PADDING_INNER)
.paddingOuter(PADDING_OUTER);
const yScaleInteraction = scaleBand()
.domain(bandDomain)
//NOTE: not sure if this is the right way to go here
.domain(bandDomain.reverse())
.paddingInner(0)
.paddingOuter(0);

Expand Down

0 comments on commit db39b8d

Please sign in to comment.