mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
c1a8945a1189dc3784d65899118cadc4e02cbc7a
The recent update to plot histograms for seasons or other date ranges did not support displaying by zone since the cache did not contain zoned data. This patch fixes that with an update to RideFileCache to pre-compute and to the PowerHist class to retrieve and plot. There are some minor issues that need to be addressed: * Handling aggregation with different zone schemes * Deciding which zone scheme to use for the bar labels when multiple differing schemes have been used within the date range selected. * Showing a break down of time in zone by range i.e. how much time was spent at Threshold when CP was X as opposed to when it was Y (hint: do it like we currently display intervals when plotting a single ride). * Refreshing the Time In Zone data in the .cpx file when CP/LTHR changes is not implemented. The RideFileCache now checks the version of the cache to determine if it needs to be refreshed -- so no need to delete old .cpx files before running GC with this patch.
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%