aboutsummaryrefslogtreecommitdiff
path: root/src/cpp/lineGraph.h
diff options
context:
space:
mode:
authordodoradio <dodoradio@outlook.com>2023-07-22 16:28:44 +0100
committerdodoradio <dodoradio@outlook.com>2023-08-02 22:54:43 +0100
commitdd8480cb8985d91d2cd99ca4741a4d8789eec700 (patch)
treeed857eacb87a471da07875925494f18a8a832b28 /src/cpp/lineGraph.h
parent80477423d8468439721092bdef6e277efd3bcce8 (diff)
lineGraph: add support for floating point values
It seems that floats weren't previously supported due to a programming error on my part
Diffstat (limited to '')
-rw-r--r--src/cpp/lineGraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/lineGraph.h b/src/cpp/lineGraph.h
index 4ee4655..f6a592c 100644
--- a/src/cpp/lineGraph.h
+++ b/src/cpp/lineGraph.h
@@ -76,8 +76,8 @@ private:
QColor m_color = QColor(255,255,255);
QPixmap m_pixmap;
QList<QPointF> m_filedata;
- int minValue = 0;
- int maxValue = 0;
+ float minValue = 0;
+ float maxValue = 0;
int minTime;
int maxTime;
bool graphRelative;