Commit Graph

16 Commits

Author SHA1 Message Date
Mark Liversedge
b8f23a14a4 Code Cleanup: Charts
.. comments explain decisions, no action required.
2013-02-11 14:15:43 +00:00
Alejandro Martinez
3afc4228af Enable PerfPlot and PfPvPlot translations
Also includes a minor change in LTMSidebar
2012-12-07 13:40:34 -03:00
Mark Liversedge
ef8fd292c6 Uncomment code from last commit.
Accidentally pushed some commented out code in the last
commit, which was left from debugging. The code is now reinstated.
2012-12-03 12:12:13 +00:00
Mark Liversedge
fa424447dc Performance Manager Date Labels
Linker error using different TimeScaleDraw::label but
also a memory leak with unneccesary calls to create a
new ScaleDraw object.

Also applied recent fixes from qwt6 for scale draws. We
should look to pick up some of the other recent fixes
-- especially QT5 support.

Fixes #363.
2012-12-03 12:00:12 +00:00
Damien
c44758c5ad Qwt 6.0.1 Support
Upgrade to QWT 6.0.1, but still uses a locally patched copy
since support for 8 axes has not been included, despite it
being a relatively simple patch.

Fixes #634.
Fixes #567.
2012-02-12 10:43:15 +00:00
Mark Liversedge
da8eec1b13 Further UI fixups
More work to unify the tab view with the overall
UI look-and-feel, allowing you to remove and add
tabs via mouse over rather than the close tab
icon. Also added a number of cosmetic adjustments.

Fixed up PerformanceManager and ScatterPlot to
pick up on the chart fonts and tick size etc.

Removed some erroneous static members in the
ScatterPlot that caused a SEGV when adding multiple
charts (or cancelling an add then adding again).
2011-06-10 23:27:51 +01:00
Mark Liversedge
3aba7dd788 Inital V3 Branch 2010-12-30 17:35:23 +00:00
Mark Liversedge
da8e636e65 Fix PM day offset by 1
Almost certainly caused by a fencepost errors somewhere else
in the code. This fixes the offset by subtracting one from the
offset used.

Fixes #28
2010-11-01 06:47:40 -04:00
Mark Liversedge
38df7c28bd User Configurable Colors
A new config pane for defining color preferences for chart
curves, shading, background and grid lines et al. Default values
echo the current hard-coded values.
2010-04-01 10:29:13 -04:00
Sean Rhea
b68e55beca better axis labels in PM plot 2010-03-02 09:45:21 -05:00
Mark Liversedge
7bb9cf5462 Long Term Metrics
A user configurable chart for showing ride metrics and
other calculated values over time.

* Uses SQLITE database to store metrics
* Supports any metric available from the metric factory
* Adds new MaxHr, VI, Peak Power and Time In Zone metric
* Also includes LTS/STS/SB for PM charting
* Aggregates in days, weeks, months or years
* Reads and Updates seasons.xml
* Adds cycles and adhoc date ranges in seasons.xml
* Date ranges can be selected on the plot with shift-left click
* Allows users to customise preferences for color, symbols et al
* Allows user to customise metric names and unit names
* Supports smooth curves and topN highlighting
* Has a linear regress trend line function
* Allows users to save charts to charts.xml
* A default charts.xml is built-in
* A chart manager to import/export/rename/delete charts etc
* Provides a tooltip to provide basic datapoint information
* Performance Manager adjusted to use the MetricDB
* User configurable setting for SB calculation (today/tomorrow)
2010-02-25 08:01:43 -08:00
Sean Rhea
0243a8640c mark prefers red, too 2010-01-03 12:41:17 -05:00
Mark Liversedge
12230958d6 Show Daily Stress on Performance Plot
Since the daily stress values are readily available
from the stress calculator this patch shows them on the
chart to show the make-up of the training that has resulted
in th short term and long term stress scores.

Ideally, we would also show the relative intensity for each day
too so you can view, at a glance, the intensity AND volume of the
ongoing training load -- but the intensity is not readily available
in the calculator or the stress.cache file.
2010-01-03 11:36:20 -05:00
Eric Murray
7c76937cd7 Fixed "shaking" bug with PerfPlot sliders. 2009-10-31 15:14:37 -04:00
Eric Murray
617f034fa3 fix PM to use exp weighted avg
Also limit decimal places in STS, LTS, and SB display fields.
2009-10-16 20:46:30 -07:00
Eric Murray
c28591142b add performance monitor 2009-10-08 16:42:55 -04:00