Skip to content

Commit

Permalink
Merge pull request #394 from Mailaender/axis-test-margin
Browse files Browse the repository at this point in the history
Make yRange checks less strict
  • Loading branch information
eselmeister authored May 13, 2024
2 parents 845b67c + 56fb332 commit 2e27737
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public void testAdjustRange() {
showChart();
yRange = yAxis.getRange();
assertEquals(0d, yRange.lower, 0.01);
assertEquals(4.43, yRange.upper, 0.01);
assertEquals(4.41, yRange.upper, 0.03);
barSeries.setYSeries(ySeries4);
showChart();
yAxis.adjustRange();
Expand All @@ -509,7 +509,7 @@ public void testAdjustRange() {
yAxis.adjustRange();
showChart();
yRange = yAxis.getRange();
assertEquals(-5.15, yRange.lower, 0.01);
assertEquals(-5.13, yRange.lower, 0.03);
assertEquals(0d, yRange.upper, 0.01);
// bar + vertical orientation
barSeries.setYSeries(ySeries2);
Expand Down

0 comments on commit 2e27737

Please sign in to comment.