Permalink
Browse files

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

  • Loading branch information...
1 parent 66579f4 commit 71c66baa85d521b5348f19c148ef6a483ea1d435 @mdkendall mdkendall committed Mar 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tracstats/web_ui.py
View
@@ -1072,7 +1072,7 @@ def _process_tickets(self, req, cursor, where, data):
elif newvalue == "closed" and oldvalue != "closed":
opened -= 1
d[int(t * 1000)] = (opened, accepted)
- steps = max(len(d) / 10, 1)
+ steps = max(len(d) / 250, 1)
for k, v in sorted(d.iteritems(), key=itemgetter(0))[::steps]:
stats.append({'x': k,
'opened': v[0],

0 comments on commit 71c66ba

Please sign in to comment.