Permalink
Browse files

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

  • Loading branch information...
mdkendall committed Mar 19, 2011
1 parent 833cd1c commit 7abe04ddafcad312dc7fe611d7abfb63032f09d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tracstats/web_ui.py
View
@@ -890,7 +890,7 @@ def _process_wiki(self, req, cursor, where, since, data):
total.add(name)
d[int(t)] = len(total)
stats = []
- steps = max(len(d) / 10, 1)
+ steps = max(len(d) / 250, 1)
for k, v in sorted(d.iteritems(), key=itemgetter(0))[::steps]:
if k > since:
stats.append({'x': k * 1000,

0 comments on commit 7abe04d

Please sign in to comment.