OSCAR-code/oscar/Graphs
LoudSnorer 6b81db5bbb Problem
*CSR pinned on overview tab disappears on the first paint.
Cause
*Charts are automatically permanently disabled for charts that are initially empty
*This problem impacts any chart that is enabled in File => Preferences.
Details
*gGraph does not display layers (paint) when the layer is empty.
*gSummaryChart (layer) initializes empty to false and calculates empty during painting.
Causing empty charts to be permanently disabled.
*Once a chart has been displayed, it will always be displayed even if empty.
Solution
*Enabled painting charts when the DayRange is increased, triggering the empty flag to be recalculated
New non-empty charts will now be permanently displayed
*Overview maintains the largest DayRange used and list of empty charts.
*Overview receive these signals and calls recalculates when largest DayRange is increased.
*gSummaryChart implement recalculate method.
*gSummaryChart implement emit signal when empty flag changes.
*gGraphView implement emit signal when day range changes. (XBounds)
**** IMPORTANT MUST Rebuild makefiles.****
*Remove two Makefiles and execute qmake. (works for linux version).
2022-02-22 07:48:30 -05:00
..
gdailysummary.cpp Here are the promised translation-cleaned program files plus updated language files 2022-01-10 16:49:23 +01:00
gdailysummary.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gFlagsLine.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gFlagsLine.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gFooBar.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gFooBar.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gGraph.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gGraph.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gGraphView.cpp Problem 2022-02-22 07:48:30 -05:00
gGraphView.h Problem 2022-02-22 07:48:30 -05:00
glcommon.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
glcommon.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gLineChart.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gLineChart.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gLineOverlay.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gLineOverlay.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gPressureChart.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gPressureChart.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
graphdata_custom.h Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
graphdata.h Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
gSegmentChart.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gSegmentChart.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gSessionTimesChart.cpp Problem 2022-02-22 07:48:30 -05:00
gSessionTimesChart.h Problem 2022-02-22 07:48:30 -05:00
gspacer.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gspacer.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gStatsLine.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gStatsLine.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gSummaryChart.cpp Here are the promised translation-cleaned program files plus updated language files 2022-01-10 16:49:23 +01:00
gSummaryChart.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gXAxis.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gXAxis.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gYAxis.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
gYAxis.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
layer.cpp Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
layer.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
MinutesAtPressure.cpp Fix problem with minimum pressure sometimes shown as zero on Overview and Statistics pages. 2021-12-20 11:27:48 -07:00
MinutesAtPressure.h Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00