We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e582b commit f7d72d4Copy full SHA for f7d72d4
NanoVNASaver/Charts/SParam.py
@@ -82,7 +82,7 @@ def drawValues(self, qp: QtGui.QPainter):
82
tick_count = self.dim.height // 60
83
tick_step = self.span / tick_count
84
for i in range(tick_count):
85
- val = minValue + i * tick_step
+ val = int(minValue + i * tick_step)
86
y = self.topMargin + (maxValue - val) // span * self.dim.height
87
qp.setPen(QtGui.QPen(Chart.color.foreground))
88
qp.drawLine(self.leftMargin - 5, y,
0 commit comments