From dd8480cb8985d91d2cd99ca4741a4d8789eec700 Mon Sep 17 00:00:00 2001 From: dodoradio Date: Sat, 22 Jul 2023 16:28:44 +0100 Subject: lineGraph: add support for floating point values It seems that floats weren't previously supported due to a programming error on my part --- src/cpp/lineGraph.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpp/lineGraph.h') 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 m_filedata; - int minValue = 0; - int maxValue = 0; + float minValue = 0; + float maxValue = 0; int minTime; int maxTime; bool graphRelative; -- cgit v1.2.3-54-g00ecf