Skip to content

Commit

Permalink
fix: Zero values on Dual Line axis bounds (#23649)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Apr 14, 2023
1 parent 240b292 commit d66e6e6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -844,12 +844,12 @@ function nvd3Vis(element, props) {
}

chart.yDomain1([
yAxisBounds[0] || ticks1[0],
yAxisBounds[1] || ticks1[ticks1.length - 1],
yAxisBounds[0] ?? ticks1[0],
yAxisBounds[1] ?? ticks1[ticks1.length - 1],
]);
chart.yDomain2([
yAxis2Bounds[0] || ticks2[0],
yAxis2Bounds[1] || ticks2[ticks2.length - 1],
yAxis2Bounds[0] ?? ticks2[0],
yAxis2Bounds[1] ?? ticks2[ticks2.length - 1],
]);
}

Expand Down

0 comments on commit d66e6e6

Please sign in to comment.