Skip to content
This repository
Browse code

Increase target number of points on tickets plot from 10 to 250.

  • Loading branch information...
commit 71c66baa85d521b5348f19c148ef6a483ea1d435 1 parent 66579f4
mdkendall mdkendall authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  tracstats/web_ui.py
2  tracstats/web_ui.py
@@ -1072,7 +1072,7 @@ def _process_tickets(self, req, cursor, where, data):
1072 1072 elif newvalue == "closed" and oldvalue != "closed":
1073 1073 opened -= 1
1074 1074 d[int(t * 1000)] = (opened, accepted)
1075   - steps = max(len(d) / 10, 1)
  1075 + steps = max(len(d) / 250, 1)
1076 1076 for k, v in sorted(d.iteritems(), key=itemgetter(0))[::steps]:
1077 1077 stats.append({'x': k,
1078 1078 'opened': v[0],

0 comments on commit 71c66ba

Please sign in to comment.
Something went wrong with that request. Please try again.