Skip to content

Commit

Permalink
temporary comment out charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Nov 24, 2023
1 parent 2f91537 commit 8684a31
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 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.0

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 @@ -165,11 +165,11 @@ Rectangle{
id: chart_scroll_view
Layout.fillWidth: true
Layout.fillHeight: true
contentWidth: pollution_chart.width
//contentWidth: pollution_chart.width
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,14 +215,6 @@ Rectangle{
color: "red"
}
}
}
/*Button{
anchors.top: pollution_chart.top
anchors.left: pollution_chart.left
text: "ENLARGE"
onClicked: {
m_chart_enlarged = !m_chart_enlarged;
}
}*/
}
// Filler
Expand Down

0 comments on commit 8684a31

Please sign in to comment.