Add settings toggles for chart series

Adds toggles to the User Interface section of the app Settings that
allow the user to display or hide the three series available in the
chart: Elevation, Speed/Pace, and Heart Rate. As a user of a heart rate
monitor primarily during strength workouts and combat sports, the
distance and elevation graphs are not helpful to me - in addition, their
scale means that I am not able to easily see my exact heart rate. This
should allow users in a similar situation to better determine exactly
what is most helpful for them to be seen on the graph.

Also updates heart rate series possible intervals - the smallest interval
was 25, which was too low for most zone 1 cardio charts - if your heart
rate goes from 70 to 125, with a 25 interval, most of the chart will be
whitespace.
This commit is contained in:
Vasja Volin
2025-01-22 21:05:17 -08:00
committed by Dennis Guse
parent ae237bdddc
commit eda1815393
6 changed files with 150 additions and 27 deletions
+5
View File
@@ -344,6 +344,11 @@ limitations under the License.
<!-- Settings Chart -->
<string name="settings_chart_by_distance">By distance</string>
<string name="settings_chart_by_time">By time</string>
<string name="settings_charts_title">Charts</string>
<string name="settings_chart_display_elevation_title">Display elevation</string>
<string name="settings_chart_display_pace_or_speed_title">Display pace or speed</string>
<string name="settings_chart_display_heart_rate_title">Display heart rate</string>
<!-- Settings Recording -->
<string name="settings_recording_title">Recording</string>
<string name="settings_theme_switch_restart">Theme changes may require a manual restart.</string>