Clean up points display

This commit is contained in:
Neale Pickett 2010-09-08 22:19:48 -06:00
parent b85d328a62
commit 4bc5ba6eb3
1 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,7 @@ function print_bar(cat, team, n, d) {
" style=\"height: %.2f%%;\"" \
" onmouseover=\"highlight('%s')\"" \
" onmouseout=\"restore('%s')\">\n" \
"<!-- %s --> %s: %.2f\n" \
"<!-- %s --> %s: %s\n" \
"</div>",
team,
100 * n / d,
@ -76,6 +76,9 @@ BEGIN {
colors[8] = "8db6cd"
ncolors = 9
# Only display two decimal places
CONVFMT = "%.2f"
# New point at least every 2.5 minutes
interval = 150
tslen = 0