HR low graph limit 40

This commit is contained in:
Milos Kozak 2023-08-24 23:16:17 +02:00
parent 4be56028c7
commit ea8a58ed27

View file

@ -262,7 +262,7 @@ class GraphData(
fun addHeartRate(useForScale: Boolean, scale: Double) { fun addHeartRate(useForScale: Boolean, scale: Double) {
val maxHR = overviewData.heartRateGraphSeries.highestValueY val maxHR = overviewData.heartRateGraphSeries.highestValueY
if (useForScale) { if (useForScale) {
minY = 0.0 minY = 40.0
maxY = maxHR maxY = maxHR
} }
addSeries(overviewData.heartRateGraphSeries) addSeries(overviewData.heartRateGraphSeries)