Commit Graph

77 Commits

Author SHA1 Message Date
Mark Liversedge
2e895bcb43 Fix Veloclinic model t=0 bug 2015-02-13 14:09:57 +00:00
Mark Liversedge
2713000f5e Add Veloclinic CP slider
.. to adjust when seeking estimate for CP
2015-02-13 11:51:33 +00:00
Mark Liversedge
d9eb2aec8c Rename Ride to Activity
.. across the code, except where it clearly is a ride
   e.g. importing PowerTap or SRM
2015-01-30 10:59:56 +00:00
Mark Liversedge
d82e933e5a Aesthetic Tweaks
.. tile mode highlights on mouse over for a more
   fluid feel, and better feedback

.. can customise the trend view charts background

.. fixed a SEGV on apply preset in chart setup

.. this is part of a set of updates to update the
   standard setup to be more complete so the user
   can pretty much run off a standard config.
2015-01-23 12:06:03 +00:00
Damien
a22779e024 CPPlot: Some model testing 2015-01-12 22:27:11 +01:00
Mark Liversedge
aaa2698404 CP replot during background refresh
.. ridefilecaches return incomplete flag if data not available
   when aggregating (plotting during a refresh).

.. CP plot will refresh as the background update takes place.

.. this occurs even during a comparison.
2014-12-30 13:25:39 +00:00
Mark Liversedge
255f69c1ad ConfigChanged Part 1 of 3
.. introduce concept of configChanged(what) to
   pass details of what config has been changed

.. fixed zones changes to re-read after write
   to correct the save twice to get changes to
   zones bug.

.. next parts need to spot changes (part 2) and
   then action appropriately (part 3)
2014-12-29 13:41:50 +00:00
Mark Liversedge
9a486ae9c8 Add RideFileCache to RideItem
.. so available for current ride

.. and refreshed() when notifyDataChanged() is called

.. but not many classes call it!

.. we are moving to having the filecache read from the
   RideCache rather than straight from disk so we have an
   in-memory and persisted version.
2014-12-14 15:35:53 +00:00
Mark Liversedge
51f25cb1f7 Minor logic error 2014-12-07 00:20:17 +00:00
Alejandro Martinez
96ee321852 Enabled CP Models for Speed series
Results are shown in metric units for speed/distance and pace units according to user preferences
2014-12-06 20:48:31 -03:00
Claus Assmann
a001ffef4f Fix comment spelling errors
.. lots of them !
2014-11-24 15:37:56 +00:00
Alejandro Martinez
c73c33872b Added pace zone shading to CPPlot
When enabled it is convenient to set a filter for running activities in the chart since this is not done automatically yet
2014-11-21 15:25:26 -03:00
Mark Liversedge
1ec63ef424 More CP tooltip
.. model curve is null when not shown, so better
   check before ignoring the tooltip update
2014-11-20 13:59:16 +00:00
Mark Liversedge
b903e592d9 Hide tooltip in CPPlot
.. when not hovering over a curve, this worked ok for power
   but not for anything else. Because the signal was ignored
   when not showing power in pointHover.
2014-11-20 11:09:08 +00:00
Alejandro Martinez
5ba1cbb97b Add pace to tooltip in CV chart
Fixed units selection in histogram tooltip, it is independent of pace units
NB: CV chart currently doesn't obey units setting for speed, it is fixed to kph
2014-11-19 21:34:29 -03:00
Joern
598a1943f2 VAM CP x-axis bug #1085
... fixed by
...... not considering Y-Axis values in the 0 to 4.993 minutes range
which are not shown for VAM anyway
... both in standard view and in compare view / intervals and date
ranges
... handle intervals below 4.993 minutes properly (since they are not
shown in CP VAM)
2014-11-16 12:58:39 +01:00
Keith Reynolds
5542b03b37 In CriticalPowerWindow add a Percent of Best to the hover message for the current ride when not in "Percent of Best" mode. 2014-11-16 08:24:10 +00:00
Joern
1011271269 AthleteDirectory - Folder Structure Part 2 of 2 + Always create .JSON
... create folder structure for existing and new athletes
... upgrade existing athlete to new structure when opening / incl.
logging and error handling
... convert any "Downloaded" file to .JSON directly - store source file
in /downloads
... convert any "Imported" file to .JSON directly - store source file in
/imports
2014-11-02 19:55:01 +01:00
Joern
6bd11c4290 AthleteDirectory - Folder Structure Part 1
... introduce new "home" Folder structure object representing the
previous flat-folder
... adjust relevant QDir home - access to use the sub-folder method of
the new object

Note: the new structure is not yet active ! - everything is written to
the main folder still

To Do:
... add upgrade procedure for existing folder content to merge to the
new folders
2014-10-25 19:08:27 +02:00
Damien
ab7d624c18 CPPlot: Power zone shading for watts/kg 2014-09-09 22:42:52 +02:00
Damien
c0de924272 CPPlot: correct xBttom axis ticks 2014-09-09 22:29:31 +02:00
Damien
459c5d5c51 CPPlot: Correct crash after switching between Veloclinic and Power plot 2014-09-04 07:31:11 +02:00
Damien
75d801287a CPPlot: Correct time for wprime 2014-09-03 23:06:52 +02:00
Damien
5379728496 CPPlot: Add ride plot for veloclinic plot 2014-09-01 22:18:34 +02:00
Damien
9f4c225ee4 CPPlot: Place shade mode labels for veloclinic plot 2014-09-01 21:54:32 +02:00
Damien
8f88918ca6 CPPlot: Standard ScaleDraw (not time) for velocliniplot 2014-09-01 21:37:16 +02:00
Damien
4292a24290 CPPlot: Add Veloclinic plot
TODO :
  no percentage or heat in this plot
  compare mode
  cp adjustment if no model
  ...
2014-08-31 22:09:28 +02:00
Mark Liversedge
3069c7e38b Unzoom fails on CP Plot
Fixes #972
2014-07-15 00:50:51 +01:00
Mark Liversedge
5428f429a4 Fix delta compare intervals x-axis
.. was fixed for compare date ranges but somehow got
   overlooked for comparing rides and intervals
2014-07-03 13:59:55 +01:00
Mark Liversedge
504730a366 Fixup CP chart
.. remove inverse time (but add support to Model for future reference)

.. fix x labelling for plotting Work

.. remove options for best shading, its now on or off

Fixes #924
2014-07-02 19:45:21 +01:00
Joern
8a3a9ae5df Some more AM/APs
... some more AP/AM changes (hopefulyl the last ones)
... Setttings.h - the GC_DATETIMEFORMAT constant is not used anywhere
(old usages are de-activated)
2014-06-30 14:21:19 +02:00
Mark Liversedge
2f36383df5 Default linewidth smaller
.. was 2.0px now 0.5

.. no longer looks like it was drawn with a crayon by default !
2014-06-23 10:06:03 +01:00
Mark Liversedge
902210a183 Antialias is now on BY DEFAULT 2014-06-23 10:03:20 +01:00
Mark Liversedge
ebd13a5b05 Fix SEGV on CP export with no model 2014-06-18 19:16:43 +01:00
Mark Liversedge
e791359274 Add Endurance Index to CP overlay
.. for power and w/kg
2014-06-17 21:41:59 +01:00
Mark Liversedge
14b0bd80ae CP clean up
.. use J/kg not Kj/Kg on overlay

.. bounds check the ranking to make sure it is in bounds
2014-06-16 11:37:54 +01:00
Joern
053e89284a Show Heat - sometimes wrong scale
... set YAxis scale
... set more specific YAxis texts (Percent of Best / Heat)
... Adjust Unit in Heat Hover
2014-06-15 13:00:25 +02:00
Joern
30d411a635 Translation Enablement
... and nothing else
2014-06-13 20:45:04 +02:00
Mark Liversedge
ca6204d89e Fix tooltip for Compare Delta Percent 2014-06-02 17:41:55 +01:00
Mark Liversedge
9d0d0a0478 CP Plot Delta as Percent
.. delta plot but with percentage rather than absolute differences

.. particularly useful for plotting PD curve by seasons and looking
   at the gains/losses in percentage terms per season

.. also the differences in short and long durations in absolute terms
   often look quite different, in percentage terms there is often not
   a huge difference over seasons.

NOTE: Needs to be fixed up to do percentage differences by model.
2014-06-02 14:03:33 +01:00
Mark Liversedge
601033689f Centile plot honour color config 2014-05-25 21:32:18 +01:00
Mark Liversedge
bd49753d1c Fix x axis on CP plot compare
.. when changing ride series from e.g Power to W/KG
2014-05-25 10:07:16 +01:00
Mark Liversedge
32e14f1ab1 Fix Veloclinic Model Variant Selection
.. it was broken in the PDModel refactor.

.. you can now select variants for the aerobic
   (slowtwtich) component.
2014-05-23 21:11:09 +01:00
Mark Liversedge
033ac9c9d2 CP Delta Compare Part 2b of 2a/b
.. now completed to allow model comparisons too.
2014-05-23 10:38:31 +01:00
Mark Liversedge
41a52a8c2f CP Delta Compare Part 2a of 2a/b
.. just quickly commit the changes for delta compare for
   comparing rides and intervals.

.. still need to fix up the model delta compare.
2014-05-22 22:43:35 +01:00
Mark Liversedge
d8e70bc937 CP Delta Compare Part 1 of 2
.. delta compare to use first date range as a baseline to
   compare other date ranges to.

.. only works for the bests curve in date range mode

.. in part 2 will add the model and also rides/intervals.
2014-05-22 21:54:11 +01:00
Mark Liversedge
9180d53ca0 Tweak ride list accent bar
.. 2px wider at 7px .. better proportions

.. am slowly turning into Steve Jobs .. can
   someone pass the orange juice please.
2014-05-21 20:48:55 +01:00
Mark Liversedge
f8c03776ac Compare mode CP plots model
.. so you can compare models for different date ranges
2014-05-21 18:49:58 +01:00
Mark Liversedge
085ce83bf5 CPPlot Show Best Option
.. sometimes its useful just to see the model and not the bests
   curve. So added an option to get rid of the bests curve and
   show the model on its own.
2014-05-21 14:18:57 +01:00
Mark Liversedge
033d704e48 Add Model Data to CP export
.. if a model is active we can get the model values now
   using PDModel::y() which is kinda neat !
2014-05-19 20:11:45 +01:00