Skip to content

Commit

Permalink
Fix plot transition from stacked to grouped y-axis bug
Browse files Browse the repository at this point in the history
Remove adjusting grouped domain (it doesn't reflect on the graph).
This will make the bars value correct.
  • Loading branch information
shinyichen committed Feb 22, 2022
1 parent 3c87226 commit 7af6472
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/widgets/metrics/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ define([
}

function transitionGrouped() {
y.domain([0, yGroupMax]);

rect
.transition()
.duration(500)
Expand Down

0 comments on commit 7af6472

Please sign in to comment.