pull/550/head
Holger Müller 2022-09-18 20:09:19 +02:00
rodzic a6c3ccc0d3
commit a732aea84b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2FDB49E81EAE6622
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -266,7 +266,8 @@ class TDRChart(Chart):
self.tdrWindow.distance_axis, self.minDisplayLength * 2)
x_step = (max_index - min_index) / width
else:
max_index = math.ceil(len(self.tdrWindow.distance_axis) / 2)
max_index = math.ceil(
len(self.tdrWindow.distance_axis) / 2)
x_step = max_index / width
self.markerLocation = int(round(absx * x_step))
@ -309,7 +310,8 @@ class TDRChart(Chart):
x_step = (max_index - min_index) / width
else:
min_index = 0
max_index = math.ceil(len(self.tdrWindow.distance_axis) / 2)
max_index = math.ceil(
len(self.tdrWindow.distance_axis) / 2)
x_step = max_index / width
if self.fixedValues: