Commit Graph

76 Commits

Author SHA1 Message Date
Damien
d91576ff5f BlankState: No data available for AllPlotWindow
Use the default blank state in AllPlotWindow when data not present
2013-02-04 22:12:40 +01:00
Mark Liversedge
d934c39472 Fix all plot reveal size
My bad -- added padding at the top a while ago when
trying to fix another issue. Then forgot to remove it
afterwards.
2013-01-28 08:54:50 +00:00
Damien
e2cf82e5ac UI Nits: Reveal controls for GcChartWindow
Add a new Class GcChartWindow with reveal widget and animations
2013-01-27 23:11:18 +01:00
Damien
e9d714b75c Wait before controls appear on AllPlot 2013-01-26 16:15:34 +01:00
Damien
abca4fda6a Animation for AllPlot only for background 2013-01-26 15:55:08 +01:00
Damien
0ff734b665 Change animation for reveal on AllPlotWindow 2013-01-26 15:15:22 +01:00
Mark Liversedge
c19dec0344 Reveal: Add an easing curve
Just to try different effects. InSine seems the most pleasing.
2013-01-25 18:13:47 +00:00
Mark Liversedge
7118fb6e14 UI Nits: Allplot reveal
I changed the fixed height of the allplot reveal
controls and forgot to set it back. It leaves a
little artefact on the plot when they hide.

I took out my edit and it fixed it.
2013-01-25 15:20:32 +00:00
Damien
283649c039 Animation for reveal controls 2013-01-25 15:21:46 +01:00
Mark Liversedge
87cf93a4b2 UI Nits: Reveal Controls Cosmetics
After discussion with Damien;

* solid white background for the controls looks best
* CP on chart labels need to be less obtrusive
* keep the controls to a simple but useful set

I also tidied up some of the margins since they were
also wrong.
2013-01-25 09:28:20 +00:00
Mark Liversedge
0ada4d7dff UI Nits: Allplot reveal controls
.. fixups for positioning and translucent
background looks a bit naff.
2013-01-21 07:16:21 +00:00
Damien
50d596db09 Add reveal controls for CP Plot and PfPv Plot 2013-01-20 23:36:31 +01:00
Mark Liversedge
4c390d135b UI Nits: Reveal controls on black bg
.. black controls on a black background might
be cool if you play in a plutonium rock band
from the Gagrakacka Mind Zones, but for the
rest of us its helpful if the controls are
slightly more visible.

A bit of hacking with style sheets and the controls
now change color to contrast with whatever background
color is selected.
2013-01-19 09:44:17 +00:00
Mark Liversedge
76054418d7 Reveal Controls: AllPlot update
To allow user to turn on/off the fullplot at the
bottom of the chart.
2013-01-16 10:57:37 +00:00
Damien
58951e4e8f Transparent background for reveal controls
Add controls for HrPwWindow
2013-01-15 23:40:39 +01:00
Damien
cbdbb5098a Initialisation of reveal controls 2013-01-13 23:46:24 +01:00
Mark Liversedge
2f1caec602 Reveal Controls: AllPlot
Added smooth slider and stack selection as the
reveal controls on the ride plot.
2013-01-13 21:55:25 +00:00
Mark Liversedge
731e74aefb UI Nits: Reformat allplot chart settings
To be a little easier on the eye. But still some
room for improvement.
2013-01-10 21:17:10 +00:00
Andy Bryson
6ee4f5cbaa Stacked Plot Improvements
Make first plot the same size as the others in stacked view
Stop RPM scale clutter
2012-12-20 12:59:48 +00:00
Andy Bryson
01cbecdbc1 Issue #357 - Y axis is unclear 2012-11-27 18:40:11 +00:00
Damien
4389286bbc Keep/Save last value for showBalance 2012-09-22 20:22:24 +01:00
Damien
0b16845612 Add Left/Right Power Support
Add Left/Right Power Balance for FIT and Polar HRM parsers
 Add Left/Right Balance metric
 Add Left/Right series to Ride Chart

Fixes #711.
2012-08-19 13:57:24 +01:00
Damien
7f54c3d5bc Add torque on the plot
Fixes #245.
2012-02-13 19:34:49 +00:00
Damien
b4102d4625 Plot relative headwind
Fixes #131.
2012-02-12 19:08:30 +00:00
Damien
2f9130cd76 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
Damien
3058b3e9c6 Reorganise intervals by drag and drop
The interval view now allows the user to drag and drop intervals
up and down in the list.

We could extend the drag and drop of intervals to support analysis
of segments/intervals from multiple rides in the future too.

Fixes #405.
2012-01-21 21:16:35 +00:00
Damien Grauser
8d3d89d44d Add temperature to AllPlot
Fixes #536.
2011-12-07 21:55:35 +00:00
Mark Liversedge
9d45c100e4 Fix setByDistance bug in allplot
setByDistance was not being honored in allplot upon
startup (setting properties). Similar bug to those
affecting grid, stack etc.
2011-09-05 15:37:31 +01:00
Mark Liversedge
926bd44e3d AllPlot select left-click in stacked view
Missed off in the patch to swap zoom and select
mouse actions in LTM / AllPlot.
2011-09-03 12:17:09 +01:00
Mark Liversedge
d1e0702b94 Swap Zoom and Select on LTM/Ride Plot
This is a perennial issue for new users. The default
action when click dragging on a chart is to Zoom -- this
was probably right when we had no span sliders or stack
view (and no facility for marking intervals either).

But now, most users will expect click and drag on a metric
chart or ride plot to mark an interval or date range.

We get regular feature requests and bug reports related to
this -- basically the mouse actions are not intuitive.

Where selection is not meaningful (e.g. histogram) then
left click will zoom. This should be reasonably intuitive
to most users.

