previous quarter

This commit is contained in:
shoopea
2021-12-08 21:31:00 +08:00
parent ef7af10c66
commit 350d7cfb10
2 changed files with 5 additions and 5 deletions

2
bot.go
View File

@@ -1041,7 +1041,7 @@ func botGraphValueDelta(m *tb.Message) {
}
pt := plotter.XY{
X: float64(d.Year()) + float64(d.Month()-1)/12,
Y: float64(stat.CompanyValueLastQuarter),
Y: float64(stat.CompanyValuePreviousQuarter),
}
vals[coID] = append(vals[coID], pt)
}