Skip to content

Commit

Permalink
fix: Bars enter animation
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Dec 3, 2024
1 parent ebf6dcf commit 4e6bf4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/charts/bar/rendering-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export const renderBars = (
.attr("data-index", (_, i) => i)
.attr("y", (d) => d.y)
.attr("x", x0)
.attr("width", (d) => d.width)
.attr("height", 0)
.attr("width", 0)
.attr("height", (d) => d.height)
.attr("fill", (d) => d.color)
.call((enter) =>
maybeTransition(enter, {
Expand Down

0 comments on commit 4e6bf4f

Please sign in to comment.