Fixes #398.
2011-09-03 11:13:45 +01:00
Mark Liversedge
326c423cb7 Re-instate zoom interval in MainWindow/AllPlot
Added a new signal to MainWindow to trigger
a zoom to interval. This signal has been trapped
in AllPlot (Ride Plot), but will also need to
be supported in;

* Ride Editor - highlight/zoom to interval data
* Aerolab     - Same as ride plot
* Maps        - Zoom in to section
2011-08-29 11:08:06 +01:00
Mark Liversedge
8c70f99561 Stacked View honours Chart Controls
Amazingly, the stack plot does not honour the chart
controls. If you select ony a single data series it
will still display all series.

There was a //XXX 'todo' placeholder in the code for
this which has now been completed.
2011-08-28 10:08:37 +01:00
Mark Liversedge
4d9399fa2f Fix AllPlot smoothing property
Fixes AllPlot to use the chart properties for smoothing
rather than overriding with application settings (old
way of saving state in v2 and lower).
2011-08-28 00:38:35 +01:00
Mark Liversedge
3bb397bbf2 More configurable Ride Plot
Enhanced ride plot;

* Curves can be shaded (this is particularly
  useful when only selecting a single curve)

* Span slider can be hidden (this is useful
  when you want a 'smaller' plot, e.g for a
  single curve, but multiple plots on tile view)

* Curve selection is set/unset from properties.

There is a repeated 'meme' with regards the ride
plot checkboxes for data series (hr, cad etc). They
are to choose the series to display and NOT to show
which series are available.

If you choose to display HR and HR is not present in
the ride file it is still VALID to set the checkbox,
but of course nothing will be plotted. In this way, you
can define a chart for a specific data series and it
will display whatever is VALID as you select different
rides.
2011-08-27 22:27:20 +01:00
Mark Liversedge
df987b8d96 Fix AllPlot delete ride crash.
Fixes #431.
2011-08-27 17:19:54 +01:00
Tom Weichmann
8ee8144674 New ints show mph and mi + extra digit for dist.
Fixes #424.
2011-08-23 09:56:47 +01:00
Mark Liversedge
c7d918bc02 Honour Show grid property
AllPlotWindow sometimes resets/ignore changes
to show grid. This patch fixes this.
2011-08-20 12:16:48 +01:00
Damien
09edfdafa4 Altitude scale present with no altitude data.
Uncheck the channel if not present. Fixes #295.
2011-08-02 09:21:40 +01:00
Mark Liversedge
4b567a7681 Reinstate Tab view
After discussion on the list the utility and popularity of
the original tab view was restated. This patch reinstates
the tab view and attempts to unify the Qt tab widget with
the general look and feel of the application.
2011-06-04 17:12:17 +01:00
Mark Liversedge
cb3f752fa7 Simplify and Clean UI
Less jarring UI with simple use of color and
no pixmaps to make a clean look. Will need
more work to get consistent across the code
base.

A simple and clean UI is starting to emerge.
2011-06-01 21:46:31 +01:00
Mark Liversedge
f39c3361c8 Sidebar, Ride List and Aeshetics
An update to the ride list on the left hand side
to enable the user to choose and sort or group-by
metrics, metadata fields and ride information.

In addition, the sidebar has been 'improved'
cosmetically and to require less screen estate.

Also, the ticks and frames on plots have been
adjusted to be more aesthtically appealling.

There is more to come on the look-and-feel front,
but this patch heralds some work on the sidebar
which needs to be resolved.
2011-06-01 16:34:24 +01:00
Mark Liversedge
5e1c5897f7 Make Analysis view configurable
You can now configure the Analysis view to drag and drop
charts on the page and lay them out etc. A default setup
displays basic data such as ride summary, histograms and
ride plot.

MainWindow still needs a bit of a tidy-up as the basic
code has been edited and re-edited by a cast of thousands
and its a bit of a mess as a result.
2011-05-15 14:34:34 +01:00
Mark Liversedge
1b25e5049b Less jarring use of pixmaps in look and feel. 2011-04-18 22:48:49 +01:00
Mark Liversedge
c8c6c22ab7 More NULL ride bug fixes
The controls for the RideEditor (find) and AllPlotWindow
still try and do their thing when the current ride item
is NULL. This was either because it wasn't checked (or
expected) or the widgets in question were not notified. This
patch fixes this.

When I get a chance the whole codebase needs to be refactored
to gracefully handle NULL rideItems -- each plot/window should
clear state when it is notified that NO ride is selected.
2011-04-17 21:39:16 +01:00
Josef Gebel
5d41b6af7c Fix AllPlot Show by Distance Bug
I discovered a crash of GC when doing the following:
* Load two rides (you can load the same ride for 2 different days)
* Go to the Ride Plot tab
* At the bottom, choose "x-Axis shows distance"
* Switch rides in the "All Rides" widget
* GoldenCheetah should crash. At least, it does for me when I load the attached ride file.

Fixes #242
2011-04-17 18:32:16 +01:00
Mark Liversedge
805e74de5a Inital V3 Branch 2010-12-30 17:35:23 +00:00
Mark Liversedge
b56eb0b455 Fix lots of SEGV in AllPlot for new cyclist (rideItem is null). 2010-07-30 06:43:54 +01:00
Robert Carlsen
d89520079d Updating stack zoom control enabling logic. 2010-07-29 21:16:22 -04:00
Robert Carlsen
91f3c54821 Disable stack zoom controls when stacked view is disabled. 2010-07-29 02:16:22 -04:00
Mark Liversedge
94bdd38f7d Fix Imperial Show By Distance on AllPlot
The recent patch for allPlot zooming does not display the full plot
properly when the user has selected imperial units and is displaying
by distance (not time). This minor fix corrects this.
2010-07-28 20:23:01 +01:00