change graph orientation

This commit is contained in:
shoopea 2021-12-05 22:11:15 +08:00
parent 4a5b82000a
commit 365c8a9f91
2 changed files with 5 additions and 5 deletions

2
bot.go
View File

@ -964,7 +964,7 @@ func botGraphValue(m *tb.Message) {
i++ i++
} }
err := p.Save(4*vg.Inch, 6*vg.Inch, "/app/data/points.png") err := p.Save(6*vg.Inch, 4*vg.Inch, "/app/data/points.png")
logErrorDebug(err, "Stats.ValueGraph : plot.Save") logErrorDebug(err, "Stats.ValueGraph : plot.Save")
if err != nil { if err != nil {
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err)) bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))

View File

@ -1,6 +1,6 @@
// Code generated by version.sh (@generated) DO NOT EDIT. // Code generated by version.sh (@generated) DO NOT EDIT.
package main package main
var githash = "76dacf3" var githash = "4a5b820"
var buildstamp = "2021-12-05_13:46:48" var buildstamp = "2021-12-05_14:10:58"
var commits = "230" var commits = "231"
var version = "76dacf3-b230 - 2021-12-05_13:46:48" var version = "4a5b820-b231 - 2021-12-05_14:10:58"