Skip to content

Commit

Permalink
fix margin to display labees for zoomed-in grpah
Browse files Browse the repository at this point in the history
  • Loading branch information
Sri-2023 committed Jan 17, 2025
1 parent 3993d35 commit 3042304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/source/legacy/d3/graphers/lineGraphRepetitiveValues.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
layout = layout || {
"width": 800,
"height": 400,
"margin": { "top": 20, "right": 30, "bottom": 100, "left": 70 }
"margin": { "top": 20, "right": 30, "bottom": 100, "left": 80 }
};

options = options || {
Expand Down Expand Up @@ -166,7 +166,7 @@
svg.append("text")
.attr("transform", "rotate(-90)")
.attr("x", -height / 2)
.attr("y", -margin.left + 15)
.attr("y", -margin.left + 20)
.attr("text-anchor", "middle")
.style("font-size", "12px")
.text(trait_name);
Expand Down

0 comments on commit 3042304

Please sign in to comment.