individual curves
This commit is contained in:
@@ -2937,6 +2937,7 @@ def instroke_chart_interactive(request, id=0):
|
||||
activeminutesmax = int(rowdata.duration/60.)
|
||||
activeminutesmin = 0
|
||||
maxminutes = activeminutesmax
|
||||
individual_curves = False
|
||||
|
||||
if request.method == 'POST':
|
||||
form = InstrokeForm(request.POST,choices=instrokemetrics)
|
||||
@@ -2946,6 +2947,7 @@ def instroke_chart_interactive(request, id=0):
|
||||
spm_max = form.cleaned_data['spm_max']
|
||||
activeminutesmin = form.cleaned_data['activeminutesmin']
|
||||
activeminutesmax = form.cleaned_data['activeminutesmax']
|
||||
individual_curves = form.cleaned_data['individual_curves']
|
||||
|
||||
|
||||
activesecondsmin = 60.*activeminutesmin
|
||||
@@ -2965,6 +2967,7 @@ def instroke_chart_interactive(request, id=0):
|
||||
spm_max,
|
||||
activeminutesmin,
|
||||
activeminutesmax,
|
||||
individual_curves,
|
||||
)
|
||||
|
||||
# change to range spm_min to spm_max
|
||||
|
||||
Reference in New Issue
Block a user