ryanw-mobile / OctoMeter

🔥Kotlin Multiplatform Desktop/Android/iOS Energy Tracker app
Other
126 stars 10 forks source link

Agile Screen cannot show fixed and flexible rates on chart when agile is too cheap #252

Closed ryanw-mobile closed 3 months ago

ryanw-mobile commented 3 months ago

When Agile's peak in the coming 24 hours is still much lower than the Flexible Octopus/Fixed tariffs, currently we do not consider both rates when specifying the max range in the chart, so that both tariffs are not there on the chart for comparison.

This either can be adjusted at the viewmodel (preferred), or a workaround at the composable so that we double check all involved tariffs are taken into consideration when supplying the y-axis range to the chart.