.. it was always rather dodgy, but caused issues when charts
recreated on config changed (like interacts badly with
the setUpdatesEnabled() call.
.. has a nice effect of stopping the jarring repaints too
which were horrible when themes changed.
Fixes#4029
.. aggmetricstrings() and aggmetrics()
data filter functions that return aggregated values as
opposed to all values for the activities.
.. asaggstrings()
data filter function that returns aggregated values for
the list of metrics provided (primarily used in data
tables).
.. the next commit includes an update to the data table
settings tool to use asaggstrings on trends view.
.. lots of problems related to this, notably:
* UserChart is no longer a GcWindow so doesn't have any
properties registered.
* Even if it was the property was not being registered
by GcWindow or GcChartWindow anyway
* The value was not being initialised so checking for
NULL was kinda pointless (groan)
* OverviewItems looked up the property and never found
it, so crashes were avoided by accident.
.. One interesting point that was revealed during testing
and debugging-- the UserChart program does not honor
any filtering EXCEPT for the activity{ } function, which
although it is not by design, is quite useful.
Fixes#4021
.. returns the powerindex for the given power and duration
which can be vectors.
.. useful to transform meanmax power to strengths and
weakness rating.
.. when moving the scaling slider the charts get updated
immediately, this causes a SEGV as charts are deleted
whilst they are being updated.
.. we now block updates whilst critical processing is
happenning to avoid this.
Fixes#4026
.. the side bar, bottom bar and related buttons were still
following a skeuomorphic design that has long since
fallen into disuse.
.. now have a more muted feel with hover/press colors active
on mouse events.
.. moved the whatsthis button to the far right since this
is quite a common placement in other apps.
.. it is noticeable how we use many many different schemes
for hover/pressed colors across the UI- at some point
this should be unified.
.. also deprecated the segmentcontrol.
.. scaling maximum increased to x10 which helps on hi-dpi
displays and the overview
.. slightly reduce the border on overview to make more of
the available screen real estate.
.. default to 5s smoothing for plotting time series (second by
second samples).
.. if smoothing is applied we sample the smoothed data every
3 seconds.
.. this reduces the number of points to plot to a 3rd and has
a significant impact on plot/paint performance.
.. for those users that care about resolution they can set
the smoothing to none, for those that don't they will
get faster performance.
.. regression from 1297d76ee4 where the data table
doesn't update on scrollbar moves.
.. this was because we optimised out unneccessary paints
on mouse moves. But when we move the scrollbar we
need to repaint the data table at the right position.
.. the base class method ChartSpaceItem::sceneEvent() generates
lots of paint events when the mouse moves about, and its
mostly to repaint the top right corner.
.. for user charts this generates a lot of overhead that is
99.99% unneccessary - so we now override this and do
nothing.
.. we know that opengl drivers for windows can be sketchy, so rather
than not use opengl at all we insist on ANGLE at startup.
.. this is experimental and has been included as a single commit
in the hope it will remain, but may be reverted if there are
significant issues.
.. as reported on the forums, translations can rename metric
names inadvertently. We avoid this by using the untranslated
names in datafilter expressions.
.. if a tile moves because it clashes with a spanning tile we need
to repeat the process in case it clashes with another after it
has been moved.
.. previously we moved on the first clash, but ignored any others.
.. when sorting the table we sorted all the columns that are
visible to the user, but not the associated filenames
that are used by clickthru, so clickthru would jump to the
wrong activity.
.. added configChanged() to base class
.. added calling configChanged() when preferences are
changed and when the items config is updated.
.. updated MetaOverviewItem to use this, but also need
to update the Zone and Best tiles too.