Private
Public Access
1
0

adding extra parameters to X axis flex chart

This commit is contained in:
Sander Roosendaal
2018-03-14 13:39:52 +01:00
parent f890ffa019
commit b502244733
6 changed files with 62 additions and 27 deletions

View File

@@ -8290,25 +8290,13 @@ def workout_flexchart3_view(request,*args,**kwargs):
yparam1 = yparam1.replace('/','_slsh_')
yparam2 = yparam2.replace('/','_slsh_')
try:
extrametrics.pop('originalvelo')
except KeyError:
pass
from rowers.metrics import nometrics
try:
extrametrics.pop('cumdist')
except KeyError:
pass
try:
extrametrics.pop(' Cadence (strokes_slsh_min)')
except KeyError:
pass
try:
extrametrics.pop(' WorkPerStroke (joules)')
except KeyError:
pass
for metric in nometrics:
try:
extrametrics.pop(metric)
except KeyError:
pass
return render(request,
'flexchart3otw.html',