slightly lower graph size
This commit is contained in:
parent
2a2dd7e49b
commit
7590355d87
22
bot.go
22
bot.go
@ -1016,7 +1016,7 @@ func botGraphValue(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphValue : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1127,7 +1127,7 @@ func botGraphValueDelta(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphValueDelta : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1218,7 +1218,7 @@ func botGraphMoney(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphMoney : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1309,7 +1309,7 @@ func botGraphIncome(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphIncome : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1400,7 +1400,7 @@ func botGraphLoan(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphLoan : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1491,7 +1491,7 @@ func botGraphPerf(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphPerf : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1561,7 +1561,7 @@ func botGraphPlanes(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphPlanes : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1631,7 +1631,7 @@ func botGraphBusses(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphBusses : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1701,7 +1701,7 @@ func botGraphTrains(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphTrains : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1771,7 +1771,7 @@ func botGraphLorries(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphLorries : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
@ -1841,7 +1841,7 @@ func botGraphShips(m *tb.Message) {
|
||||
i++
|
||||
}
|
||||
|
||||
err := p.Save(18*vg.Inch, 12*vg.Inch, "/app/data/points.png")
|
||||
err := p.Save(12*vg.Inch, 8*vg.Inch, "/app/data/points.png")
|
||||
logErrorDebug(err, "botGraphShips : plot.Save")
|
||||
if err != nil {
|
||||
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "2eedfc4"
|
||||
var buildstamp = "2021-12-09_14:00:50"
|
||||
var commits = "250"
|
||||
var version = "2eedfc4-b250 - 2021-12-09_14:00:50"
|
||||
var githash = "2a2dd7e"
|
||||
var buildstamp = "2021-12-09_14:04:15"
|
||||
var commits = "251"
|
||||
var version = "2a2dd7e-b251 - 2021-12-09_14:04:15"
|
||||
|
Loading…
x
Reference in New Issue
Block a user