From 65b1340a300c9007c49afe1d7cd58816a100cbc6 Mon Sep 17 00:00:00 2001 From: "Rune B. Broberg" Date: Fri, 27 Sep 2019 22:38:50 +0200 Subject: [PATCH] - Fixed data axis scaling for R+jX chart. --- NanoVNASaver/Chart.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NanoVNASaver/Chart.py b/NanoVNASaver/Chart.py index a837793..ef92a50 100644 --- a/NanoVNASaver/Chart.py +++ b/NanoVNASaver/Chart.py @@ -1688,7 +1688,7 @@ class RealImaginaryChart(FrequencyChart): "Set minimum real value", value=self.minDisplayReal) if not selected: return - self.minDisplayValue = min_val + self.minDisplayReal = min_val if self.fixedValues: self.update() @@ -1697,7 +1697,7 @@ class RealImaginaryChart(FrequencyChart): "Set maximum real value", value=self.maxDisplayReal) if not selected: return - self.maxDisplayValue = max_val + self.maxDisplayReal = max_val if self.fixedValues: self.update() @@ -1706,7 +1706,7 @@ class RealImaginaryChart(FrequencyChart): "Set minimum imaginary value", value=self.minDisplayImag) if not selected: return - self.minDisplayValue = min_val + self.minDisplayImag = min_val if self.fixedValues: self.update() @@ -1715,7 +1715,7 @@ class RealImaginaryChart(FrequencyChart): "Set maximum imaginary value", value=self.maxDisplayImag) if not selected: return - self.maxDisplayValue = max_val + self.maxDisplayImag = max_val if self.fixedValues: self.update()