Commit a342b36d authored by zauberstuhl's avatar zauberstuhl

Fix max entries in buildPNG

parent 5081d982
......@@ -85,7 +85,7 @@ func buildsPNG(w http.ResponseWriter, r *http.Request) {
// max entries
if len(statesPerDay) > 5 {
keys = keys[:5]
keys = keys[len(keys)-5:len(keys)]
}
var bars []chart.StackedBar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment