fix wrong basal scale

This commit is contained in:
Milos Kozak 2022-06-08 16:08:08 +02:00
parent 024a902316
commit 79ea2fff0c

View file

@ -73,6 +73,7 @@ class GraphData(
}
fun addBasals() {
maxY = max(maxY, defaultValueHelper.determineHighLine())
val scale = defaultValueHelper.determineLowLine() / maxY / 1.2
addSeries(overviewData.baseBasalGraphSeries)
addSeries(overviewData.tempBasalGraphSeries)