Private
Public Access
1
0

some small improvments

This commit is contained in:
Sander Roosendaal
2020-05-24 17:28:19 +02:00
parent c3b404f8b6
commit 462e1e2f81
2 changed files with 17 additions and 11 deletions

View File

@@ -1542,7 +1542,11 @@ def virtualevent_compare_view(request,id=0):
if request.method == 'GET':
xparam = race.sessionmode if race.sessionmode in ['distance','time'] else 'time'
xparam = 'time'
if race.sessionmode == 'distance':
xparam = 'cumdist'
yparam = 'pace'
plottype = 'line'