Skip to content

Commit

Permalink
well, fix it the easy way - make it non scientific. This is enough fo…
Browse files Browse the repository at this point in the history
…r an user.
  • Loading branch information
Consti10 committed Dec 5, 2023
1 parent 7320507 commit 8d95193
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions qml/ui/configpopup/openhd_settings/PopupAnalyzeChannels.qml
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ Rectangle{
}
}
Switch{
id:normalize
id:normalize_sw
checked: m_normalize_data
onCheckedChanged: {
m_normalize_data=checked
pollution_chart.update_pollution_graph();
}
}
Text{
text: "Normalize"
text: m_normalize_data ? "Relative" : "Absolute"
color: "#fff"
font.pixelSize: 18
verticalAlignment: Qt.AlignVCenter
Expand Down Expand Up @@ -207,9 +207,14 @@ Rectangle{
//min: "0"
//max: "500"
}
axisY: ValueAxis {
labelsVisible: false
gridVisible:false
}
BarSet {
id: bar_set
label: m_normalize_data ? "Pollution estimate %" : "Pollution estimate (pps)";
//label: m_normalize_data ? "Pollution estimate %" : "WiFiPollution estimate (pps)";
label: "WiFi pollution estimate"
values: [5,10,3,100]
//values: [0,0,0,0]
color: "red"
Expand Down

0 comments on commit 8d95193

Please sign in to comment.