Skip to content

Commit 50f3834

Browse files
committed
Round meas axis
1 parent b48b368 commit 50f3834

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/chart/rendering/drawinterlacing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void DrawInterlacing::draw(
148148
auto iMin =
149149
axisBottom > 0
150150
? std::floor(-axis.origo() / (2 * stripWidth)) * 2
151-
: axis.range.getMin() - stepSize;
151+
: std::round(axis.range.getMin() - stepSize);
152152

153153
auto interlaceCount = 0U;
154154
const auto maxInterlaceCount = 1000U;

test/e2e/tests/config_tests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"refs": ["b26b94f"]
6060
},
6161
"channel_ranges/meas_axis": {
62-
"refs": ["71d11f5"]
62+
"refs": ["7e9e5ba"]
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)