Revert to val for ratio and dev slope Scale

This commit is contained in:
Philoul 2021-05-27 08:43:45 +02:00
parent ede1468bbb
commit 93046d0354

View file

@ -286,13 +286,13 @@ class OverviewData @Inject constructor(
var maxRatioValueFound = 5.0 //even if sens data equals 0 for all the period, minimum scale is between 95% and 105% var maxRatioValueFound = 5.0 //even if sens data equals 0 for all the period, minimum scale is between 95% and 105%
var minRatioValueFound = -maxRatioValueFound var minRatioValueFound = -maxRatioValueFound
var ratioScale = Scale() val ratioScale = Scale()
var ratioSeries: LineGraphSeries<ScaledDataPoint> = LineGraphSeries() var ratioSeries: LineGraphSeries<ScaledDataPoint> = LineGraphSeries()
var maxFromMaxValueFound = Double.MIN_VALUE var maxFromMaxValueFound = Double.MIN_VALUE
var maxFromMinValueFound = Double.MIN_VALUE var maxFromMinValueFound = Double.MIN_VALUE
var dsMaxScale = Scale() val dsMaxScale = Scale()
var dsMinScale = Scale() val dsMinScale = Scale()
var dsMaxSeries: LineGraphSeries<ScaledDataPoint> = LineGraphSeries() var dsMaxSeries: LineGraphSeries<ScaledDataPoint> = LineGraphSeries()
var dsMinSeries: LineGraphSeries<ScaledDataPoint> = LineGraphSeries() var dsMinSeries: LineGraphSeries<ScaledDataPoint> = LineGraphSeries()