From 88f02b6a89fe95f758fcd32f79604975e5bf1622 Mon Sep 17 00:00:00 2001 From: bstrong <bstrong@softtechok.com> Date: Mon, 15 Nov 2021 07:19:54 -0600 Subject: [PATCH] History reversion Revert plot history change, using too much CPU. --- CHANGELOG | 4 ++++ plasmoid/contents/ui/DualPlotterGraph.qml | 2 +- plasmoid/contents/ui/PlotterGraph.qml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a78b483..2363c54 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +Version 2.1 + +Revert plot history change, using too much CPU. + Version 2.0 Rewritten to use new sensor API. diff --git a/plasmoid/contents/ui/DualPlotterGraph.qml b/plasmoid/contents/ui/DualPlotterGraph.qml index 127c8b0..41f2188 100644 --- a/plasmoid/contents/ui/DualPlotterGraph.qml +++ b/plasmoid/contents/ui/DualPlotterGraph.qml @@ -32,7 +32,7 @@ Canvas { id: data property var graphValues: [] property int numValues: 0 - property int maxValues: 61 + property int maxValues: 33 property real segSize: width / (maxValues - 1 ) property bool valuesChanged : false property var paths: [] diff --git a/plasmoid/contents/ui/PlotterGraph.qml b/plasmoid/contents/ui/PlotterGraph.qml index 62a8b6d..44b3dfa 100644 --- a/plasmoid/contents/ui/PlotterGraph.qml +++ b/plasmoid/contents/ui/PlotterGraph.qml @@ -31,7 +31,7 @@ Canvas { id: data property var graphValues: [] property int numValues: 0 - property int maxValues: 61 + property int maxValues: 33 property real segSize: width / (maxValues - 1 ) property bool valuesChanged : false property var paths: [] -- GitLab