Skip to content

Commit

Permalink
add charts back in, link it
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Nov 24, 2023
1 parent 8684a31 commit 62a900a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions QOpenHD.pro
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ LinuxBuild {
QT +=core quick qml gui \
widgets
QT += opengl
QT += charts

INCLUDEPATH += $$PWD/lib
INCLUDEPATH += $$PWD/app
Expand Down
10 changes: 5 additions & 5 deletions qml/ui/configpopup/openhd_settings/PopupAnalyzeChannels.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import OpenHD 1.0
import "../../../ui" as Ui
import "../../elements"

//import QtCharts 2.0
import QtCharts 2.15

Rectangle{
id: main_background
Expand Down Expand Up @@ -121,15 +121,15 @@ Rectangle{
model: model_filter
textRole: "title"
onCurrentIndexChanged: {
//pollution_chart.update_pollution_graph();
pollution_chart.update_pollution_graph();
}
}
Switch{
id:normalize
checked: m_normalize_data
onCheckedChanged: {
m_normalize_data=checked
//pollution_chart.update_pollution_graph();
pollution_chart.update_pollution_graph();
}
}
Text{
Expand Down Expand Up @@ -169,7 +169,7 @@ Rectangle{
ScrollBar.horizontal.interactive: true
clip: true

/*ChartView {
ChartView {
id: pollution_chart
//width: main_background.width>m_chart_view_minimum_width ? main_background.width : m_chart_view_minimum_width;
width: {
Expand Down Expand Up @@ -215,7 +215,7 @@ Rectangle{
color: "red"
}
}
}*/
}
}
// Filler
//Item{
Expand Down

0 comments on commit 62a900a

Please sign in to comment.