fix reg in ui

main
Bel LaPointe 2023-10-27 19:15:55 -06:00
parent 6f8d049a08
commit c992509c40
2 changed files with 7 additions and 1 deletions

View File

@ -223,6 +223,12 @@ func main() {
} }
series[i] = int(lastValue - prevValue) series[i] = int(lastValue - prevValue)
} }
for i := range series { // TODO no prior so no delta
if series[i] != 0 {
series[i] = 0
break
}
}
key := fmt.Sprintf("%s (%s)", name, currency) key := fmt.Sprintf("%s (%s)", name, currency)
if slices.Min(series) != 0 || slices.Max(series) != 0 { if slices.Min(series) != 0 || slices.Max(series) != 0 {
chart.AddY(key, series) chart.AddY(key, series)

View File

@ -1,8 +1,8 @@
todo: todo:
- ?prediction=contributions=x y z&prediction=contribution=x y z - ?prediction=contributions=x y z&prediction=contribution=x y z
- ana/predictor for bpi or de-legacy
- predictWhatIf=2023-10=AssetAccount:Cash=$=-7000 changes too much when removing 7k - predictWhatIf=2023-10=AssetAccount:Cash=$=-7000 changes too much when removing 7k
from prinicple from prinicple
- ana/predictor for bpi or de-legacy
- html version can accept new transactions for moolah - html version can accept new transactions for moolah
scheduled: [] scheduled: []
done: done: