Private
Public Access
1
0

Fixed interactive_chart

This commit is contained in:
Sander Roosendaal
2016-12-07 18:21:08 +01:00
parent bd4f9cbe4c
commit 861c7055ad

View File

@@ -497,7 +497,7 @@ def interactive_chart(id=0,promember=0):
TOOLS = 'pan,box_zoom,wheel_zoom,reset,tap,hover,crosshair'
columns = ['time','pace','hr']
columns = ['time','pace','hr','fpace','ftime']
datadf = dataprep.getsmallrowdata_db(columns,ids=[id])
row = Workout.objects.get(id=id)
if datadf.empty:
@@ -554,7 +554,6 @@ def interactive_chart(id=0,promember=0):
('Pace','@fpace'),
('HR','@hr{int}'),
('SPM','@spm{1.1}'),
('Distance','@cumdist{1.1}'),
])
hover.mode = 'mouse'